From 4e37d9c2c78359f55e77220dd503d2e809dc7515 Mon Sep 17 00:00:00 2001 From: Maxime Date: Wed, 24 Jan 2024 10:40:48 +0100 Subject: [PATCH 1/2] closes #7 --- ontology/saref4auto.ttl | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ontology/saref4auto.ttl b/ontology/saref4auto.ttl index e1397c4..0ee90a7 100644 --- a/ontology/saref4auto.ttl +++ b/ontology/saref4auto.ttl @@ -165,14 +165,6 @@ saref:isMeasuredIn rdf:type owl:ObjectProperty ; rdfs:label "is measured in"@en . -### https://saref.etsi.org/core/makesMeasurement -saref:makesMeasurement rdf:type owl:ObjectProperty ; - owl:inverseOf saref:measurementMadeBy ; - rdfs:comment "A relation between a device and the measurements it makes. Such measurement will link together the value of the measurement, its unit of measure and the property to which it relates."@en ; - rdfs:isDefinedBy saref: ; - rdfs:label "makes measurement"@en . - - ### https://saref.etsi.org/core/measurementMadeBy saref:measurementMadeBy rdf:type owl:ObjectProperty ; rdfs:comment "A relation between a measurement and the device that made it."@en ; @@ -753,7 +745,7 @@ saref:Device rdf:type owl:Class ; owl:allValuesFrom saref:Property ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:makesMeasurement ; + owl:onProperty saref:madeExecution ; owl:allValuesFrom saref:Measurement ] , [ rdf:type owl:Restriction ; -- GitLab From f8b33b5ce8b99e58164afc359ea172adde2715f8 Mon Sep 17 00:00:00 2001 From: David Gnabasik Date: Thu, 25 Jan 2024 12:41:56 +0000 Subject: [PATCH 2/2] issue-8 changes --- ontology/saref4auto.ttl | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/ontology/saref4auto.ttl b/ontology/saref4auto.ttl index e1397c4..da27c0e 100644 --- a/ontology/saref4auto.ttl +++ b/ontology/saref4auto.ttl @@ -180,15 +180,6 @@ saref:measurementMadeBy rdf:type owl:ObjectProperty ; rdfs:label "measurementMadeBy"@en . -### https://saref.etsi.org/core/measuresProperty -saref:measuresProperty rdf:type owl:ObjectProperty ; - rdfs:domain saref:Device ; - rdfs:range saref:Property ; - rdfs:comment "A relationship specifying the property that can be measured by a certain device"@en ; - rdfs:isDefinedBy saref: ; - rdfs:label "measures property"@en . - - ### https://saref.etsi.org/core/relatesToMeasurement saref:relatesToMeasurement rdf:type owl:ObjectProperty ; rdfs:comment "A relationship between a property and the measurements it relates to"@en ; @@ -757,7 +748,7 @@ saref:Device rdf:type owl:Class ; owl:allValuesFrom saref:Measurement ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:allValuesFrom saref:Property ] ; rdfs:comment "A tangible object designed to accomplish a particular task in households, common public buildings or offices. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs a start and stop function. Devices can be structured in categories (subclasses) that reflect the different domain in which a device is used, e.g., smart appliances domain (subclass FunctionRelated) vs. building domain (subclass BuildingRelated) vs. smart grid domain (subclass EnergyRelated). New categories can be defined,if needed, to reflect other differences, for example different points of view, such as the point of view of the device's user vs. the point of view of the device's manufacturer. We propose a list of devices that are relevant for the purpose of SAREF, but this list can be extended."@en ; @@ -1072,15 +1063,15 @@ saref:UnitOfMeasure rdf:type owl:Class ; rdfs:subClassOf saref:Device , s4syst:System , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Acceleration ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Heading ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Speed ] , [ rdf:type owl:Restriction ; @@ -1606,23 +1597,23 @@ saref:UnitOfMeasure rdf:type owl:Class ; :RoadSideSensor rdf:type owl:Class ; rdfs:subClassOf saref:Sensor , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Heading ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Height ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Length ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Speed ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:someValuesFrom :Width ] , [ rdf:type owl:Restriction ; -- GitLab