Example on/off switch
Turtle
@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://saref.etsi.org/core/> .
@prefix ex: <https://saref.etsi.org/core/v4.1.1/example/on_off_switch/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
<https://saref.etsi.org/core/v4.1.1/example/on_off_switch#> a dctype:Dataset ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:conformsTo <https://saref.etsi.org/core/v4.1.1/> ;
dcterms:title "Example on/off switch"@en ;
dcterms:description "Example on/off switch"@en .
ex:OnOffSwitch a saref:FeatureKind ;
skos:broader ex:Switch ;
rdfs:comment "The kind of switch devices, that perform actuating function ex:OnOffFunction"@en ;
saref:hasFunction ex:OnOffFunction ;
rdfs:label "On Off Switch"@en .
ex:OnOffFunction a saref:Function ;
rdfs:label "On Off Function"@en ;
rdfs:comment "A function to control the on/off state of some feature"@en ;
saref:controls ex:OnOffState .
ex:OnOffState a saref:State ;
rdfs:label "On Off State"@en ;
rdfs:comment "the state of on or off"@en .
ex:On a saref:State ;
skos:broader ex:OnOffState ;
rdfs:label "On"@en ;
rdfs:comment "the state on"@en .
ex:Off a saref:State ;
skos:broader ex:OnOffState ;
rdfs:label "Off"@en ;
rdfs:comment "the state off"@en .