Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.34 KB

README.md

File metadata and controls

19 lines (14 loc) · 1.34 KB

ECCAIRS tools

This project provides tools for manipulating ECCAIRS taxonomies.

In particular it serves to:

  • parse ECCAIRS Taxonomy distribution
  • parse RIT Taxonomy distribution
  • comparison of ECCAIRS and RIT versions
  • (experimental) export of ECCAIRS into SNOMED format

Value Lists

The taxonomy XML file provided by ECCAIRS no longer (since version 5.1.0.0) contains hierarchy information on value lists. Therefore, the tool attempts to resolve the hierarchy information from the ECCAIRS taxonomy service itself. For this to work, the taxonomy service URL must be configured.

Import ECCAIRS taxonomy into an RDF repository

  1. Build the project using gradle build
  2. Run the eccairs-service as ECCAIRS_SPARQLQUERYENDPOINT=<RDF4J_SERVER>/repositories/eccairs-aviation-<ECCAIRS_VERSION> ECCAIRS_SPARQLGSPENDPOINTTEMPLATE=<RDF4j_SERVER>/repositories/eccairs-aviation-<ECCAIRS_VERSION>/rdf-graphs/service?graph= java -jar eccairs-service/build/libs/eccairs-service-1.0-SNAPSHOT.jar where <ECCAIRS_VERSION> is the version of the ECCAIRS taxonomy, e.g. 4.1.0.7 and <RDF4J_SERVER> is the URL of the RDF4J server.
  3. send the ECCAIRS taxonomy file as curl --location --request POST 'http://localhost:18080/eccairs-service/taxonomy' --form 'taxonomyFile=@"ECCAIRS Aviation v.4.1.0.7.xml"'