Skip to content

A simple python script which takes the metadata description of a dataset entered into a corresponding yaml file and transforms it into RDF triples which conform to the LINDAS Governance rules and the required opendata.swiss metadata.

License

Notifications You must be signed in to change notification settings

AdMSilvan/LINDAS-metadata-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINDAS-metadata-pipeline

A simple python script which transforms the metadata description of a dataset entered into a corresponding yaml file and transforms it into RDF triples which conform to the LINDAS Governance rules and the required opendata.swiss metadata.

Instructions

Fill information into the yaml files as instructed by the comments.
If only LINDAS metadata is needed, the ODS file can be ignored or left empty.
Opendata.swiss metadata will only be written if the ODS yaml file contains a value for the identifier.

Execute the python file in the same folder as the two yaml files. Warnings will be displayed for missing or incorrectly formatted data.
A turtle file (named according to the dataset name) will be saved in the same folder.
If the data has to be adjusted simply rerun the script to overwrite the turtle file.

Dependencies

Python Modules

  • RDFlib
  • yaml
  • datetime
  • dateutil

About

A simple python script which takes the metadata description of a dataset entered into a corresponding yaml file and transforms it into RDF triples which conform to the LINDAS Governance rules and the required opendata.swiss metadata.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages