Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some subproperties of object property dul:hasQuality are data properties #9

Open
LorenzBuehmann opened this issue Aug 6, 2015 · 4 comments
Labels

Comments

@LorenzBuehmann
Copy link

There are some data properties defined as subproperty of dul:hasQuality which is itself defined as object property. This leads to many problems with OWL parsers and is not OWL 2 DL conform.

This is the definition of dul:hasQuality in DUL ontology:

<owl:ObjectProperty rdf:about="http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#hasQuality">
<rdfs:label xml:lang="en">has quality</rdfs:label>
<rdfs:label xml:lang="it">ha qualità</rdfs:label>
<rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
A relation between entities and qualities, e.g. 'Dmitri's skin is yellowish'.
</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://www.ontologydesignpatterns.org/ont/dul/DUL.owl"/>
<rdfs:domain rdf:resource="http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Entity"/>
<rdfs:range rdf:resource="http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Quality"/>
<rdfs:subPropertyOf rdf:resource="http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#associatedWith"/>
</owl:ObjectProperty>

Properties that are affected can be found by

select ?p {
?p a owl:DatatypeProperty;
rdfs:subPropertyOf <http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#hasQuality> .
}

Currently there are 4 properties, namely

http://dbpedia.org/ontology/configuration
http://dbpedia.org/ontology/eyeColor
http://dbpedia.org/ontology/hairColor
http://dbpedia.org/ontology/skinColor

@LorenzBuehmann
Copy link
Author

To have a more generic test, this also holds for other properties, see

select ?sub ?sup {
?sub a owl:DatatypeProperty;
rdfs:subPropertyOf ?sup . ?sup a owl:ObjectProperty .
}

where we get

sub sup
http://dbpedia.org/ontology/isPartOfRoute http://dbpedia.org/ontology/isPartOf

The problem reported in the initial comment are not contained here because the DUL ontology is not contained in the endpoint, thus, we do not know that dul:hasQuality is an object property by SPARQL.

@VladimirAlexiev
Copy link
Member

Please also consider http://vladimiralexiev.github.io/pres/20150209-dbpedia/dbpedia-problems-long.html#sec-8-1. IMHO the DUL mappings should be a separate, optional, download file

@jimkont jimkont added the bug label Aug 10, 2015
@LorenzBuehmann
Copy link
Author

@mgns
Copy link
Member

mgns commented Feb 12, 2016

Fixed the reported ones at least in the DBpedia mappings wiki, e.g. http://mappings.dbpedia.org/index.php?title=OntologyProperty:IsoCodeRegion

Should be fixed with next release and soon at DBpedia Live: http://mappings.dbpedia.org/server/ontology/dbpedia.owl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants