Commit 61342e4d authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

Merge branch 'add-gitignore' into 'master'

Add gitignore

See merge request SAREF/saref-core!7
parents 6d4147b2 1b91910a
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+3 −0
Original line number Diff line number Diff line
*~
.DS_Store
catalog-v001.xml
+80 −0
Original line number Diff line number Diff line
# baseURI: http://ontology.tno.nl/saref/doorswitch
# imports: https://w3id.org/saref

@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix saref: <https://w3id.org/saref#> .
@prefix saref-ds: <http://ontology.tno.nl/saref/doorswitch#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://ontology.tno.nl/saref/doorswitch>
  rdf:type owl:Ontology ;
  owl:imports <https://w3id.org/saref> ;
.
saref-ds:BuildingObject_MainDoor
  rdf:type saref:Door ;
  rdfs:label "Building object Main door"^^xsd:string ;
.
saref-ds:BuildingSpace_OfficeHall
  rdf:type saref:BuildingSpace ;
  rdfs:label "Office Hall"^^xsd:string ;
  geo:lat "52.0821"^^xsd:string ;
  geo:long "4.3251"^^xsd:string ;
  saref:contains saref-ds:BuildingObject_MainDoor ;
  saref:hasSpaceType "Office hall"^^xsd:string ;
.
saref-ds:CloseCommand
  rdf:type saref:CloseCommand ;
  rdfs:label "CLOSE command "^^xsd:string ;
  saref:actsUpon saref-ds:OpenState ;
.
saref-ds:CloseDoorService
  rdf:type saref:Service ;
  rdfs:label "CLOSE Door service "^^xsd:string ;
  saref:hasInputParameter saref-ds:OpenState ;
  saref:hasOutputParameter saref-ds:CloseState ;
  saref:isOfferedBy saref-ds:DoorSwitch_DS3001 ;
  saref:represents saref-ds:OpenCloseFunction ;
.
saref-ds:CloseState
  rdf:type saref:CloseState ;
  rdfs:label "CLOSE state"^^xsd:string ;
.
saref-ds:Comfort
  rdf:type saref:Task ;
  rdfs:label "Comfort"^^xsd:string ;
.
saref-ds:DoorSwitch_DS001
  rdf:type saref:DoorSwitch ;
  rdfs:label "Door switch DS3001"^^xsd:string ;
  saref:IsUsedFor saref-ds:BuildingObject_MainDoor ;
  saref:accomplishes saref-ds:Comfort ;
  saref:consistsOf saref:Switch ;
  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 saref-ds:OpenCloseFunction ;
  saref:hasManufacturer "manufacturer-mno"^^xsd:string ;
  saref:hasModel "mno-DS3001-16"^^xsd:string ;
  saref:hasState saref-ds:CloseState ;
  saref:hasState saref-ds:OpenState ;
  saref:isLocatedIn saref-ds:BuildingSpace_OfficeHall ;
  saref:offers saref-ds:CloseDoorService ;
.
saref-ds:OpenCloseFunction
  rdf:type saref:OpenCloseFunction ;
  rdfs:label "OPEN CLOSE function "^^xsd:string ;
  saref:hasCommand saref-ds:CloseCommand ;
  saref:hasCommand saref-ds:OpenCommand ;
.
saref-ds:OpenCommand
  rdf:type saref:OpenCommand ;
  rdfs:label "OPEN command"^^xsd:string ;
  saref:actsUpon saref-ds:CloseState ;
.
saref-ds:OpenState
  rdf:type saref:OpenState ;
  rdfs:label "Open state"^^xsd:string ;
.
+73 −0
Original line number Diff line number Diff line
# baseURI: http://ontology.tno.nl/saref/energymeter
# imports: https://w3id.org/saref

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix saref: <https://w3id.org/saref#> .
@prefix saref-em: <http://ontology.tno.nl/saref/energymeter#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://ontology.tno.nl/saref/energymeter>
  rdf:type owl:Ontology ;
  owl:imports <https://w3id.org/saref> ;
.
saref-em:Efficiency
  rdf:type saref:Task ;
  rdfs:label "Efficiency"^^xsd:string ;
.
saref-em:Energy
  rdf:type saref:Energy ;
  rdfs:label "Energy "^^xsd:string ;
  saref:hasValue "not applicable"^^xsd:string ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/kilowatt_hour> ;
.
saref-em:EnergyMeter_EM5004
  rdf:type saref:EnergyMeter ;
  rdfs:label "Energy meter EM5004"^^xsd:string ;
  saref:IsUsedFor saref-em:Energy ;
  saref:accomplishes saref-em:Efficiency ;
  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 saref-em:MeteringFunction ;
  saref:hasManufacturer "manufacturer_stv"^^xsd:string ;
  saref:hasModel "EM5004-stv-16"^^xsd:string ;
  saref:offers saref-em:MeasureEnergyService ;
.
saref-em:Energy_value1
  rdf:type saref:Energy ;
  rdfs:label "Energy value1"^^xsd:string ;
  saref:hasValue "1"^^xsd:string ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/kilowatt_hour> ;
.
saref-em:GetCurrentMeterValueCommand
  rdf:type saref:GetCurrentMeterValueCommand ;
  rdfs:label "Get current meter value command"^^xsd:string ;
  saref:isCommandOf saref-em:MeteringFunction ;
.
saref-em:Instant_1
  rdf:type time:Instant ;
  rdfs:label "Instant 1"^^xsd:string ;
  time:inXSDDateTime "2015-03-17T11:10:50.53"^^xsd:dateTime ;
.
saref-em:MeasureEnergyService
  rdf:type saref:Service ;
  rdfs:label "Measure energy service"^^xsd:string ;
  saref:hasOutputParameter saref-em:Energy ;
  saref:isOfferedBy saref-em:EnergyMeter_EM5004 ;
  saref:represents saref-em:MeteringFunction ;
.
saref-em:MeteringFunction
  rdf:type saref:MeteringFunction ;
  rdfs:label "Metering function "^^xsd:string ;
  saref:hasCommand saref-em:GetCurrentMeterValueCommand ;
  saref:hasMeterReadingTime saref-em:Time_value1 ;
  saref:hasMeterReadingType "Energy"^^xsd:string ;
  saref:hasMeterReadingValue saref-em:Energy_value1 ;
.
saref-em:Time_value1
  rdf:type saref:Time ;
  rdfs:label "Time value 1"^^xsd:string ;
  saref:consistsOf saref-em:Instant_1 ;
.
+82 −0
Original line number Diff line number Diff line
# baseURI: http://ontology.tno.nl/saref/lightswitch
# imports: https://w3id.org/saref

@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix saref: <https://w3id.org/saref#> .
@prefix saref-ls: <http://ontology.tno.nl/saref/lightswitch#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://ontology.tno.nl/saref/lightswitch>
  rdf:type owl:Ontology ;
  owl:imports <https://w3id.org/saref> ;
.
saref-ls:BuildingSpace_OfficeHall
  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-ls:Light
  rdf:type saref:Light ;
  rdfs:label "Light "^^xsd:string ;
  saref:hasValue "not applicable"^^xsd:string ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/lux> ;
.
saref-ls:LightSwitch_LS1001
  rdf:type saref:LightSwitch ;
  rdfs:label "Light switch LS1001"^^xsd:string ;
  saref:IsUsedFor saref-ls:Light ;
  saref:accomplishes saref-ls:Lighting ;
  saref:consistsOf saref:Switch ;
  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 saref-ls:OnOffFunction ;
  saref:hasManufacturer "manufacturer-abc"^^xsd:string ;
  saref:hasModel "890-09w"^^xsd:string ;
  saref:hasState saref-ls:OffState ;
  saref:hasState saref-ls:OnState ;
  saref:isLocatedIn saref-ls:BuildingSpace_OfficeHall ;
  saref:offers saref-ls:SwitchOnService ;
.
saref-ls:Lighting
  rdf:type saref:Task ;
  rdfs:label "Lighting"^^xsd:string ;
  saref:isAccomplishedBy saref-ls:LightSwitch_LS1001 ;
.
saref-ls:OffCommand
  rdf:type saref:OffCommand ;
  rdfs:label "OFF command "^^xsd:string ;
  saref:actsUpon saref-ls:OnState ;
.
saref-ls:OffState
  rdf:type saref:OffState ;
  rdfs:label "OFF state"^^xsd:string ;
.
saref-ls:OnCommand
  rdf:type saref:OnCommand ;
  rdfs:label "ON command"^^xsd:string ;
  saref:actsUpon saref-ls:OffState ;
.
saref-ls:OnOffFunction
  rdf:type saref:OnOffFunction ;
  rdfs:label "ON OFF function "^^xsd:string ;
  saref:hasCommand saref-ls:OffCommand ;
  saref:hasCommand saref-ls:OnCommand ;
.
saref-ls:OnState
  rdf:type saref:OnState ;
  rdfs:label "ON state"^^xsd:string ;
.
saref-ls:SwitchOnService
  rdf:type saref:SwitchOnService ;
  rdfs:label "Switch ON service "^^xsd:string ;
  saref:hasInputParameter saref-ls:OffState ;
  saref:hasOutputParameter saref-ls:OnState ;
  saref:isOfferedBy saref-ls:LightSwitch_LS1001 ;
  saref:represents saref-ls:OnOffFunction ;
