-
Notifications
You must be signed in to change notification settings - Fork 84
implementation of ACTION-268 #572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
35cc79d
09f8624
ab577dc
35871fd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 . | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
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: . | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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: . | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 ? | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. need resolution, is it ssn:hasProperty, or sosa:hasProperty ? |
||
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 . | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Implementation of the option 6 in https://www.w3.org/2015/spatial/wiki/Property_and_Observable_Property |
||
|
||
## SensorOutput, ObservationValue, Result | ||
|
||
|
||
# what would be the equivalent axiom for sosa:Result ? | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> . | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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> . | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Implementation of the option 6 in https://www.w3.org/2015/spatial/wiki/Property_and_Observable_Property |
||
|
||
## SensorOutput, ObservationValue, Result | ||
|
||
oldssn:SensorOutput a owl:Class ; | ||
rdfs:label "Sensor Output"@en ; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 ; | ||
|
@@ -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 ? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. need resolution, is it ssn:hasProperty, or sosa:hasProperty ? |
||
|
||
### http://www.w3.org/ns/ssn/Frequency | ||
ssn:Frequency rdf:type owl:Class ; | ||
|
@@ -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 ; | ||
|
@@ -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 ; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Who would race for this ? Sounds childish... There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. [1] - https://www.w3.org/2015/spatial/wiki/OldSSN/SOSA/SSN_Integration_Methodology There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 ; | ||
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 ; | ||
|
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.