On 24/02/2011 17:12, David Makovoz wrote:
I forgot to mention that the ontology file was created by jena.
I have the following in my ontology file:
<rdf:Description rdf:about="http://www.aciedge.com/ontologies/cg.owl">
<owl:imports
rdf:resource="http://www.aciedge.com/ontologies/multiResolutionalBayesian.ow
l"/>
<owl:versionIRI
rdf:resource="http://www.aciedge.com/ontologies/cg.owl"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
</rdf:Description>
When I try to open it in Protege, I get the following error
Ontology already exists.
<http://www.aciedge.com/ontologies/multiResolutionalBayesian.owl>
Sounds like a Protege problem rather than any problem with the ontology
itself. Ask on the Protege list.
When I replace the above with seemingly equivalent
<owl:Ontology rdf:about="http://www.aciedge.com/ontologies/cg.owl">
<owl:versionIRI
rdf:resource="http://www.aciedge.com/ontologies/cg.owl"/>
<owl:imports
rdf:resource="http://www.aciedge.com/ontologies/multiResolutionalBayesian.ow
l"/>
</owl:Ontology>
everything works fine.
:)
The order of properties of the ontology is semantically irrelevant so if
that's really the only difference between a working and non-working case
then that definitely sounds like a Protege problem. Would be very
surprising if they assumed any ordering though!
Dave