Commit 027a4a87 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

Issues in Clause 9.6.4

parent d6d9fb01
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -15,17 +15,20 @@
  dcterms:title "Example doorswitch"@en ;
  dcterms:description "Example doorswitch"@en .

geo:lat a owl:DatatypeProperty .
geo:long a owl:DatatypeProperty .

ex:BuildingObject_MainDoor
  rdf:type saref:Door ;
#  rdf:type saref:Door ;
  rdfs:label "Building object Main door"^^xsd:string ;
.
ex:BuildingSpace_OfficeHall
  rdf:type saref:BuildingSpace ;
#  rdf:type saref:BuildingSpace ;
  rdfs:label "Office Hall"^^xsd:string ;
  geo:lat "52.0821"^^xsd:string ;
  geo:long "4.3251"^^xsd:string ;
  saref:contains ex:BuildingObject_MainDoor ;
  saref:hasSpaceType "Office hall"^^xsd:string ;
#  saref:contains ex:BuildingObject_MainDoor ;
#  saref:hasSpaceType "Office hall"^^xsd:string ;
.
ex:CloseCommand
  rdf:type saref:CloseCommand ;
@@ -35,8 +38,8 @@ ex:CloseCommand
ex:CloseDoorService
  rdf:type saref:Service ;
  rdfs:label "CLOSE Door service "^^xsd:string ;
  saref:hasInputParameter ex:OpenState ;
  saref:hasOutputParameter ex:CloseState ;
#  saref:hasInputParameter ex:OpenState ;
#  saref:hasOutputParameter ex:CloseState ;
  saref:isOfferedBy ex:DoorSwitch_DS3001 ;
  saref:represents ex:OpenCloseFunction ;
.
@@ -49,19 +52,19 @@ ex:Comfort
  rdfs:label "Comfort"^^xsd:string ;
.
ex:DoorSwitch_DS001
  rdf:type saref:DoorSwitch ;
#  rdf:type saref:DoorSwitch ;
  rdfs:label "Door switch DS3001"^^xsd:string ;
  saref:IsUsedFor ex:BuildingObject_MainDoor ;
#  saref:IsUsedFor ex:BuildingObject_MainDoor ;
  saref:accomplishes ex:Comfort ;
  saref:consistsOf saref:Switch ;
  saref:hasCategory saref:Actuator ;
#  saref:hasCategory saref:Actuator ;
  saref:hasDescription "Door switch DS3001 is an example of how to instantiate a door switch using SAREF"^^xsd:string ;
  saref:hasFunction ex:OpenCloseFunction ;
  saref:hasManufacturer "manufacturer-mno"^^xsd:string ;
  saref:hasModel "mno-DS3001-16"^^xsd:string ;
  saref:hasState ex:CloseState ;
  saref:hasState ex:OpenState ;
  saref:isLocatedIn ex:BuildingSpace_OfficeHall ;
#  saref:isLocatedIn ex:BuildingSpace_OfficeHall ;
  saref:offers ex:CloseDoorService ;
.
ex:OpenCloseFunction
+11 −8
Original line number Diff line number Diff line
@@ -14,8 +14,11 @@
  dcterms:title "Example energymeter"@en ;
  dcterms:description "Example energymeter"@en .

time:Instant a owl:Class .
time:inXSDDateTime a owl:DatatypeProperty .

ex:MicroRenewable rdf:type owl:Class ;
                     rdfs:subClassOf saref:FunctionRelated ;
#                     rdfs:subClassOf saref:FunctionRelated ;
                     rdfs:comment "A device that generates renewable energy from natural resources such as the sun, wind and water.  A saref:MicroRenewable is typically used to accomplish saref:EnergyEfficiency."@en ;
                     rdfs:label "Micro renewable"@en .
ex:Efficiency
@@ -29,11 +32,11 @@ ex:Energy
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/kilowatt_hour> ;
.
ex:EnergyMeter_EM5004
  rdf:type saref:EnergyMeter ;
#  rdf:type saref:EnergyMeter ;
  rdfs:label "Energy meter EM5004"^^xsd:string ;
  saref:IsUsedFor ex:Energy ;
#  saref:IsUsedFor ex:Energy ;
  saref:accomplishes ex:Efficiency ;
  saref:hasCategory saref:Meter ;
#  saref:hasCategory saref:Meter ;
  saref:hasDescription "Energy meter EM5004 is an example of how to instantiate an energy meter using SAREF"^^xsd:string ;
  saref:hasFunction ex:MeteringFunction ;
  saref:hasManufacturer "manufacturer_stv"^^xsd:string ;
