-
Notifications
You must be signed in to change notification settings - Fork 2
Usage
In order to RDFize Eurostat datasets and to generate the VoiD files, follow the following steps:
-
Use
Main.sh
script to uncompress the downloaded compressed files and RDFize the DSDs and SDMXs files.How to Run :
sh Main.sh -i ~/sdmx-code.ttl -l ~/logs/
where
i
is the file path ofsdmx-code.ttl
. It can be downloaded from here andl
is the directory path where logs will be generated -
Use
Metadata.sh
to generate the VoID fileHow to Run :
sh Metadata.sh -o ~/catalog/
, make sure the target directory (e.g. catalog) exists before executing the script -
Use
DictionaryParser.sh
to RDFize the dictionaries which are used by SDMX datasetsHow to Run :
sh DictionaryParser.sh -i ~/dicPath/ -o ~/outputPath -c ~/catalogPath -f TURTLE
Download the dictionaries from the Bulk Download Page and uncompress it into thedicPath
directory. Currently, the script do not handle multi-lingual representation of dictionaries. So its preferable to execute the script only on one of the language (e.g. all dictionaries exists in diren/
). Make sure the target directories (e.g. dicPath, outputPath, catalogPath)exists before executing the script. -
Use
DatasetTitles.sh
to generate the titles of all datasets. Thetitle.rdf
generated by the script will be stored in the sparql endpoint and will be used to get the title of the dataset, if required.How to Run :
sh DatasetTitles.sh -o ~/title/
, make sure the target directory (e.g. title)exists before executing the script