Re: Issues using W3C Time Ontology
Posted by
Jiba on
URL: http://owlready.306.s1.nabble.com/Issues-using-W3C-Time-Ontology-tp2204p2240.html
Hi,
I think you can just "manually preload" the required ontologies.
For example, you may add:
time = get_ontology('
http://www.w3.org/2006/time').load(url = "
http://www.w3.org/2006/time.rdf")
at the beginning of your program (after importing Owlready) to force the loading of the right ontology. Then, when loading files, the ontologies they import are not reloaded if they are already in memory, so the time ontology will not be loaded again. This prevent to try to load it from the default turtle URL.
Jiba