@@ -59,7 +62,7 @@ ex:Instant_1
ex:MeasureEnergyService
  rdf:type saref:Service ;
  rdfs:label "Measure energy service"^^xsd:string ;
  saref:hasOutputParameter ex:Energy ;
#  saref:hasOutputParameter ex:Energy ;
  saref:isOfferedBy ex:EnergyMeter_EM5004 ;
  saref:represents ex:MeteringFunction ;
.
@@ -67,9 +70,9 @@ ex:MeteringFunction
  rdf:type saref:MeteringFunction ;
  rdfs:label "Metering function "^^xsd:string ;
  saref:hasCommand ex:GetCurrentMeterValueCommand ;
  saref:hasMeterReadingTime ex:Time_value1 ;
  saref:hasMeterReadingType "Energy"^^xsd:string ;
  saref:hasMeterReadingValue ex:Energy_value1 ;
#  saref:hasMeterReadingTime ex:Time_value1 ;
  saref:hasMeterReadingType saref:Energy ;
#  saref:hasMeterReadingValue ex:Energy_value1 ;
.
ex:Time_value1
  rdf:type saref:Time ;
+11 −8
Original line number Diff line number Diff line
@@ -15,16 +15,19 @@
  dcterms:title "Example lightswitch"@en ;
  dcterms:description "Example lightswitch"@en .

geo:lat a owl:DatatypeProperty .
geo:long a owl:DatatypeProperty .

ex:LightingDevice rdf:type owl:Class ;
                     rdfs:subClassOf saref:FunctionRelated ;
#                     rdfs:subClassOf saref:FunctionRelated ;
                     rdfs:comment "A device used for illumination, irradiation, signaling, or projection. A saref:LightingDevice is typically used to accomplish saref:Comfort."@en ;
                     rdfs:label "Lighting device"@en .
ex:BuildingSpace_OfficeHall
  rdf:type saref:BuildingSpace ;
#  rdf:type saref:BuildingSpace ;
  rdfs:label "Office Hall"^^xsd:string ;
  geo:lat "52.0821"^^xsd:string ;
  geo:long "4.3251"^^xsd:string ;
  saref:hasSpaceType "Office hall"^^xsd:string ;
#  saref:hasSpaceType "Office hall"^^xsd:string ;
.
ex:Light
  rdf:type saref:Light ;
@@ -35,17 +38,17 @@ ex:Light
ex:LightSwitch_LS1001
  rdf:type saref:LightSwitch ;
  rdfs:label "Light switch LS1001"^^xsd:string ;
  saref:IsUsedFor ex:Light ;
#  saref:IsUsedFor ex:Light ;
  saref:accomplishes ex:Lighting ;
  saref:consistsOf saref:Switch ;
  saref:hasCategory saref:Actuator ;
#  saref:hasCategory saref:Actuator ;
  saref:hasDescription "Light switch LS1001 is an example of how to instantiate a light switch using SAREF"^^xsd:string ;
  saref:hasFunction ex:OnOffFunction ;
  saref:hasManufacturer "manufacturer-abc"^^xsd:string ;
  saref:hasModel "890-09w"^^xsd:string ;
  saref:hasState ex:OffState ;
  saref:hasState ex:OnState ;
  saref:isLocatedIn ex:BuildingSpace_OfficeHall ;
#  saref:isLocatedIn ex:BuildingSpace_OfficeHall ;
  saref:offers ex:SwitchOnService ;
.
ex:Lighting
@@ -80,8 +83,8 @@ ex:OnState
ex:SwitchOnService
  rdf:type saref:SwitchOnService ;
  rdfs:label "Switch ON service "^^xsd:string ;
  saref:hasInputParameter ex:OffState ;
  saref:hasOutputParameter ex:OnState ;
#  saref:hasInputParameter ex:OffState ;
#  saref:hasOutputParameter ex:OnState ;
  saref:isOfferedBy ex:LightSwitch_LS1001 ;
  saref:represents ex:OnOffFunction ;
.
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
  dcterms:description "Example multimedia"@en .

ex:Multimedia rdf:type owl:Class ;
                 rdfs:subClassOf saref:FunctionRelated ;
#                 rdfs:subClassOf saref:FunctionRelated ;
                 rdfs:comment "A device designed to display, store, record or play multimedia content such as audio, images, animation, video. A saref:Multimedia is typically used to accomplish saref:Entertainment."@en ;
                 rdfs:label "Multimedia"@en .
