I am looking at NCBI taxon ontology
A taxon is define like:
<owl:Class rdf:about="
http://purl.obolibrary.org/obo/NCBITaxon_191554"> <rdfs:label rdf:datatype="
http://www.w3.org/2001/XMLSchema#string">Hysteriales</rdfs:label>
....
</owl:Class>
I wish to use owlready2 to load the ontology and add an attribute like:
<owl:Class rdf:about="
http://purl.obolibrary.org/obo/NCBITaxon_191554"> <rdfs:label rdf:datatype="
http://www.w3.org/2001/XMLSchema#string">Hysteriales</rdfs:label>
<rdfs:type rdf:resource="
http://xxxxx/xx/xx#Taxon"/>
...
</owl:Class>
I did not find any clue in documentation talking about set the rdf:type.
But it does able to search type like onto.search(type="xxx"), so I think the information is captured in owl ready.