Unverified Commit b4971073 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

result of meeting 2023-12-11

parent 8733c09e
Loading
Loading
Loading
Loading

examples/actuator.ttl

0 → 100644
+30 −0
Original line number Diff line number Diff line
@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://saref.etsi.org/core/> .
@prefix ex: <https://saref.etsi.org/core/v3.2.1/example/actuator/> .
@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/> .

<https://saref.etsi.org/core/v3.2.1/example/actuator#> a dctype:Dataset ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/> ;
  dcterms:title "Example actuator"@en ;
  dcterms:description "Example actuator"@en .

saref:Actuator a owl:Class ;
    rdfs:subClassOf saref:Device ,
        [ a owl:Restriction ;
            owl:onProperty saref:hasFunction ;
            owl:someValuesFrom saref:ActuatingFunction
        ] ;
    rdfs:comment "A device responsible for moving or controlling a mechanism or system by performing an actuating function"@en ;
    rdfs:label "Actuator"@en .

saref:ActuatingFunction a owl:Class ;
    rdfs:subClassOf saref:Function ;
    rdfs:comment "A function that allows to transmit data to actuators, such as level settings (e.g., temperature) or binary switching (e.g., open/close, on/off)"@en ;
    rdfs:label "Actuating function"@en .
+20 −3
Original line number Diff line number Diff line
@@ -3,18 +3,35 @@
@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/v3.1.1/example/doorswitch/> .
@prefix ex: <https://saref.etsi.org/core/v3.2.1/example/doorswitch/> .
@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/> .

<https://saref.etsi.org/core/v3.1.1/example/doorswitch#> a dctype:Dataset ;
<https://saref.etsi.org/core/v3.2.1/example/doorswitch#> a dctype:Dataset ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.1.1/> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/example/openclose#> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/example/switch#> ;
  dcterms:title "Example doorswitch"@en ;
  dcterms:description "Example doorswitch"@en .


saref:DoorSwitch a owl:Class ;
    rdfs:subClassOf saref:Switch ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasFunction ;
        owl:someValuesFrom saref:OpenCloseFunction
        ] ,
        [ a owl:Restriction ;
        owl:onProperty saref:hasState ;
        owl:someValuesFrom saref:OpenCloseState
        ] ;
    rdfs:comment "A switch that performs the saref:OpenCloseFunction, is used for controlling a door, and can be found in the state saref:OpenCloseState. A saref:DoorSwitch is typically used to accomplish saref:Safety."@en ;
    rdfs:label "Door switch"@en .


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

+77 −3
Original line number Diff line number Diff line
@@ -2,21 +2,95 @@
@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/v3.1.1/example/energymeter/> .
@prefix ex: <https://saref.etsi.org/core/v3.2.1/example/energymeter/> .
@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/> .

<https://saref.etsi.org/core/v3.1.1/example/energymeter#> a dctype:Dataset ;
<https://saref.etsi.org/core/v3.2.1/example/energymeter#> a dctype:Dataset ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.1.1/> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/> ;
  dcterms:title "Example energymeter"@en ;
  dcterms:description "Example energymeter"@en .

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


saref:Energy a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value measured in an energy unit (such as Kilowatt_Hour or Watt_hour). Furter specializations of the saref:Energy class can be found in the SAREF4ENER extension, where classes such as EnergyMax, EnergyMin and EnergyExpected are defined. "@en ;
    rdfs:label "Energy"@en .

saref:EnergyUnit a owl:Class ;
    rdfs:subClassOf saref:UnitOfMeasure ;
    rdfs:comment "The unit of measure for energy"@en ;
    rdfs:label "Energy unit"@en .


saref:Meter a owl:Class ;
    rdfs:subClassOf saref:Device ,
        [ a owl:Restriction ;
            owl:onProperty saref:hasFunction ;
            owl:someValuesFrom saref:MeteringFunction
        ] ;
    rdfs:comment "A device built to accurately detect and display a quantity in a form readable by a human being. Further, a device of category saref:Meter that performs a saref:MeteringFunction."@en ;
    rdfs:label "Meter"@en .
    
saref:MeteringFunction a owl:Class ;
    rdfs:subClassOf saref:Function ,
        [ a owl:Restriction ;
            owl:onProperty saref:hasMeterReading ;
            owl:allValuesFrom saref:Measurement
        ] ,
        [ a owl:Restriction ;
            owl:onProperty saref:hasMeterReadingType ;
            owl:allValuesFrom [ a owl:Class ; owl:unionOf ( saref:Commodity saref:Property ) ]
        ] ;
    rdfs:comment "A function that allows to get data from a meter, such as current meter reading or instantaneous demand"@en ;
    rdfs:label "Metering function"@en .

saref:hasMeterReading rdf:type owl:ObjectProperty ;
    rdfs:comment "A relationship between a metering function and the measurement of the reading"@en ;
    rdfs:domain saref:MeteringFunction ;
    rdfs:range saref:Measurement ;
    rdfs:label "has meter reading"@en .

saref:hasMeterReadingType rdf:type owl:ObjectProperty ;
    rdfs:comment "A relationship identifying the reading type of a metering function (e.g., Water, Gas, Pressure , Energy , Power, etc.)"@en ;
    rdfs:domain saref:MeteringFunction ;
    rdfs:range saref:Property ;
    rdfs:label "has meter reading type"@en .

saref:GetCurrentMeterValueCommand a owl:Class ;
    rdfs:subClassOf saref:GetCommand ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:MeteringFunction
        ] ;
    rdfs:comment "A type of get command"@en ;
    rdfs:label "Get current meter value command"@en .

saref:GetMeterDataCommand a owl:Class ;
    rdfs:subClassOf saref:GetCommand ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:MeteringFunction
        ] ;
    rdfs:comment "A type of get command"@en ;
    rdfs:label "Get meter data command"@en .

saref:GetMeterHistoryCommand a owl:Class ;
    rdfs:subClassOf saref:GetCommand ,
        [ a owl:Restriction ;
        owl:onProperty saref:isCommandOf ;
        owl:allValuesFrom saref:MeteringFunction
        ] ;
    rdfs:comment "A type of get command"@en ;
    rdfs:label "Get meter history command"@en .


ex:MicroRenewable rdf:type owl:Class ;
#                     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 ;

examples/humidity.ttl

0 → 100644
+21 −0
Original line number Diff line number Diff line
@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/v3.2.1/example/humidity/> .
@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/> .

<https://saref.etsi.org/core/v3.2.1/example/humidity#> a dctype:Dataset ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/> ;
  dcterms:title "Example humidity"@en ;
  dcterms:description "Example humidity"@en .

saref:Humidity a owl:Class ;
    rdfs:subClassOf saref:Property ;
    rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a humidity unit"@en ;
    rdfs:label "Humidity"@en .

examples/hvac.ttl

0 → 100644
+21 −0
Original line number Diff line number Diff line
@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://saref.etsi.org/core/> .
@prefix ex: <https://saref.etsi.org/core/v3.2.1/example/hvac/> .
@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/> .

<https://saref.etsi.org/core/v3.2.1/example/hvac#> a dctype:Dataset ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
  dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/> ;
  dcterms:title "Example hvac"@en ;
  dcterms:description "Example hvac"@en .

saref:HVAC a owl:Class ;
    rdfs:subClassOf saref:Device ;
    rdfs:comment "Heating, Ventilation and Air Conditioning (HVAC) device that provides indoor environmental comfort. A saref:HVAC is typically used to accomplish saref:Comfort."@en ;
    rdfs:label "HVAC"@en .
Loading