Hai Doan-Nguyen
2015-02-10 19:54:17 UTC
Dear list,
I'm using Protege 5 for Windows. I need to save the 'Subclass of
(Anonymous Ancestor)' field of an ontology (don't ask me why :-)), but
don't know how, despite my intensive search in the documents and the
Web. Could someone help me with this please? Below is an example:
Class Person is a subclass of 'hasName some Name'.
Class Woman is a subclass of Person.
The Description view of Woman gives you:
Subclass of (Anonymous Ancestor)
hasName some Name
I need this statement output in a saved text file, but there is no
option in Protege for doing this. Here is the OWL file:
<owl:ObjectProperty rdf:about="Test#hasName"/>
<owl:Class rdf:about="Test#Name"/>
<owl:Class rdf:about="Test#Person">
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="Test#hasName"/>
<owl:someValuesFrom rdf:resource="Test#Name"/>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
<owl:Class rdf:about="Test#Woman">
<rdfs:subClassOf rdf:resource="Test#Person"/>
</owl:Class>
Specifically, I want to have the portion
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="Test#hasName"/>
<owl:someValuesFrom rdf:resource="Test#Name"/>
</owl:Restriction>
</rdfs:subClassOf>
or something equivalent to it in contents, inserted in the entry of Woman.
Thanks in advance,
Hai
I'm using Protege 5 for Windows. I need to save the 'Subclass of
(Anonymous Ancestor)' field of an ontology (don't ask me why :-)), but
don't know how, despite my intensive search in the documents and the
Web. Could someone help me with this please? Below is an example:
Class Person is a subclass of 'hasName some Name'.
Class Woman is a subclass of Person.
The Description view of Woman gives you:
Subclass of (Anonymous Ancestor)
hasName some Name
I need this statement output in a saved text file, but there is no
option in Protege for doing this. Here is the OWL file:
<owl:ObjectProperty rdf:about="Test#hasName"/>
<owl:Class rdf:about="Test#Name"/>
<owl:Class rdf:about="Test#Person">
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="Test#hasName"/>
<owl:someValuesFrom rdf:resource="Test#Name"/>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
<owl:Class rdf:about="Test#Woman">
<rdfs:subClassOf rdf:resource="Test#Person"/>
</owl:Class>
Specifically, I want to have the portion
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="Test#hasName"/>
<owl:someValuesFrom rdf:resource="Test#Name"/>
</owl:Restriction>
</rdfs:subClassOf>
or something equivalent to it in contents, inserted in the entry of Woman.
Thanks in advance,
Hai