+16 −13
Original line number Diff line number Diff line
@@ -15,6 +15,9 @@
  dcterms:title "Example smokesensor"@en ;
  dcterms:description "Example smokesensor"@en .

geo:lat a owl:DatatypeProperty .
geo:long a owl:DatatypeProperty .

ex:Audio
  rdf:type saref:Property ;
  rdfs:label "Audio"^^xsd:string ;
@@ -22,16 +25,16 @@ ex:Audio
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.6/decibel> ;
.
ex:BuildingObject_Window
  rdf:type saref:Window ;
#  rdf:type saref:Window ;
  rdfs:label "Window"^^xsd:string ;
.
ex:BuildingSpace_HotelRoom
  rdf:type saref:BuildingSpace ;
#  rdf:type saref:BuildingSpace ;
  rdfs:label "Hotel room"^^xsd:string ;
  geo:lat "52.0705"^^xsd:string ;
  geo:long "4.30070"^^xsd:string ;
  saref:contains <http://ontology.tno.nl/saref/tempsensor#BuildingObject_window> ;
  saref:hasSpaceType "Hotel room"^^xsd:string ;
#  saref:contains <http://ontology.tno.nl/saref/tempsensor#BuildingObject_window> ;
#  saref:hasSpaceType "Hotel room"^^xsd:string ;
.
ex:Comfort
  rdf:type saref:Task ;
@@ -41,7 +44,7 @@ ex:EventFunction
  rdf:type saref:EventFunction ;
  rdfs:label "Event function"^^xsd:string ;
  saref:hasCommand ex:NotifyCommand ;
  saref:hasThreshold ex:Smoke_threshold_value ;
#  saref:hasThreshold ex:Smoke_threshold_value ;
.
ex:GetSensingDataCommand
  rdf:type saref:GetCommand ;
@@ -65,8 +68,8 @@ ex:OnState
ex:SenseSmoke
  rdf:type saref:Service ;
  rdfs:label "Sense smoke"^^xsd:string ;
  saref:hasInputParameter ex:Smoke ;
  saref:hasOutputParameter ex:Smoke ;
#  saref:hasInputParameter ex:Smoke ;
#  saref:hasOutputParameter ex:Smoke ;
  saref:isOfferedBy ex:SmokeSensor_SS4001 ;
  saref:represents ex:SensingFunction ;
.
@@ -74,7 +77,7 @@ ex:SensingFunction
  rdf:type saref:SensingFunction ;
  rdfs:label "Sensing function"^^xsd:string ;
  saref:hasCommand ex:GetSensingDataCommand ;
  saref:hasSensorType "Smoke"^^xsd:string ;
  saref:hasSensorType ex:Smoke ;
.
ex:Smoke
  rdf:type saref:Smoke ;
@@ -83,17 +86,17 @@ ex:Smoke
ex:SmokeAlarm
  rdf:type saref:Service ;
  rdfs:label "Smoke alarm"^^xsd:string ;
  saref:hasInputParameter ex:Smoke ;
  saref:hasOutputParameter ex:Audio ;
#  saref:hasInputParameter ex:Smoke ;
#  saref:hasOutputParameter ex:Audio ;
  saref:isOfferedBy ex:SmokeSensor_SS4001 ;
  saref:represents ex:EventFunction ;
.
ex:SmokeSensor_SS4001
  rdf:type saref:SmokeSensor ;
  rdfs:label "Smoke sensor SS4001"^^xsd:string ;
  saref:IsUsedFor ex:Smoke ;
#  saref:IsUsedFor ex:Smoke ;
  saref:accomplishes saref:Safety ;
  saref:hasCategory saref:Sensor ;
#  saref:hasCategory saref:Sensor ;
  saref:hasDescription "Temperature sensor TS2001 is an example of how to instantiate a temperature sensor using SAREF"^^xsd:string ;
  saref:hasFunction ex:EventFunction ;
  saref:hasFunction ex:SensingFunction ;
@@ -101,7 +104,7 @@ ex:SmokeSensor_SS4001
  saref:hasModel "SS-4001-ccsd-15"^^xsd:string ;
  saref:hasState ex:OffState ;
  saref:hasState ex:OnState ;
  saref:isLocatedIn ex:BuildingSpace_HotelRoom ;
#  saref:isLocatedIn ex:BuildingSpace_HotelRoom ;
  saref:offers ex:SenseSmoke ;
  saref:offers ex:SmokeAlarm ;
.
Loading