Integration Scripts for DFG Classification for Dataverse-based Repositories

DOI

These scripts integrate the DFG classification from the TIB ontology into Dataverse as an external vocabulary according to the Dataverse Guidelines.

get_dfg_class.js: Displays entries from DFG classification in Topic Classification field once user has entered at least three characters. get_dfg_class_with_suggestions.js: Displays entries from DFG classification in Topic Classification field once user has entered at least three characters. Additionally, a button is provided that, when clicked, suggests relevant DFG categories based on the description text. cvocConf_dfg.json (Dataverse-Config-file. Integrates a Javascript file. Path to respective js file on server has to be set.)

Please note that when using the TIB Terminology API, you must include a custom HTTP header named 'caller' in every request. This header identifies your institution or organization when accessing the API. In these scripts, the caller header is commented out as shown in the example: headers: { "accept": "application/json", //"caller": "DARUS" } Before using the scripts, uncomment the caller line and replace "DARUS" with the name of your own institution or organization.

To activate the feature use: curl -X PUT --upload-file cvocConf_dfg.json http://localhost:8080/api/admin/settings/:CVocConf If other CVOC functionalities are to be used, they would need to be integrated into the json file.

Identifier
DOI https://doi.org/10.18419/DARUS-5428
Metadata Access https://darus.uni-stuttgart.de/oai?verb=GetRecord&metadataPrefix=oai_datacite&identifier=doi:10.18419/DARUS-5428
Provenance
Creator Roy, Sarbani ORCID logo; Wang, Fangfang; Weinspach, Karoline ORCID logo
Publisher DaRUS
Contributor Weinspach, Karoline; FoKUS
Publication Year 2025
Funding Reference Baden-Württemberg Ministry of Science, Research and Arts Az.: MWK42-7532-77/1/1
Rights Apache 2.0; info:eu-repo/semantics/openAccess; https://www.apache.org/licenses/LICENSE-2.0
OpenAccess true
Contact Weinspach, Karoline (University of Stuttgart); FoKUS (University of Stuttgart)
Representation
Resource Type Dataset
Format application/json; text/javascript; application/x-javascript
Size 932; 11121; 72256
Version 1.0
Discipline Computer Science; Computer Science, Electrical and System Engineering; Construction Engineering and Architecture; Engineering; Engineering Sciences; Research Data Management