Re: Issues using W3C Time Ontology

Posted by cknoll on
URL: http://owlready.306.s1.nabble.com/Issues-using-W3C-Time-Ontology-tp2204p2220.html

Today I came across that issue by myself again.

I think I now have a acceptable workaround, consisting of the following steps.

1. Download the problematic ontology as a file
2. Convert it to RDF_XML (e.g. with ont-converter or protege)
3. Load that ontology first e.g. as `time_ontology`
4. Load the ontology which imports this e.g. as `my_ontology`
5. Do `my_ontology.imported_ontologies.append(time_ontology)`

This notebook demonstrates the procedure:

https://nbviewer.jupyter.org/github/cknoll/demo-material/blob/main/expertise_system/experimental_onto_conversion.ipynb


Best,
Carsten