W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > October 2018

[dxwg] rdf:property and owl:datatypeProperty, problem with poolParty import

From: Stephen Richard via GitHub <sysbot+gh@w3.org>
Date: Thu, 25 Oct 2018 19:14:07 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issues.opened-374092082-1540494845-sysbot+gh@w3.org>
smrgeoinfo has just created a new issue for https://github.com/w3c/dxwg:

== rdf:property and owl:datatypeProperty, problem with poolParty import ==
I'm trying to import dcat.ttl into a poolParty project, and errors are getting thrown along the lines of 
Invalid data! http://www.w3.org/ns/dcat#byteSize was defined as 
http://www.w3.org/2002/07/owl#DatatypeProperty and 
http://www.w3.org/2002/07/owl#ObjectProperty. Those classes are disjoint and cannot be used 
on the same resource.
It appears that this is because the property is declared 
  rdf:type rdf:Property ;
  rdf:type owl:DatatypeProperty ;
and according to [owl ref](https://www.w3.org/TR/owl-ref/) Both owl:ObjectProperty and owl:DatatypeProperty are subclasses of the RDF class rdf:Property. it looks like the rdf:Property declaration is leading to interpretation that the property is both and ObjectProperty and DatatypeProperty.   

Should the type declaration be only 'rdf:type owl:DatatypeProperty ;'?

Please view or discuss this issue at https://github.com/w3c/dxwg/issues/496 using your GitHub account
Received on Thursday, 25 October 2018 19:14:09 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:28:25 UTC