Skip to content

Declarations of schema.org , foaf, and simple geo properties - was: Disallow the use of punning in the SAREF extensions.

Refer to https://www.w3.org/2007/OWL/wiki/Punning. Punning (metamodeling) allows a class to specify the value of some property (Class Individual) or to treating classes as instances of metaclasses (Class Instance). In the context of a Data/Object property, punning could also enable the reuse of RDF vocabulary for representing lists by means of containers or collections (e.g, linked lists).

However, punning is currently incompatible with OWL Full. Also, the Pellet reasoner in Protégé displays the following 4 warnings upon opening the SAREF merged ontology:

  • Illegal redeclarations of entities: reuse of entity http://schema.org/givenName in punning not allowed [AnnotationProperty: givenName, DataProperty: givenName] saref4watr.ttl → owl:DatatypeProperty; saref4wear.ttl → owl:AnnotationProperty. No domain or range defined.

  • Illegal redeclarations of entities: reuse of entity http://schema.org/name in punning not allowed [AnnotationProperty: name, DataProperty: name] saref4watr.ttl → schema:name owl:DatatypeProperty; saref4wear.ttl → schema:name rdf:type owl:AnnotationProperty && foaf:name rdf:type owl:AnnotationProperty

  • Illegal redeclarations of entities: reuse of entity http://www.w3.org/2003/01/geo/wgs84_pos#long in punning not allowed [ObjectProperty: long, DataProperty: long] saref4auto.ttl:http://www.w3.org/2003/01/geo/wgs84_pos#long; saref4auto.ttl:owl:onProperty http://www.w3.org/2003/01/geo/wgs84_pos#long rdf:type owl:DatatypeProperty; Sometimes defined as rdfs:domain geo:SpatialThing, sometimes as rdfs:domain wgs84:SpatialThing, sometimes not at all.

  • Illegal redeclarations of entities: reuse of entity http://schema.org/familyName in punning not allowed [DataProperty: familyName, AnnotationProperty: familyName] saref4watr.ttl:schema:familyName a owl:DatatypeProperty; saref4wear.ttl:schema:familyName rdf:type owl:AnnotationProperty. No domain or range defined.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information