.
+121 −0
Original line number Diff line number Diff line
# baseURI: http://ontology.tno.nl/saref/smokesensor
# imports: https://w3id.org/saref

@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix saref: <https://w3id.org/saref#> .
@prefix saref-ss: <http://ontology.tno.nl/saref/smokesensor#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://ontology.tno.nl/saref/smokesensor>
  rdf:type owl:Ontology ;
  owl:imports <https://w3id.org/saref> ;
.
saref-ss:Audio
  rdf:type saref:Property ;
  rdfs:label "Audio"^^xsd:string ;
  saref:hasValue "70"^^xsd:string ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.6/decibel> ;
.
saref-ss:BuildingObject_Window
  rdf:type saref:Window ;
  rdfs:label "Window"^^xsd:string ;
.
saref-ss:BuildingSpace_HotelRoom
  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-ss:Comfort
  rdf:type saref:Task ;
  rdfs:label "Comfort"^^xsd:string ;
.
saref-ss:EventFunction
  rdf:type saref:EventFunction ;
  rdfs:label "Event function"^^xsd:string ;
  saref:hasCommand saref-ss:NotifyCommand ;
  saref:hasThreshold saref-ss:Smoke_threshold_value ;
.
saref-ss:GetSensingDataCommand
  rdf:type saref:GetCommand ;
  rdfs:comment "The GetSensingDataCommand does not act upon any state, since it only gives a directive to retrieve a certain value."^^xsd:string ;
  rdfs:label "Get sensing data command"^^xsd:string ;
  saref:isCommandOf saref-ss:SensingFunction ;
.
saref-ss:NotifyCommand
  rdf:type saref:NotifyCommand ;
  rdfs:label "Notify command"^^xsd:string ;
  saref:isCommandOf saref-ss:EventFunction ;
.
saref-ss:OffState
  rdf:type saref:OffState ;
  rdfs:label "OFF state"^^xsd:string ;
.
saref-ss:OnState
  rdf:type saref:OnState ;
  rdfs:label "ON state"^^xsd:string ;
.
saref-ss:SenseSmoke
  rdf:type saref:Service ;
  rdfs:label "Sense smoke"^^xsd:string ;
  saref:hasInputParameter saref-ss:Smoke ;
  saref:hasOutputParameter saref-ss:Smoke ;
  saref:isOfferedBy saref-ss:SmokeSensor_SS4001 ;
  saref:represents saref-ss:SensingFunction ;
.
saref-ss:SensingFunction
  rdf:type saref:SensingFunction ;
  rdfs:label "Sensing function"^^xsd:string ;
  saref:hasCommand saref-ss:GetSensingDataCommand ;
  saref:hasSensorType "Smoke"^^xsd:string ;
.
saref-ss:Smoke
  rdf:type saref:Smoke ;
  rdfs:label "Smoke"^^xsd:string ;
.
saref-ss:SmokeAlarm
  rdf:type saref:Service ;
  rdfs:label "Smoke alarm"^^xsd:string ;
  saref:hasInputParameter saref-ss:Smoke ;
  saref:hasOutputParameter saref-ss:Audio ;
  saref:isOfferedBy saref-ss:SmokeSensor_SS4001 ;
  saref:represents saref-ss:EventFunction ;
.
saref-ss:SmokeSensor_SS4001
  rdf:type saref:SmokeSensor ;
  rdfs:label "Smoke sensor SS4001"^^xsd:string ;
  saref:IsUsedFor saref-ss:Smoke ;
  saref:accomplishes saref:Safety ;
  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 saref-ss:EventFunction ;
  saref:hasFunction saref-ss:SensingFunction ;
  saref:hasManufacturer "manufacturer-ccsd"^^xsd:string ;
  saref:hasModel "SS-4001-ccsd-15"^^xsd:string ;
  saref:hasState saref-ss:OffState ;
  saref:hasState saref-ss:OnState ;
  saref:isLocatedIn saref-ss:BuildingSpace_HotelRoom ;
  saref:offers saref-ss:SenseSmoke ;
  saref:offers saref-ss:SmokeAlarm ;
.
saref-ss:SmokeUnit
  rdf:type saref:UnitOfMeasure ;
  rdfs:label "Smoke unit"^^xsd:string ;
.
saref-ss:Smoke_threshold_value
  rdf:type saref:Smoke ;
  rdfs:label "Smoke threshold value"^^xsd:string ;
  saref:hasValue "00000"^^xsd:string ;
  saref:isMeasuredIn saref-ss:SmokeUnit ;
.
saref-ss:Temperature
  rdf:type saref:Temperature ;
  rdfs:label "Temperature"^^xsd:string ;
  saref:hasValue "not applicable"^^xsd:string ;
.
Loading