Skip to content

graybealski/udunits2rdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMI udunits2rdf tool

Conversion of UDUnits XML files to RDF.

Running the conversion

You will need the sbt tool.

The original XML files are included in this repository. If there is a new version of any of these files:

For example:

$ XML="https://raw.githubusercontent.com/Unidata/UDUNITS-2/master/lib/udunits2-accepted.xml"
$ curl $XML -o src/main/resources/udunits2-accepted.xml

Script scripts/download.sh helps do all downloads with a single command.

Then run the udunits2rdf program to generate the RDF version of the XML files:

$ sbt run

This program reads in configuration parameters from src/main/resources/application.conf.

Noteworthy changes

  • 2014-08-22

    • for each vocab, include only relevant base definitions #9
  • 2014-08-04

    • general code adjustments to simplify execution
    • include metadata
  • 2014-07-30

    • capture base definitions separately
    • more complete conversion, but still needs adjustments
  • 2014-07-13

    • first "new" version based on old "watchdog" code.

About

Conversion of UDUnits XML files to RDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 98.2%
  • Shell 1.8%