EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
95 stars 40 forks source link

How to load multiple files into one ontology? #633

Closed KonradHoeffner closed 1 year ago

KonradHoeffner commented 1 year ago

I am trying to import the RDFBones ontology, which consists of 6 owl files that belong to the same ontology (graph). All 6 files are included under the 'products' key in config/ols-config.yaml. However it seems as if OLS only loads RDFBones-main and none of the others. How can I get OLS to load all 6 files?

"@context":

ontologies:
[...]
- activity_status: active
  description: The RDFBones core ontology for osteological research data from anthropological investigations.
  homepage: https://github.com/RDFBones/RDFBones-O
  id: bones
  layout: ontology_detail
  ontology_purl: https://raw.githubusercontent.com/RDFBones/RDFBones-O/master/RDFBones-main.owl
  products:
    - {id: RDFBones-main.owl, ontology_purl: 'https://raw.githubusercontent.com/RDFBones/RDFBones-O/master/RDFBonesSubset.owl'}
    - {id: CIDOC-CRM-RDFBonesSubset.owl, ontology_purl: 'https://raw.githubusercontent.com/RDFBones/RDFBones-O/master/CIDOC-CRM-RDFBonesSubset.owl'}
    - {id: FMA-RDFBonesSubset.owl, ontology_purl: 'https://raw.githubusercontent.com/RDFBones/RDFBones-O/master/FMA-RDFBonesSubset.owl'}
    - {id: OBI-RDFBonesSubset.owl, ontology_purl: 'https://raw.githubusercontent.com/RDFBones/RDFBones-O/master/OBI-RDFBonesSubset.owl'}
    - {id: RDFBones-RIOs-EntireBoneOrgan.owl, ontology_purl: 'https://raw.githubusercontent.com/RDFBones/RDFBones-O/master/RDFBones-RIOs-EntireBoneOrgan.owl'}
    - {id: SIO-RDFBonesSubset.owl, ontology_purl: 'https://raw.githubusercontent.com/RDFBones/RDFBones-O/master/SIO-RDFBonesSubset.owl'}
  title: RDF Bones
  tracker: https://github.com/RDFBones/RDFBones-O
henrietteharmse commented 1 year ago

There is no way to do this in OLS. You can use a tool like ROBOT to merge the files into a single file to load in OLS.