Skip to content

csarven/linked-sdmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

SDMX-ML to RDF/XML

See Linked SDMX Data about this project.

This transformation is used to published some of the 270a Linked Dataspaces.

Brief overview of the project is here. If you want to use it or look under the hood for additional information, give the wiki page a go.

What is this?

XSLT 2.0 templates and scripts to transform Generic and Compact SDMX 2.0 data and metadata to RDF/XML using the RDF Data Cube and related vocabularies for statistical Linked Data. Its purpose is:

  • To automagically transform SDMX-ML data and metadata into RDF/XML as semantically and complete as possible.
  • To support SDMX publishers to also publish their data using RDF.
  • To improve access and discovery of statistical cross-domain data.

What can it do?

  • Transforms SDMX KeyFamilies, ConceptSchemes and Concepts, CodeLists and Codes, Hierarchical CodeLists, DataSets.
  • Configurability for SDMX publisher's needs.
  • Reuse of CodeLists and Codes from external agencies.
  • A way to interlink AnnotationTypes.
  • Provides basic provenance data using PROV-O.

What is inside?

It comes with scripts and sample data.

Scripts

  • XSLT 2.0 templates to transform Generic and Compact SDMX-ML data and metadata. It includes the main XSL template for generic SDMX-ML, an XSL for common templates and functions, and an RDF/XML configuration file to set preferences like base URIs, delimiters in URIs, how to mapping annotation types.
  • Bash script that transforms sample data using saxonb-xslt.

Samples

Sample SDMX Message and Structure data/ retrieved from these organizations: BIS, OECD, UN, ECB, WB, IMF, FAO, EUROSTAT, BFS.

Requirements

An XSLT 2.0 processor to transform, and some configuring using the provided config.rdf file.

How to contribute

  • See open GitHub issues if you want to hack, or create issues if you encounter bugs, or enhancements within the scope of this project. There are also some questions that would be nice to get answers to.
  • Please send pull requests or help improve documentation.
  • Reach out to organizations that publish data using the SDMX-ML to collaborate on this effort.