Example demonstrating how to represent information from group name StatisticSignals as in ETSI TS 103 735, Clause 6.8
Turtle
@prefix ex: <https://saref.etsi.org/saref4lift/v2.1.1/example/TS103735_Clause_6_8_StatisticSignals/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
@prefix s4bldg: <https://saref.etsi.org/saref4bldg/> .
@prefix s4lift: <https://saref.etsi.org/saref4lift/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix cdt: <http://w3id.org/lindt/custom_datatypes#>.
<https://saref.etsi.org/saref4lift/v2.1.1/example/TS103735_Clause_6_8_StatisticSignals#> a dctype:Dataset ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:conformsTo <https://saref.etsi.org/saref4lift/v2.1.1/> ;
dcterms:title "Statistic Signals example"@en ;
dcterms:description "Example demonstrating how to represent information from group name StatisticSignals as in ETSI TS 103 735, Clause 6.8"@en .
# The statistics signals convey statistics measurements over a period of time. usually from the last reset. Sometimes the statistics are about the number of executions of a command.
# numberOfCalls, upwardTravels, downwardTravels, totalFloorsCovered, numberOfResetSequences, totalReversalDirection
## s4lift:StatisticSignal are signals that convey measurement of some statistics of a feature of interest
<mailto:lift.1415@company1.com> a s4lift:SmartLiftInstallation .
_:NumberOfCallsSignal a s4lift:StatisticSignal ;
rdfs:comment "example of a signal that conveys a s4lift:NumberOfCallsStatistics of a s4lift:SmartLiftInstallation"@en ;
saref:observes <mailto:lift.1415@company1.com> ;
s4lift:conveys _:NumberOfCallsStatistics .
_:NumberOfCallsStatistics a saref:Observation ;
saref:observes <mailto:lift.1415@company1.com> ;
saref:observes s4lift:NumberOfCallsStatistics ;
saref:hasResult [ saref:hasValue 137 ] ;
saref:hasTimestamp "2021-03-15T12:00:00Z"^^xsd:dateTime .
# callsPerService
## s4lift:NumberOfCallsStatistics can be applied to a possible car service.
ex:carservice1 a s4lift:SmartLiftCarService .
_:NumberOfCallsPerServiceStatistics a saref:Observation ;
saref:observes ex:carservice1 ;
saref:observes s4lift:NumberOfCallsStatistics ;
saref:hasResult [ saref:hasValue 35 ] ;
saref:hasTimestamp "2021-03-15T12:00:00Z"^^xsd:dateTime .
# carTemperature, engineRoomTemperature, shaftTemperature
_:carTemperatureobs a saref:Observation ;
saref:observes <mailto:lift.1415@company1.com> ;
saref:observes s4lift:CarTemperature ;
saref:hasResult [ saref:hasValue "34 Cel"^^cdt:ucum ] .
# threephasePowerConsumption, singlephasePowerConsumption, servicesPowerConsumption
## only s4lift:hasElectricPowerConsumption, attached to the appropriate feature of interest: the three-phase connection point, a system that groups lights, etc.
_:consumptionobs a saref:Observation ;
saref:observes <mailto:lift.1415@company1.com> ;
saref:observes s4lift:ElectricPowerConsumption ;
saref:hasResult [ saref:hasValue "127 kWh"^^cdt:ucum ] .