From 0c0aaf6107a0d1e6aeb7571dd9f6564e80c2a62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Lefran=C3=A7ois?= Date: Thu, 30 May 2019 19:27:16 +0200 Subject: [PATCH] Close #11 --- ontology/saref.ttl | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/ontology/saref.ttl b/ontology/saref.ttl index be588e4..1c2859e 100644 --- a/ontology/saref.ttl +++ b/ontology/saref.ttl @@ -426,10 +426,6 @@ saref:Device rdf:type owl:Class ; ### https://saref.etsi.org/DoorSwitch saref:DoorSwitch rdf:type owl:Class ; rdfs:subClassOf saref:Switch , - [ rdf:type owl:Restriction ; - owl:onProperty saref:consistsOf ; - owl:someValuesFrom saref:Switch - ] , [ rdf:type owl:Restriction ; owl:onProperty saref:hasFunction ; owl:someValuesFrom saref:OpenCloseFunction @@ -442,7 +438,7 @@ saref:DoorSwitch rdf:type owl:Class ; owl:onProperty saref:accomplishes ; owl:hasValue saref:Safety ] ; - rdfs:comment "A device of category saref:Actuator that consists of a switch, accomplishes the task saref:Safety, performs the saref:OpenCloseFunction, is used for controlling a door, and can be found in the state saref:OpenCloseState."^^xsd:string ; + rdfs:comment "A switch that accomplishes the task saref:Safety, performs the saref:OpenCloseFunction, is used for controlling a door, and can be found in the state saref:OpenCloseState."^^xsd:string ; rdfs:label "Door switch"^^xsd:string . @@ -463,10 +459,6 @@ saref:Energy rdf:type owl:Class ; ### https://saref.etsi.org/EnergyMeter saref:EnergyMeter rdf:type owl:Class ; rdfs:subClassOf saref:Meter , - [ rdf:type owl:Restriction ; - owl:onProperty saref:consistsOf ; - owl:someValuesFrom saref:Meter - ] , [ rdf:type owl:Restriction ; owl:onProperty saref:measuresProperty ; owl:someValuesFrom saref:Energy @@ -479,7 +471,7 @@ saref:EnergyMeter rdf:type owl:Class ; owl:onProperty saref:accomplishes ; owl:hasValue saref:MeterReading ] ; - rdfs:comment "An energy meter is a device of category saref:Meter that consists of a meter, accomplishes the tasks saref:MeterReading and saref:EnergyEfficiency, performs the saref:MeteringFunction and is used for the purpose of measuring the saref:Energy property"^^xsd:string ; + rdfs:comment "An energy meter is a meter that accomplishes the tasks saref:MeterReading and saref:EnergyEfficiency, performs the saref:MeteringFunction and is used for the purpose of measuring the saref:Energy property"^^xsd:string ; rdfs:label "Energy meter"^^xsd:string . @@ -632,10 +624,6 @@ saref:Light rdf:type owl:Class ; ### https://saref.etsi.org/LightSwitch saref:LightSwitch rdf:type owl:Class ; rdfs:subClassOf saref:Switch , - [ rdf:type owl:Restriction ; - owl:onProperty saref:consistsOf ; - owl:someValuesFrom saref:Switch - ] , [ rdf:type owl:Restriction ; owl:onProperty saref:hasFunction ; owl:someValuesFrom saref:OnOffFunction @@ -656,7 +644,7 @@ saref:LightSwitch rdf:type owl:Class ; owl:onProperty saref:accomplishes ; owl:hasValue saref:Lighting ] ; - rdfs:comment "A device of category saref:Actuator that consists of a switch, accomplishes the task saref:Lighting, performs the saref:OnOffFunction, controls the property saref:Light, and can be found in the state saref:OnOffState. It can offer a switch on service."^^xsd:string ; + rdfs:comment "A switch that accomplishes the task saref:Lighting, performs the saref:OnOffFunction, controls the property saref:Light, and can be found in the state saref:OnOffState. It can offer a switch on service."^^xsd:string ; rdfs:label "Light switch"^^xsd:string . @@ -1074,10 +1062,6 @@ saref:Smoke rdf:type owl:Class ; ### https://saref.etsi.org/SmokeSensor saref:SmokeSensor rdf:type owl:Class ; rdfs:subClassOf saref:Sensor , - [ rdf:type owl:Restriction ; - owl:onProperty saref:consistsOf ; - owl:someValuesFrom saref:Sensor - ] , [ rdf:type owl:Restriction ; owl:onProperty saref:hasFunction ; owl:someValuesFrom saref:EventFunction @@ -1094,7 +1078,7 @@ saref:SmokeSensor rdf:type owl:Class ; owl:onProperty saref:accomplishes ; owl:hasValue saref:Safety ] ; - rdfs:comment "A device that consists of a sensor, has category saref:Sensor, performs the saref:SensingFunction and saref:EventFunction (which notifies that a certain threshold has been exceeded), and is used for the purpose of sensing a property of type saref:Smoke."^^xsd:string ; + rdfs:comment "A sensor that performs the saref:SensingFunction and saref:EventFunction (which notifies that a certain threshold has been exceeded), and is used for the purpose of sensing a property of type saref:Smoke."^^xsd:string ; rdfs:label "Smoke sensor"^^xsd:string . @@ -1231,10 +1215,6 @@ saref:Temperature rdf:type owl:Class ; ### https://saref.etsi.org/TemperatureSensor saref:TemperatureSensor rdf:type owl:Class ; rdfs:subClassOf saref:Sensor , - [ rdf:type owl:Restriction ; - owl:onProperty saref:consistsOf ; - owl:someValuesFrom saref:Sensor - ] , [ rdf:type owl:Restriction ; owl:onProperty saref:hasFunction ; owl:someValuesFrom saref:SensingFunction @@ -1247,7 +1227,7 @@ saref:TemperatureSensor rdf:type owl:Class ; owl:onProperty saref:accomplishes ; owl:hasValue saref:Comfort ] ; - rdfs:comment "A device that consists of a sensor, has category saref:Sensor, performs the saref:SensingFunction and is used for the purpose of sensing a property of type saref:Temperature"^^xsd:string ; + rdfs:comment "A sensor that performs the saref:SensingFunction and is used for the purpose of sensing a property of type saref:Temperature"^^xsd:string ; rdfs:label "Temperature sensor"^^xsd:string . -- GitLab