|
From: Matteo M. <mat...@gm...> - 2013-12-16 13:05:18
|
Hi,
I have just found a possible bug in the RDF/XML parser. With the below ontology the domain of the DatatypeProperty is mapped to an OWLAnnotationPropertyDomainAxiom instead of OWLDataPropertyDomainAxiom. Moreover, the argument of the domain axiom (the class expression) generates an IRI of an anonymous individual (_:genid1).
I’m working with version 3.4.5 but I’ve found that the bug still both version 3.4.2 (via Protege 4.2) and 3.4.9.
<?xml version="1.0"?>
<rdf:RDF
xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#"
xmlns:swrlb="http://www.w3.org/2003/11/swrlb#"
xmlns="http://bioontology.org/projects/ontologies/radlex/radlexOwl#"
xmlns:swrl="http://www.w3.org/2003/11/swrl#"
xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
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="http://www.owl-ontologies.com/Ontology1257555286.owl">
<owl:Ontology rdf:about=""/>
<owl:FunctionalProperty rdf:about="http://bioontology.org/projects/ontologies/radlex/radlexOwl#ACR_ID">
<rdfs:domain>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="http://bioontology.org/projects/ontologies/radlex/radlexOwl#radlex_metaclass"/>
<owl:Class rdf:about="http://bioontology.org/projects/ontologies/radlex/radlexOwl#radlex_attribute"/>
</owl:unionOf>
</owl:Class>
</rdfs:domain>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
</owl:FunctionalProperty>
</rdf:RDF>
- MM
|