[sdw] Definition of adopted FOAF concept causes OWL DL Profile violation in SOSA and SSN (#1395)

ajnelson-nist has just created a new issue for https://github.com/w3c/sdw:

== Definition of adopted FOAF concept causes OWL DL Profile violation in SOSA and SSN ==
Hello,

Some concepts from the [FOAF ontology](http://xmlns.com/foaf/0.1/) are used to annotate the SOSA ontology - specifically, there is a blank node defining a `foaf:Agent` with `foaf:name "W3C/OGC Spatial Data on the Web Working Group"@en`.  This also applies to the SSN ontology.

`foaf:name` is defined in SOSA as an `owl:AnnotationProperty`.  The FOAF ontology is not imported in SOSA.  The defining statement is [here today in SSN](https://github.com/w3c/sdw/blob/6dc6059362b82955707937401d8d3db340429293/ssn/integrated/ssn.ttl#L18), [here today in SOSA](https://github.com/w3c/sdw/blob/6dc6059362b82955707937401d8d3db340429293/ssn/integrated/sosa.ttl#L17) (links are to the last commits affecting those files, 2018-08-09).

Unfortunately, the most recent version of the FOAF specification defines `foaf:name` as an `owl:DatatypeProperty`.  ("Most recent" meaning the 2014 version.  The FOAF page currently links to that release stored on the Internet Archive, due to apparent recovery from an event.)  This causes a graph that imports both FOAF and SOSA to be inconsistent with the OWL 2 DL Profile; see [OWL 2 Syntax, Section 5.8.1, "Typing Constraints of OWL 2 DL"](https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Typing_Constraints_of_OWL_2_DL), especially the last bullet under "Property typing constraints".

I haven't exhaustively reviewed other ontologies in this repository for the issue.  I came across this issue due to work on a project involving DCAT and SSN, and found the issue using [this SHACL shape](https://github.com/ucoProject/UCO/blob/1.1.0/ontology/owl/owl.ttl#L113-L128) on a graph incorporating SSN's and FOAF's transitive import closure.

Is it possible for this to be corrected for at least SOSA and SSN?  I'm happy to supply a correcting PR, but am unsure of the policy on accepting contributions.

Please view or discuss this issue at https://github.com/w3c/sdw/issues/1395 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 8 February 2023 20:56:18 UTC