vivo-community / VIVO-Harvester

An ETL tool for transferring data from traditional systems into Semantic Systems.
Other
25 stars 22 forks source link

Openalex fetch example #61

Open bkampe opened 2 months ago

bkampe commented 2 months ago

Added an example of fetching publication metadata from Openalex based on the JSON fetch. Three example queries are available in example-scripts/bash-scripts/full-harvest-examples/1.13-1.15-examples/example-openalex/openAlexfetch.config.xml. Choose one for first test or modify it to fit to your needs.

OpenAlex fetch is already used in the Research Atlas: https://forschungsatlas.fid-bau.de/research

Namespace in example-scripts/bash-scripts/full-harvest-examples/1.13-1.15-examples/example-openalex/openalex-to-vivo.datamap.xsl needs to be adjusted according to your settings in runtime.properties:

https://forschungsatlas.fid-bau.de/individual/ JSONFetch.java was extended to be capable of handling nested object. Also some filtering for unwanted characters was added to avoid problems with the XSLTranslator (javax.xml.transform) Closes #56