Owlready
Re: Loading OWL imports from local
Posted by
Jiba
on
URL:
http://owlready.306.s1.nabble.com/Loading-OWL-imports-from-local-tp1606p1666.html
Hi,
I think the problem is related to the trailing "#" in the ontology IRI: you should use "
https://myurl.com/ontologies/MyOntology.owl
" instead of "
https://myurl.com/ontologies/MyOntology.owl#
". For example:
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="
http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="
http://www.w3.org/2002/07/owl#"
xml:base="
https://myurl.com/ontologies/MyOntology2.owl"
xmlns="
https://myurl.com/ontologies/MyOntology2.owl#">
<owl:Ontology rdf:about="
https://myurl.com/ontologies/MyOntology2.owl">
<owl:imports rdf:resource="
https://myurl.com/ontologies/MyOtherOntology2.owl"/>
</owl:Ontology>
</rdf:RDF>
Jiba
Free forum by Nabble
Edit this page