From fa90c0fe94e8f0ae2cf57c6ec7e67d858a95c2c4 Mon Sep 17 00:00:00 2001 From: dragoni Date: Wed, 27 Mar 2024 22:33:50 +0100 Subject: [PATCH 1/5] Addressed issue #10. --- ontology/saref4wear.ttl | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/ontology/saref4wear.ttl b/ontology/saref4wear.ttl index 78a500e..2835670 100644 --- a/ontology/saref4wear.ttl +++ b/ontology/saref4wear.ttl @@ -9,7 +9,6 @@ @prefix vann: . @prefix voaf: . @prefix saref: . -@prefix wgs84: . @prefix s4city: . @prefix s4syst: . @prefix s4wear: . @@ -133,13 +132,6 @@ geo:sfWithin rdf:type owl:ObjectProperty ; rdfs:label "sfWithin"@en . -### http://www.w3.org/2003/01/geo/wgs84_pos#location -wgs84:location rdf:type owl:ObjectProperty ; - rdfs:comment "The relation between something and the point, or other geometrical thing in space, where it is. For example, the relationship between a radio tower and a Point with a given lat and long. Or a relationship between a park and its outline as a closed arc of points, or a road and its location as a arc (a sequence of points). Clearly in practice there will be limit to the accuracy of any such statement, but one would expect an accuracy appropriate for the size of the object and uses such as mapping."@en ; - rdfs:isDefinedBy wgs84: ; - rdfs:label "location" . - - ### http://www.w3.org/ns/ssn/systems/hasSystemCapability ssn-system:hasSystemCapability rdf:type owl:ObjectProperty ; rdfs:comment "Relation from a System to a SystemCapability describing the capabilities of the System under certain Conditions."@en ; @@ -563,6 +555,14 @@ geo:Geometry rdf:type owl:Class ; rdfs:label "Geometry"@en . +### http://www.opengis.net/ont/geosparql#Point +geo:Point rdf:type owl:Class ; + rdfs:subClassOf geo:Geometry ; + rdfs:comment "A point, typically described using a coordinate system relative to Earth."@en ; + rdfs:isDefinedBy geo: ; + rdfs:label "Point"@en . + + ### http://www.opengis.net/ont/geosparql#SpatialObject geo:SpatialObject rdf:type owl:Class ; rdfs:comment "The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry."@en ; @@ -570,14 +570,6 @@ geo:SpatialObject rdf:type owl:Class ; rdfs:label "Spatial object"@en . -### http://www.w3.org/2003/01/geo/wgs84_pos#Point -wgs84:Point rdf:type owl:Class ; - rdfs:subClassOf geo:Geometry ; - rdfs:comment "A point, typically described using a coordinate system relative to Earth, such as WGS84."@en ; - rdfs:isDefinedBy wgs84: ; - rdfs:label "Point"@en . - - ### http://www.w3.org/ns/ssn/systems/SystemCapability ssn-system:SystemCapability rdf:type owl:Class ; rdfs:comment """Describes normal measurement, actuation, sampling properties such as accuracy, range, precision, etc. of a System under some specified Conditions such as a temperature range. -- GitLab From f132c541d408c5bd711534856ab9d42e45a4f887 Mon Sep 17 00:00:00 2001 From: dragoni Date: Wed, 27 Mar 2024 22:43:46 +0100 Subject: [PATCH 2/5] Addressed issue #12. --- ontology/saref4wear.ttl | 62 ++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/ontology/saref4wear.ttl b/ontology/saref4wear.ttl index 2835670..e62d502 100644 --- a/ontology/saref4wear.ttl +++ b/ontology/saref4wear.ttl @@ -161,7 +161,7 @@ saref:hasCommand rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/core/hasFunction saref:hasFunction rdf:type owl:ObjectProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range saref:Function ; rdfs:comment "A relationship identifying the function of a device."@en ; rdfs:label "has function"@en . @@ -273,7 +273,7 @@ s4wear:featureIsMeasuredByDevice rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/followsPolicy s4wear:followsPolicy rdf:type owl:ObjectProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range s4wear:Policy ; rdfs:comment "A relationship specifying the policy followed by a wearable device."@en ; rdfs:label "follows policy"@en . @@ -329,7 +329,7 @@ s4wear:isDetectedBy rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/isLocated s4wear:isLocated rdf:type owl:ObjectProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range s4wear:Wearer ; rdfs:comment "A relationship specifying the location of a wearer with respect to a wearable."@en ; rdfs:label "is located"@en . @@ -390,8 +390,8 @@ s4wear:monitors rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/sendsInformationTo s4wear:sendsInformationTo rdf:type owl:ObjectProperty ; rdfs:subPropertyOf s4syst:connectedTo ; - rdfs:domain s4wear:Wearable ; - rdfs:range s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; + rdfs:range s4wear:WearableDevice ; rdfs:comment "A relationship specifying the sending information operation between two wearables."@en ; rdfs:label "sends information to"@en . @@ -399,7 +399,7 @@ s4wear:sendsInformationTo rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/sendsNotificationsTo s4wear:sendsNotificationsTo rdf:type owl:ObjectProperty ; rdfs:subPropertyOf s4syst:connectedTo ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range s4wear:Wearer ; rdfs:comment "A relationship specifying the sending notification operation between two wearables."@en ; rdfs:label "sends notifications to"@en . @@ -447,7 +447,7 @@ s4wear:hasCapacity rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/saref4wear/hasDataTransmissionRate s4wear:hasDataTransmissionRate rdf:type owl:DatatypeProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range xsd:double ; rdfs:comment "A relationship defining the data transmission rate of a wearable."@en ; rdfs:label "has data transmission rate"@en . @@ -455,7 +455,7 @@ s4wear:hasDataTransmissionRate rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/saref4wear/hasHeight s4wear:hasHeight rdf:type owl:DatatypeProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range xsd:double ; rdfs:comment "A relationship defining the height dimension of a wearable."@en ; rdfs:label "has height"@en . @@ -463,7 +463,7 @@ s4wear:hasHeight rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/saref4wear/hasLength s4wear:hasLength rdf:type owl:DatatypeProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range xsd:double ; rdfs:comment "A relationship defining the length dimension of a wearable."@en ; rdfs:label "has length"@en . @@ -471,7 +471,7 @@ s4wear:hasLength rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/saref4wear/hasStorage s4wear:hasStorage rdf:type owl:DatatypeProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range xsd:double ; rdfs:comment "A relationship defining the storage capacity of a wearable."@en ; rdfs:label "has storage"@en . @@ -479,7 +479,7 @@ s4wear:hasStorage rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/saref4wear/hasWeight s4wear:hasWeight rdf:type owl:DatatypeProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range xsd:double ; rdfs:comment "A relationship defining the weight of a wearable device."@en ; rdfs:label "has weight"@en . @@ -487,7 +487,7 @@ s4wear:hasWeight rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/saref4wear/hasWidth s4wear:hasWidth rdf:type owl:DatatypeProperty ; - rdfs:domain s4wear:Wearable ; + rdfs:domain s4wear:WearableDevice ; rdfs:range xsd:double ; rdfs:comment "A relationship defining the width dimention of a wearable."@en ; rdfs:label "has width"@en . @@ -559,7 +559,7 @@ geo:Geometry rdf:type owl:Class ; geo:Point rdf:type owl:Class ; rdfs:subClassOf geo:Geometry ; rdfs:comment "A point, typically described using a coordinate system relative to Earth."@en ; - rdfs:isDefinedBy geo: ; + rdfs:isDefinedBy ; rdfs:label "Point"@en . @@ -819,7 +819,7 @@ s4wear:FabricWearable rdf:type owl:Class ; ### https://saref.etsi.org/saref4wear/InBodyWearable s4wear:InBodyWearable rdf:type owl:Class ; - rdfs:subClassOf [ owl:intersectionOf ( s4wear:Wearable + rdfs:subClassOf [ owl:intersectionOf ( s4wear:WearableDevice [ rdf:type owl:Restriction ; owl:onProperty s4wear:isLocatedIn ; owl:someValuesFrom s4wear:Wearer @@ -861,7 +861,7 @@ s4wear:NavigatingFunction rdf:type owl:Class ; ### https://saref.etsi.org/saref4wear/NearBodyWearable s4wear:NearBodyWearable rdf:type owl:Class ; - rdfs:subClassOf [ owl:intersectionOf ( s4wear:Wearable + rdfs:subClassOf [ owl:intersectionOf ( s4wear:WearableDevice [ rdf:type owl:Restriction ; owl:onProperty s4wear:isLocatedNear ; owl:someValuesFrom s4wear:Wearer @@ -885,7 +885,7 @@ s4wear:Occurrence rdf:type owl:Class ; ### https://saref.etsi.org/saref4wear/OnBodyWearable s4wear:OnBodyWearable rdf:type owl:Class ; - rdfs:subClassOf [ owl:intersectionOf ( s4wear:Wearable + rdfs:subClassOf [ owl:intersectionOf ( s4wear:WearableDevice [ rdf:type owl:Restriction ; owl:onProperty s4wear:isLocatedOn ; owl:someValuesFrom s4wear:Wearer @@ -938,20 +938,20 @@ s4wear:User rdf:type owl:Class ; rdfs:label "User"@en . -### https://saref.etsi.org/saref4wear/Wearable -s4wear:Wearable rdf:type owl:Class ; - rdfs:subClassOf geo:Feature , - saref:Device , - [ rdf:type owl:Restriction ; - owl:onProperty ssn-system:hasSystemCapability ; - owl:allValuesFrom ssn-system:SystemCapability - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasProperty ; - owl:allValuesFrom s4wear:WearableProperty - ] ; - rdfs:comment "A wearable device is a device that is intended to be located near, on or in an organism."@en ; - rdfs:label "Wearable device"@en . +### https://saref.etsi.org/saref4wear/WearableDevice +s4wear:WearableDevice rdf:type owl:Class ; + rdfs:subClassOf geo:Feature , + saref:Device , + [ rdf:type owl:Restriction ; + owl:onProperty ssn-system:hasSystemCapability ; + owl:allValuesFrom ssn-system:SystemCapability + ] , + [ rdf:type owl:Restriction ; + owl:onProperty saref:hasProperty ; + owl:allValuesFrom s4wear:WearableProperty + ] ; + rdfs:comment "A wearable device is a device that is intended to be located near, on or in an organism."@en ; + rdfs:label "Wearable device"@en . ### https://saref.etsi.org/saref4wear/WearableProperty @@ -967,7 +967,7 @@ s4wear:Wearer rdf:type owl:Class ; [ owl:intersectionOf ( s4wear:LivingOrganism [ rdf:type owl:Restriction ; owl:onProperty s4wear:featureIsMeasuredByDevice ; - owl:someValuesFrom s4wear:Wearable + owl:someValuesFrom s4wear:WearableDevice ] ) ; rdf:type owl:Class -- GitLab From c38a36414b329c4ebf0a0d05fa7f31cbfd1c47c8 Mon Sep 17 00:00:00 2001 From: dragoni Date: Wed, 27 Mar 2024 23:11:35 +0100 Subject: [PATCH 3/5] Addressed issue #15. --- ontology/saref4wear.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/ontology/saref4wear.ttl b/ontology/saref4wear.ttl index e62d502..ff31332 100644 --- a/ontology/saref4wear.ttl +++ b/ontology/saref4wear.ttl @@ -19,6 +19,7 @@ rdf:type owl:Ontology ; owl:versionIRI ; + owl:imports ; dcterms:created "2019-01-01"^^xsd:date ; dcterms:creator , ; -- GitLab From 51a8a8c31635d5656bbb617d295bd44c7a713e3d Mon Sep 17 00:00:00 2001 From: dragoni Date: Wed, 27 Mar 2024 23:13:23 +0100 Subject: [PATCH 4/5] Addressed issue #13. --- ontology/saref4wear.ttl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ontology/saref4wear.ttl b/ontology/saref4wear.ttl index ff31332..d2b7a4b 100644 --- a/ontology/saref4wear.ttl +++ b/ontology/saref4wear.ttl @@ -296,14 +296,6 @@ s4wear:hasPowerSupply rdf:type owl:ObjectProperty ; rdfs:label "has power supply"@en . -### https://saref.etsi.org/saref4wear/hasSensor -s4wear:hasSensor rdf:type owl:ObjectProperty ; - rdfs:domain saref:Device ; - rdfs:range saref:Sensor ; - rdfs:comment "A relationship specifying a sensor integrated into a device."@en ; - rdfs:label "has sensor"@en . - - ### https://saref.etsi.org/saref4wear/installs s4wear:installs rdf:type owl:ObjectProperty ; rdfs:domain s4city:Facility ; -- GitLab From a38af3d14dfe4dc8e07a8836bd861042cd19a0e2 Mon Sep 17 00:00:00 2001 From: dragoni Date: Wed, 27 Mar 2024 23:20:20 +0100 Subject: [PATCH 5/5] Addressed issue #11. --- ontology/saref4wear.ttl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ontology/saref4wear.ttl b/ontology/saref4wear.ttl index d2b7a4b..ea24336 100644 --- a/ontology/saref4wear.ttl +++ b/ontology/saref4wear.ttl @@ -250,7 +250,7 @@ s4syst:connectedTo rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/controlsFeature s4wear:controlsFeature rdf:type owl:ObjectProperty ; - rdfs:domain saref:Device ; + rdfs:domain s4wear:WearableDevice ; rdfs:range saref:FeatureOfInterest ; rdfs:comment "A relationship specifying the features of interest that are controlled by a device."@en ; rdfs:label "controls feature"@en . @@ -259,7 +259,7 @@ s4wear:controlsFeature rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/featureIsControlledByDevice s4wear:featureIsControlledByDevice rdf:type owl:ObjectProperty ; rdfs:domain saref:FeatureOfInterest ; - rdfs:range saref:Device ; + rdfs:range s4wear:WearableDevice ; rdfs:comment "A relationship specifying the devices that control a feature of interest."@en ; rdfs:label "feature is controlled by device"@en . @@ -267,7 +267,7 @@ s4wear:featureIsControlledByDevice rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/featureIsMeasuredByDevice s4wear:featureIsMeasuredByDevice rdf:type owl:ObjectProperty ; rdfs:domain saref:FeatureOfInterest ; - rdfs:range saref:Device ; + rdfs:range s4wear:WearableDevice ; rdfs:comment "A relationship specifying the devices that measure a feature of interest."@en ; rdfs:label "feature is measured by device"@en . @@ -366,7 +366,7 @@ s4wear:isTriggeredBy rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4wear/measuresFeature s4wear:measuresFeature rdf:type owl:ObjectProperty ; - rdfs:domain saref:Device ; + rdfs:domain s4wear:WearableDevice ; rdfs:range saref:FeatureOfInterest ; rdfs:comment "A relationship specifying the features of interest that are measured by a device."@en ; rdfs:label "measures feature"@en . -- GitLab