w3c / sdw-sosa-ssn

Repository of the Spatial Data on the Web Working Group for the SOSA/SSN vocabulary
8 stars 5 forks source link

Explain namespaces and graphs #123

Closed dr-shorthair closed 9 months ago

dr-shorthair commented 10 months ago

In the existing Rec doc, chapter 4 https://www.w3.org/TR/vocab-ssn/#Axiomatization starts with a cursory explanation of the namespaces. The final two paragraphs of the previous section "• Addressing technical developments" briefly mention the axiomatization levels in the two primary graphs.

I think we need a more explicit explanation of our use of namespaces and graphs in the RDF/RDFS/OWL/schema.org implementation of SOSA/SSN, in particular emphasizing

... more ? ...

dr-shorthair commented 10 months ago

Perhaps Chapter 4 should be re-titled RDF Implementation

dr-shorthair commented 10 months ago

I've had a go at updating chapters 2 and 4 - see

and I added OMS in the Normative references

maximelefrancois86 commented 10 months ago

I agree with most of what you propose.

Let me illustrate with excerpts of what would be in these graphs:

in Graph SOSA

sosa:Property a owl:Class ;
   ... 
sosa:ObservableProperty a owl:Class ;
   ...  # would it be unrelated with sosa:Property ?

in Graph SSN

sosa:Property a owl:Class ;
   ...

sosa:ObservableProperty a owl:Class ;
   rdfs:subClassOf sosa:Property ;
   ...

ssn:Property a owl:Class ;
  owl:equivalentTo sosa:Property ;
  owl:deprecated true .

Two issues here:

  1. Why don't we allow the use of rdfs:subClassOf in the SOSA Graph if we have both sosa:ObservableProperty and sosa:Property?
  2. If I want to work with SOSA + OWL Axioms, I am forced to carry around a whole load of deprecated entities.

To solve the second point, I suggest the following:

dr-shorthair commented 10 months ago

Two issues here:

  1. Why don't we allow the use of rdfs:subClassOf in the SOSA Graph if we have both sosa:ObservableProperty and sosa:Property?

At the moment I'm keeping the SOSA graph consistent with the level of axiomatization that we agreed on for the 2017 version. Adding sub-class axioms into the SOSA graph would be a major change.

  1. If I want to work with SOSA + OWL Axioms, I am forced to carry around a whole load of deprecated entities.

Indeed. I left these in the SSN graph so that @kjano deployment KWG - which using some reasoning based on SSN - would be OK. Can we merge this documentation for now, and create a new issue for alternative ways to preserve the backward compatibility required for KWG?