Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.49 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.49 KB

cf2rdf

The cf2rdf tool performs the following operations:

  • conversion of the CF Standard Names vocabulary to RDF;
  • generation of mapping with the corresponding NVS ontology;
  • registration of the generated ontologies into an ORR instance.

Running

Download the latest executable JAR cf2rdf-x.y.z.jar from https://github.com/mmisw/cf2rdf/releases/.

You will only need a Java runtime environment to execute cf2rdf.

cf2rdf expects a number of parameters for its regular execution. These parameters are to be indicated in a local cf2rdf.conf file on the current directory. A template of such file, with a description of the various parameters, can be generated as follows:

$ java -jar cf2rdf-x.y.z.jar generate-conf

Edit cf2rdf.conf as needed.

As command-line arguments for the regular execution, cf2rdf expects either the watchdog argument to check for current remote CF version and trigger conversion and registration in case of new version (based on comparison with latest processed file):

$ java -jar cf2rdf-x.y.z.jar watchdog

or the desired specific steps to be performed, for example:

$ java -jar cf2rdf-x.y.z.jar download convert register

The latest conversion report is here.

The generated ontologies are: