Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 1 addition & 33 deletions ssn/integrated/oldssn.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ ssn:endTime rdf:type owl:ObjectProperty ;
### http://www.w3.org/ns/ssn/featureOfInterest
ssn:featureOfInterest rdf:type owl:ObjectProperty ;
dc:source """skos:exactMatch 'featureOfInterest' [O&M - ISO/DIS 19156]
http://portal.opengeospatial.org/files/?artifact_id=41579""" ;
http://portal.opengeospatial.org/files/?artifact_id=41579""" ;
rdfs:comment "A relation between an Observation and the entity whose quality was observed. For example, in an observation of the weight of a person, the feature of interest is the person and the quality is weight." ;
rdfs:isDefinedBy "http://www.w3.org/ns/ssn" ;
rdfs:label "feature of interest" ;
Expand Down Expand Up @@ -530,24 +530,6 @@ ssn:Drift rdf:type owl:Class ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Sensor#MeasuringCapability" .


### http://www.w3.org/ns/ssn/FeatureOfInterest
ssn:FeatureOfInterest rdf:type owl:Class ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:onProperty ssn:hasProperty ;
owl:someValuesFrom ssn:Property
] ,
[ rdf:type owl:Restriction ;
owl:onProperty ssn:hasProperty ;
owl:allValuesFrom ssn:Property
] ;
dc:source """skos:exactMatch 'feature' [O&M]
http://www.opengeospatial.org/standards/om""" ;
rdfs:comment "A feature is an abstraction of real world phenomena (thing, person, event, etc)." ;
rdfs:isDefinedBy "http://www.w3.org/ns/ssn" ;
rdfs:label "Feature of Interest" ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Skeleton#Skeleton" .


### http://www.w3.org/ns/ssn/Frequency
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed ssn:FeatureOfInterest in the oldssn.ttl, according to the proposed integration methodology

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maxime, can you give me a hand here? I am probably missing something but where does the lower case "feature of interest" label comes from in comparison to the upper case version we used before. Thanks.

ssn:Frequency rdf:type owl:Class ;
rdfs:subClassOf ssn:MeasurementProperty ;
Expand Down Expand Up @@ -822,20 +804,6 @@ ssn:Process rdf:type owl:Class ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Model#Process" .


### http://www.w3.org/ns/ssn/Property
ssn:Property rdf:type owl:Class ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:onProperty ssn:isPropertyOf ;
owl:someValuesFrom ssn:FeatureOfInterest
] ;
dc:source """skos:exactMatch 'property' [O&M]
http://www.opengeospatial.org/standards/om""" ;
rdfs:comment "An observable Quality of an Event or Object. That is, not a Quality of an abstract entity, but rather an aspect of an entity that is intrinsic to and cannot exist without the entity and that is observable by a sensor." ;
rdfs:isDefinedBy "http://www.w3.org/ns/ssn" ;
rdfs:label "Property" ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Skeleton#Skeleton" .


### http://www.w3.org/ns/ssn/Resolution
ssn:Resolution rdf:type owl:Class ;
rdfs:subClassOf ssn:MeasurementProperty ;
Expand Down
30 changes: 28 additions & 2 deletions ssn/integrated/sosa.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,45 @@ cc:licence a owl:AnnotationProperty .
vann:preferredNamespacePrefix a owl:AnnotationProperty .
vann:preferredNamespaceUri a owl:AnnotationProperty .
vs:term_status a owl:AnnotationProperty .
<http://meta.schema.org/domainIncludes> a owl:AnnotationProperty .
<http://meta.schema.org/rangeIncludes> a owl:AnnotationProperty .
schema:domainIncludes a owl:AnnotationProperty .
schema:rangeIncludes a owl:AnnotationProperty .
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use schema:domainIncludes instead of http://meta.schema.org/domainIncludes, this is already corrected in sosa.ttl
use schema:rangeIncludes instead of http://meta.schema.org/rangeIncludes, this is already corrected in sosa.ttl

time:TemporalEntity a owl:Class .


sosa: a owl:Ontology .


## Features of interest and Property

sosa:FeatureOfInterest a rdfs:Class , owl:Class ;
rdfs:label "Feature Of Interest"@en ;
skos:definition """The thing whose property is being estimated or calculated in the course of an Observation to arrive at a Result or whose property is being manipulated by an Actuator."""@en ;
skos:example "When measuring the height of a tree, the height is the ObservedProperty, 20m may be the Result of the Observation, and the tree is the FeatureOfInterest. A window is a FeatureOfInterest for an automatic window control Actuator"@en ;
rdfs:isDefinedBy sosa: .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added simple definition of FeatureOfInterest, like in rdf/sosa.ttl

sosa:ObservableProperty a rdfs:Class , owl:Class ;
rdfs:label "Observable Property"@en ;
skos:definition """An observable quality of a FeatureOfInterest."""@en ;
rdfs:isDefinedBy sosa: .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added simple definition of ObservableProperty, like in rdf/sosa.ttl

sosa:ActuatableProperty a rdfs:Class , owl:Class ;
rdfs:label "Actuatable Property"@en ;
skos:definition "An actuatable property, i.e., characteristic, of a FeatureOfInterest."@en ;
skos:example "A window actuator acts by changing the state between a frame and a window. The ability of the window to be opened and closed is its ActuatableProperty."@en
rdfs:isDefinedBy sosa: .

## Observation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added simple definition of ActuatableProperty, like in rdf/sosa.ttl

sosa:Observation a owl:Class .


## Actuation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some comments to structure the ttl document

sosa:Actuation a owl:Class .


## SensorOutput, ObservationValue, Result

sosa:Result a rdfs:Class, owl:Class ;
rdfs:label "Result"@en ;
skos:definition """The Result of an Observation, Actuation, or Sampling. Such result can, for instance, store an observation's value via the hasValue property.
Expand Down
17 changes: 17 additions & 0 deletions ssn/integrated/ssn.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,24 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
ssn: a owl:Ontology ;
owl:imports sosa: .

## Features of interest and Property

#sosa:FeatureOfInterest
# rdfs:subClassOf [ owl:onProperty ssn:hasProperty ; owl:someValuesFrom ssn:Property ] ; # TODO: need resolution, is it ssn:hasProperty, or sosa:hasProperty ?
# rdfs:subClassOf [ owl:onProperty ssn:hasProperty ; owl:allValuesFrom ssn:Property ] . # TODO: need resolution, is it ssn:hasProperty, or sosa:hasProperty ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need resolution, is it ssn:hasProperty, or sosa:hasProperty ?
This is currently discussed in a separate thred, will just comment these lines for now.
See https://lists.w3.org/Archives/Public/public-sdw-wg/2017Feb/0478.html

ssn:Property a owl:Class ;
rdfs:label "Property"@en ;
skos:definition """A Quality of a FeatureOfInterest. An aspect of an entity that is intrinsic to and cannot exist without the entity."""@en ;
# rdfs:subClassOf [ owl:onProperty sosa:isPropertyOf ; owl:someValuesFrom sosa:FeatureOfInterest ] ; # TODO: need resolution, is it ssn:isPropertyOf, or sosa:isPropertyOf ?
rdfs:isDefinedBy ssn: .

sosa:ObservableProperty rdfs:subClassOf ssn:Property .

sosa:ActuatableProperty rdfs:subClassOf ssn:Property .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## SensorOutput, ObservationValue, Result


# what would be the equivalent axiom for sosa:Result ?
Expand Down
23 changes: 23 additions & 0 deletions ssn/integrated/ssnx.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,30 @@ time:TemporalEntity a owl:Class .
owl:imports sosa: , ssn: .


## Features of interest and observable property

oldssn:FeatureOfInterest a owl:Class ;
rdfs:label "Feature of Interest"@en ;
skos:definition """A feature is an abstraction of real world phenomena (thing, person, event, etc)."""@en ;
dcterms:source """skos:exactMatch 'feature' [O&M]
http://www.opengeospatial.org/standards/om""" ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Skeleton#Skeleton" ;
owl:deprecated true ;
owl:equivalentClass sosa:FeatureOfInterest ;
rdfs:isDefinedBy <http://purl.oclc.org/NET/ssnx/ssn> .
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

followed the integration methodology for oldssn:FeatureOfInterest, is equivalent to sosa:FeatureOfInterest


oldssn:Property a owl:Class ;
rdfs:label "Property"@en ;
skos:definition """An observable Quality of an Event or Object. That is, not a Quality of an abstract entity, but rather an aspect of an entity that is intrinsic to and cannot exist without the entity and that is observable by a sensor."""@en ;
dcterms:source """skos:exactMatch 'property' [O&M]
http://www.opengeospatial.org/standards/om""" ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Skeleton#Skeleton" ;
owl:deprecated true ;
owl:equivalentClass ssn:Property ;
rdfs:isDefinedBy <http://purl.oclc.org/NET/ssnx/ssn> .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## SensorOutput, ObservationValue, Result

oldssn:SensorOutput a owl:Class ;
rdfs:label "Sensor Output"@en ;
Expand Down
Binary file modified ssn/integrated/terms.xlsx
Binary file not shown.
36 changes: 12 additions & 24 deletions ssn/ssn_separated/ssn.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@base <http://www.w3.org/ns/ssn/> .

<http://www.w3.org/ns/ssn/> rdf:type owl:Ontology ;
Expand Down Expand Up @@ -531,22 +532,9 @@ ssn:Drift rdf:type owl:Class ;


### http://www.w3.org/ns/ssn/FeatureOfInterest
ssn:FeatureOfInterest rdf:type owl:Class ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:onProperty ssn:hasProperty ;
owl:someValuesFrom ssn:Property
] ,
[ rdf:type owl:Restriction ;
owl:onProperty ssn:hasProperty ;
owl:allValuesFrom ssn:Property
] ;
dc:source """skos:exactMatch 'feature' [O&M]
http://www.opengeospatial.org/standards/om""" ;
rdfs:comment "A feature is an abstraction of real world phenomena (thing, person, event, etc)." ;
rdfs:isDefinedBy "http://www.w3.org/ns/ssn" ;
rdfs:label "Feature of Interest" ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Skeleton#Skeleton" .

#sosa:FeatureOfInterest
# rdfs:subClassOf [ owl:onProperty ssn:hasProperty ; owl:someValuesFrom ssn:Property ] ; # TODO: need resolution, is it ssn:hasProperty, or ssn:hasProperty ?
# rdfs:subClassOf [ owl:onProperty ssn:hasProperty ; owl:allValuesFrom ssn:Property ] . # TODO: need resolution, is it ssn:hasProperty, or ssn:hasProperty ?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need resolution, is it ssn:hasProperty, or sosa:hasProperty ?
This is currently discussed in a separate thred, will just comment these lines for now.
See https://lists.w3.org/Archives/Public/public-sdw-wg/2017Feb/0478.html


### http://www.w3.org/ns/ssn/Frequency
ssn:Frequency rdf:type owl:Class ;
Expand Down Expand Up @@ -638,8 +626,8 @@ ssn:MeasurementRange rdf:type owl:Class ;
### http://www.w3.org/ns/ssn/Observation
ssn:Observation rdf:type owl:Class ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:onProperty ssn:featureOfInterest ;
owl:allValuesFrom ssn:FeatureOfInterest
owl:onProperty sosa:featureOfInterest ;
owl:allValuesFrom sosa:FeatureOfInterest
] ,
[ rdf:type owl:Restriction ;
owl:onProperty ssn:observationResult ;
Expand Down Expand Up @@ -670,9 +658,9 @@ ssn:Observation rdf:type owl:Class ;
owl:minCardinality "0"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty ssn:featureOfInterest ;
owl:onProperty sosa:featureOfInterest ;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated prefix for featureOfInterest. This will be generalized or canceled depending on the vote for the SOSA/SSN integration issue

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maxime, let us make changes to the code after our discussions and not before them. This is not a race for who gets most commits accepted for the sake of github statistics. @arminhaller @dr-shorthair

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who would race for this ? Sounds childish...
I race for the completion of the action that was assigned to me.
I removed isPropertyOf and hasProperty which need to be discussed in a separate thread.
Now I believe it's ready and acceptable.
If you think otherwise, what shall I update exactly ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look all good to me. We can discuss the "missing" link between FeatureOfInterest and xxxProperty in our next phone call. I put quotation marks here, because I think it was deliberately left out from SOSA.
In another note, what is the oldssn.ttl in your directory though? Our intention was to only update ssnx.ttl, the alignment between old ssn and new ssn. We don't want to update old SSN at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the oldssn.ttl is a copy of the separated/ssn.ttl, that is progressively emptied whenever some terms are added into ssnx.ttl, sosa.ttl, ssn.ttl.
this is described in the steps 1 and 2 of the SOSA/SSN Integration Methodology [1,2]

[1] - https://www.w3.org/2015/spatial/wiki/OldSSN/SOSA/SSN_Integration_Methodology
[2] - https://github.com/w3c/sdw/blob/gh-pages/ssn/integrated/readme.md

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, there was no connection between FeatureOfInterest and ObservableProperty in SOSA because that would have involved establishing something akin to the ISO 19109 General Feature Model, which is way beyond the scope of SOSA. It would also have likely involved either rdfs semantics (domain and range) or OWL semantics (owl:Restriction) which we agreed would not be used in SOSA.

owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
owl:onClass ssn:FeatureOfInterest
owl:onClass sosa:FeatureOfInterest
] ,
[ rdf:type owl:Restriction ;
owl:onProperty ssn:observedBy ;
Expand Down Expand Up @@ -826,15 +814,15 @@ ssn:Process rdf:type owl:Class ;
ssn:Property rdf:type owl:Class ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:onProperty ssn:isPropertyOf ;
owl:someValuesFrom ssn:FeatureOfInterest
owl:someValuesFrom sosa:FeatureOfInterest
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated prefix for FeatureOfInterest

] ;
dc:source """skos:exactMatch 'property' [O&M]
http://www.opengeospatial.org/standards/om""" ;
rdfs:comment "An observable Quality of an Event or Object. That is, not a Quality of an abstract entity, but rather an aspect of an entity that is intrinsic to and cannot exist without the entity and that is observable by a sensor." ;
rdfs:comment "A Quality of a FeatureOfInterest. An aspect of an entity that is intrinsic to and cannot exist without the entity." ;
rdfs:isDefinedBy "http://www.w3.org/ns/ssn" ;
rdfs:label "Property" ;
rdfs:seeAlso "http://www.w3.org/2005/Incubator/ssn/wiki/SSN_Skeleton#Skeleton" .

sosa:ObservableProperty rdfs:subClassOf ssn:Property .


### http://www.w3.org/ns/ssn/Resolution
ssn:Resolution rdf:type owl:Class ;
Expand Down