edmcouncil / ontology-publisher

The owl-builder "builds" publishable / deployable versions (and derived products) of a given set of ontologies (such as FIBO)
MIT License
7 stars 6 forks source link

Create "Merged" files #104

Closed przemekgradzki closed 2 years ago

przemekgradzki commented 2 years ago

Closes #103

przemekgradzki commented 2 years ago

The issue Running "onto-viewer-toolkit.jar --goal merge-imports ..." removes the contents of the ontology blocks the use of the tool onto-viewer-toolkit.jar

przemekgradzki commented 2 years ago

Now waiting for Running "onto-viewer-toolkit.jar --goal merge-imports ..." removes the contents of the ontology

przemekgradzki commented 2 years ago

When starting ontology-publisher (./docker-run.sh ...) set the environment variable: ONTPUB_SPEC_HOST=spec.pistoiaalliance.org

When not set explicitly, the default is spec.edmcouncil.org, hence _product_rooturl=https://spec.edmcouncil.org/idmp/ontology is set instead of https://spec.pistoiaalliance.org/idmp/ontology and:

  1. in the file "LoadIDMPDev.rdf" the ontologyIRI is set to https://spec.edmcouncil.org/idmp/ontology/master/latest/LoadIDMPDev instead of https://spec.pistoiaalliance.org/idmp/ontology/master/latest/LoadIDMPDev
  2. Use "base URL" to filter out ontologies out of scope. selects only ontologies with "base URL"=https://spec.edmcouncil.org/idmp/ontology instead of https://spec.pistoiaalliance.org/idmp/ontology