Example KPI
Turtle
@prefix ex: <https://saref.etsi.org/saref4watr/v1.1.1/example/KPI/> .
@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 geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4city: <https://saref.etsi.org/saref4city/> .
@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
@prefix s4watr: <https://saref.etsi.org/saref4watr/> .
@prefix dbpedia: <http://es.dbpedia.org/resource/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
<https://saref.etsi.org/saref4watr/v1.1.1/example/KPI#> a dctype:Dataset ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:conformsTo <https://saref.etsi.org/saref4watr/v1.1.1/> ;
dcterms:title "Example KPI"@en ;
dcterms:description "Example KPI"@en .
#################################################################
# Object Properties
#################################################################
### http://www.w3.org/2006/time#hasBeginning
time:hasBeginning rdf:type owl:ObjectProperty .
### http://www.w3.org/2006/time#hasEnd
time:hasEnd rdf:type owl:ObjectProperty .
### http://www.w3.org/2006/time#unitType
time:unitType rdf:type owl:ObjectProperty .
#################################################################
# Data properties
#################################################################
### http://www.w3.org/2006/time#inXSDDateTimeStamp
time:inXSDDateTimeStamp rdf:type owl:DatatypeProperty .
### http://www.w3.org/2006/time#numericDuration
time:numericDuration rdf:type owl:DatatypeProperty .
#################################################################
# Classes
#################################################################
### http://www.w3.org/2006/time#Duration
time:Duration rdf:type owl:Class ;
rdfs:subClassOf time:TemporalDuration .
### http://www.w3.org/2006/time#Instant
time:Instant rdf:type owl:Class ;
rdfs:subClassOf time:TemporalEntity ;
rdfs:comment "A temporal entity with zero extent or duration"@en ;
rdfs:isDefinedBy time: ;
rdfs:label "Instant"@en .
### http://www.w3.org/2006/time#TemporalUnit
time:TemporalUnit rdf:type owl:Class .
#################################################################
# Individuals
#################################################################
### http://es.dbpedia.org/resource/Madrid
dbpedia:Madrid rdf:type owl:NamedIndividual ,
geosp:Feature .
### http://www.w3.org/2006/time#unitWeek
time:unitWeek rdf:type owl:NamedIndividual ,
time:TemporalUnit .
### https://saref.etsi.org/saref4watr/example/DowntownDS
ex:DowntownDS rdf:type owl:NamedIndividual ,
s4watr:DistributionSystem ;
geosp:hasGeometry ex:DSGeom ;
s4city:hasKPI ex:MinimumPressureLevel ;
s4syst:hasSubSystem ex:Meter4837QW123 ,
ex:PumpRT73467 ,
ex:Tank38472 ;
s4watr:isIntendedFor s4watr:DrinkingWater .
### https://saref.etsi.org/saref4watr/example/MPL2020020723
ex:MPL2020020723 rdf:type owl:NamedIndividual ,
s4city:KeyPerformanceIndicatorAssessment ;
s4city:assesses ex:DowntownDS ;
s4city:isDerivedFrom ex:PLMeasurement56206 ,
ex:PLMeasurement56207 ,
ex:PLMeasurement56208 ;
s4city:quantifiesKPI ex:MinimumPressureLevel ;
s4city:refersToFeature dbpedia:Madrid ;
s4city:refersToTime ex:MPL37222 ;
saref:hasValue "true"^^xsd:boolean ;
s4city:hasCreationDate "2020-02-10T01:01:15"^^xsd:dateTime ;
s4city:hasExpirationDate "2020-02-17T00:00:01"^^xsd:dateTime ;
s4city:hasLastUpdateDate "2020-02-10T01:01:15"^^xsd:dateTime .
### https://saref.etsi.org/saref4watr/example/MPL37222
ex:MPL37222 rdf:type owl:NamedIndividual ,
time:Interval ;
time:hasBeginning ex:MPL37222B ;
time:hasEnd ex:MPL37222E .
### https://saref.etsi.org/saref4watr/example/MPL37222B
ex:MPL37222B rdf:type owl:NamedIndividual ,
time:Instant ;
time:inXSDDateTimeStamp "2020-02-03T00:00:00Z"^^xsd:dateTimeStamp .
### https://saref.etsi.org/saref4watr/example/MPL37222E
ex:MPL37222E rdf:type owl:NamedIndividual ,
time:Instant ;
time:inXSDDateTimeStamp "2020-02-09T23:59:59Z"^^xsd:dateTimeStamp .
### https://saref.etsi.org/saref4watr/example/MinimumPressureLevel
ex:MinimumPressureLevel rdf:type owl:NamedIndividual ,
s4city:KeyPerformanceIndicator ;
s4city:hasCalculationPeriod ex:OneWeek ;
s4city:isKPIOf ex:DowntownDS ;
rdfs:label "Minimum pressure level"@en .
### https://saref.etsi.org/saref4watr/example/OneWeek
ex:OneWeek rdf:type owl:NamedIndividual ,
time:Duration ;
time:unitType time:unitWeek ;
time:numericDuration 1 .
### https://saref.etsi.org/saref4watr/example/PLMeasurement56206
ex:PLMeasurement56206 rdf:type owl:NamedIndividual ,
saref:Measurement .
### https://saref.etsi.org/saref4watr/example/PLMeasurement56207
ex:PLMeasurement56207 rdf:type owl:NamedIndividual ,
saref:Measurement .
### https://saref.etsi.org/saref4watr/example/PLMeasurement56208
ex:PLMeasurement56208 rdf:type owl:NamedIndividual ,
saref:Measurement .