From bb5c47133af1fd40d3929a7824fb1e606fe180b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rau=CC=81l=20Garci=CC=81a=20Castro?= <rgarcia@fi.upm.es>
Date: Mon, 10 Feb 2020 18:15:45 +0100
Subject: [PATCH] Added examples

---
 examples/KPI example.ttl                  | 150 ++++++++++++++++++++++
 examples/Meter measurement example.ttl    | 102 +++++++++++++++
 examples/Tariff example.ttl               |  91 +++++++++++++
 examples/Water infrastructure example.ttl | 114 ++++++++++++++++
 examples/Water measurement example.ttl    |  63 +++++++++
 examples/Water meter example.ttl          |  71 ++++++++++
 6 files changed, 591 insertions(+)
 create mode 100644 examples/KPI example.ttl
 create mode 100644 examples/Meter measurement example.ttl
 create mode 100644 examples/Tariff example.ttl
 create mode 100644 examples/Water infrastructure example.ttl
 create mode 100644 examples/Water measurement example.ttl
 create mode 100644 examples/Water meter example.ttl

diff --git a/examples/KPI example.ttl b/examples/KPI example.ttl
new file mode 100644
index 0000000..fd85833
--- /dev/null
+++ b/examples/KPI example.ttl	
@@ -0,0 +1,150 @@
+@prefix : <https://saref.etsi.org/saref4watr/example/> .
+@prefix ex: <https://saref.etsi.org/saref4watr/example/> .
+@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 s4city: <https://saref.etsi.org/saref4city/> .
+@prefix s4watr: <https://saref.etsi.org/saref4watr/> .
+@prefix dbpedia: <http://es.dbpedia.org/resource/> .
+@base <https://saref.etsi.org/saref4watr/example/> .
+
+#################################################################
+#    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:intendedFor 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 .
diff --git a/examples/Meter measurement example.ttl b/examples/Meter measurement example.ttl
new file mode 100644
index 0000000..32e010e
--- /dev/null
+++ b/examples/Meter measurement example.ttl	
@@ -0,0 +1,102 @@
+@prefix : <https://saref.etsi.org/saref4watr/example/> .
+@prefix ex: <https://saref.etsi.org/saref4watr/example/> .
+@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
+@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 s4watr: <https://saref.etsi.org/saref4watr/> .
+@base <https://saref.etsi.org/saref4watr/example/> .
+
+#################################################################
+#    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 .
+
+
+#################################################################
+#    Data properties
+#################################################################
+
+###  http://www.w3.org/2006/time#inXSDDateTimeStamp
+time:inXSDDateTimeStamp rdf:type owl:DatatypeProperty .
+
+
+#################################################################
+#    Individuals
+#################################################################
+
+###  http://www.ontology-of-units-of-measure.org/resource/om-2/degreeCelsius
+om:degreeCelsius rdf:type owl:NamedIndividual ,
+                          saref:UnitOfMeasure .
+
+
+###  http://www.ontology-of-units-of-measure.org/resource/om-2/litre
+om:litre rdf:type owl:NamedIndividual ,
+                  saref:UnitOfMeasure .
+
+
+###  https://saref.etsi.org/saref4watr/ExternalTemperature
+s4watr:ExternalTemperature rdf:type owl:NamedIndividual ,
+                                    s4watr:WaterFlowProperty ;
+                           saref:relatesToMeasurement ex:WFMeasurement643234 ;
+                           rdfs:label "External temperature"@en .
+
+
+###  https://saref.etsi.org/saref4watr/FlowVolume
+s4watr:FlowVolume rdf:type owl:NamedIndividual ,
+                           s4watr:WaterFlowProperty ;
+                  saref:relatesToMeasurement ex:WFMeasurement170206 ;
+                  rdfs:label "Flow volume"@en .
+
+
+###  https://saref.etsi.org/saref4watr/example/Meter4837QW123
+ex:Meter4837QW123 rdf:type owl:NamedIndividual ,
+                           s4watr:WaterMeter ;
+                  saref:makesMeasurement ex:WFMeasurement170206 ,
+                                         ex:WFMeasurement643234 .
+
+
+###  https://saref.etsi.org/saref4watr/example/PT838452
+ex:PT838452 rdf:type owl:NamedIndividual ,
+                     time:Interval ;
+            time:hasBeginning ex:PT838452B ;
+            time:hasEnd ex:PT838452E .
+
+
+###  https://saref.etsi.org/saref4watr/example/PT838452B
+ex:PT838452B rdf:type owl:NamedIndividual ,
+                      time:Instant ;
+             time:inXSDDateTimeStamp "2020-02-06T14:00:00Z"^^xsd:dateTimeStamp .
+
+
+###  https://saref.etsi.org/saref4watr/example/PT838452E
+ex:PT838452E rdf:type owl:NamedIndividual ,
+                      time:Instant ;
+             time:inXSDDateTimeStamp "2020-02-06T14:59:59Z"^^xsd:dateTimeStamp .
+
+
+###  https://saref.etsi.org/saref4watr/example/WFMeasurement170206
+ex:WFMeasurement170206 rdf:type owl:NamedIndividual ,
+                                saref:Measurement ;
+                       saref:isMeasuredIn om:litre ;
+                       saref:relatesToProperty s4watr:FlowVolume ;
+                       saref:hasTimestamp "2020-02-06T15:07:12"^^xsd:dateTime ;
+                       saref:hasValue "127.0"^^xsd:float .
+
+
+###  https://saref.etsi.org/saref4watr/example/WFMeasurement643234
+ex:WFMeasurement643234 rdf:type owl:NamedIndividual ,
+                                saref:Measurement ;
+                       saref:isMeasuredIn om:degreeCelsius ;
+                       saref:relatesToProperty s4watr:ExternalTemperature ;
+                       s4watr:hasPhenomenonTime ex:PT838452 ;
+                       saref:hasValue "24.5"^^xsd:float .
diff --git a/examples/Tariff example.ttl b/examples/Tariff example.ttl
new file mode 100644
index 0000000..e566691
--- /dev/null
+++ b/examples/Tariff example.ttl	
@@ -0,0 +1,91 @@
+@prefix : <https://saref.etsi.org/saref4watr/example/> .
+@prefix ex: <https://saref.etsi.org/saref4watr/example/> .
+@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
+@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 s4watr: <https://saref.etsi.org/saref4watr/> .
+@base <https://saref.etsi.org/saref4watr/example/> .
+
+#################################################################
+#    Object Properties
+#################################################################
+
+###  http://www.w3.org/2006/time#unitType
+time:unitType rdf:type owl:ObjectProperty .
+
+
+#################################################################
+#    Data properties
+#################################################################
+
+###  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#TemporalUnit
+time:TemporalUnit rdf:type owl:Class .
+
+
+#################################################################
+#    Individuals
+#################################################################
+
+###  http://www.w3.org/2006/time#unitMonth
+time:unitMonth rdf:type owl:NamedIndividual ,
+                        time:TemporalUnit .
+
+
+###  http://www.w3.org/2006/time#unitYear
+time:unitYear rdf:type owl:NamedIndividual ,
+                       time:TemporalUnit .
+
+
+###  https://saref.etsi.org/saref4watr/example/FiveYears
+ex:FiveYears rdf:type owl:NamedIndividual ,
+                      time:Duration ;
+             time:unitType time:unitYear ;
+             time:numericDuration 5 .
+
+
+###  https://saref.etsi.org/saref4watr/example/Meter4837QW123
+ex:Meter4837QW123 rdf:type owl:NamedIndividual ,
+                           s4watr:WaterMeter .
+
+
+###  https://saref.etsi.org/saref4watr/example/Meter4837QW123Tariff
+ex:Meter4837QW123Tariff rdf:type owl:NamedIndividual ,
+                                 s4watr:ConsumptionBasedTariff ;
+                        s4watr:appliesTo ex:Meter4837QW123 ;
+                        s4watr:hasBillingPeriod ex:OneMonth ;
+                        s4watr:hasDuration ex:FiveYears ;
+                        s4watr:hasPeriod ex:OneYear ;
+                        s4watr:forVolumeConsumption "900 liters" ;
+                        s4watr:hasBillingDate "2020-03-31T23:59:59"^^xsd:dateTime ;
+                        s4watr:hasStartTimestamp "2019-02-01T00:00:00"^^xsd:dateTime .
+
+
+###  https://saref.etsi.org/saref4watr/example/OneMonth
+ex:OneMonth rdf:type owl:NamedIndividual ,
+                     time:Duration ;
+            time:unitType time:unitMonth ;
+            time:numericDuration 1 .
+
+
+###  https://saref.etsi.org/saref4watr/example/OneYear
+ex:OneYear rdf:type owl:NamedIndividual ,
+                    time:Duration ;
+           time:unitType time:unitYear ;
+           time:numericDuration 1 .
diff --git a/examples/Water infrastructure example.ttl b/examples/Water infrastructure example.ttl
new file mode 100644
index 0000000..0a713e0
--- /dev/null
+++ b/examples/Water infrastructure example.ttl	
@@ -0,0 +1,114 @@
+@prefix : <https://saref.etsi.org/saref4watr/example/> .
+@prefix ex: <https://saref.etsi.org/saref4watr/example/> .
+@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
+@prefix sf: <http://www.opengis.net/ont/sf#> .
+@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 geosp: <http://www.opengis.net/ont/geosparql#> .
+@prefix saref: <https://saref.etsi.org/core/> .
+@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
+@prefix s4watr: <https://saref.etsi.org/saref4watr/> .
+@base <https://saref.etsi.org/saref4watr/example/> .
+
+#################################################################
+#    Datatypes
+#################################################################
+
+###  http://www.opengis.net/ont/geosparql#wktLiteral
+geosp:wktLiteral rdf:type rdfs:Datatype .
+
+
+#################################################################
+#    Data properties
+#################################################################
+
+###  http://www.opengis.net/ont/geosparql#asWKT
+geosp:asWKT rdf:type owl:DatatypeProperty .
+
+
+#################################################################
+#    Individuals
+#################################################################
+
+###  http://www.ontology-of-units-of-measure.org/resource/om-2/litrePerHour
+om:litrePerHour rdf:type owl:NamedIndividual ,
+                         saref:UnitOfMeasure .
+
+
+###  https://saref.etsi.org/saref4watr/DrinkingWater
+s4watr:DrinkingWater rdf:type owl:NamedIndividual ,
+                              s4watr:Water ;
+                     rdfs:label "Drinking water"@en ,
+                                "Potable water"@en .
+
+
+###  https://saref.etsi.org/saref4watr/FlowRate
+s4watr:FlowRate rdf:type owl:NamedIndividual ,
+                         s4watr:WaterFlowProperty ;
+                saref:relatesToMeasurement ex:PMeasurement854306 ;
+                rdfs:label "Flow rate"@en .
+
+
+###  https://saref.etsi.org/saref4watr/example/DSGeom
+ex:DSGeom rdf:type owl:NamedIndividual ,
+                   sf:Polygon ;
+          geosp:asWKT "POLYGON (-3.704522 40.412313, -3.699676 40.417639, -3.705637 40.420286, -3.708768 40.415940, -3.704522 40.412313)"^^geosp:wktLiteral .
+
+
+###  https://saref.etsi.org/saref4watr/example/DowntownDS
+ex:DowntownDS rdf:type owl:NamedIndividual ,
+                       s4watr:DistributionSystem ;
+              geosp:hasGeometry ex:DSGeom ;
+              s4syst:hasSubSystem ex:Meter4837QW123 ,
+                                  ex:PumpRT73467 ,
+                                  ex:Tank38472 ;
+              s4watr:intendedFor s4watr:DrinkingWater .
+
+
+###  https://saref.etsi.org/saref4watr/example/Meter4837QW123
+ex:Meter4837QW123 rdf:type owl:NamedIndividual ,
+                           s4watr:WaterMeter ;
+                  geosp:hasGeometry ex:MeterGeom .
+
+
+###  https://saref.etsi.org/saref4watr/example/MeterGeom
+ex:MeterGeom rdf:type owl:NamedIndividual ,
+                      sf:Point ;
+             geosp:asWKT "POINT (-3.705346 40.417351)"^^geosp:wktLiteral .
+
+
+###  https://saref.etsi.org/saref4watr/example/PMeasurement854306
+ex:PMeasurement854306 rdf:type owl:NamedIndividual ,
+                               saref:Measurement ;
+                      saref:isMeasuredIn om:litrePerHour ;
+                      saref:isMeasurementOf ex:PumpRT73467 ;
+                      saref:relatesToProperty s4watr:FlowRate ;
+                      saref:hasTimestamp "2020-02-06T13:48:22"^^xsd:dateTime ;
+                      saref:hasValue "8.3"^^xsd:float .
+
+
+###  https://saref.etsi.org/saref4watr/example/PumpGeom
+ex:PumpGeom rdf:type owl:NamedIndividual ,
+                     sf:Point .
+
+
+###  https://saref.etsi.org/saref4watr/example/PumpRT73467
+ex:PumpRT73467 rdf:type owl:NamedIndividual ,
+                        s4watr:Pump ;
+               geosp:hasGeometry ex:PumpGeom ;
+               saref:hasMeasurement ex:PMeasurement854306 ;
+               geosp:asWKT "POINT (-3.703384 40.418560)"^^geosp:wktLiteral .
+
+
+###  https://saref.etsi.org/saref4watr/example/Tank38472
+ex:Tank38472 rdf:type owl:NamedIndividual ,
+                      s4watr:Tank ;
+             geosp:hasGeometry ex:TankGeom .
+
+
+###  https://saref.etsi.org/saref4watr/example/TankGeom
+ex:TankGeom rdf:type owl:NamedIndividual ,
+                     sf:Point ;
+            geosp:asWKT "POINT (-3.703240 40.418498)"^^geosp:wktLiteral .
diff --git a/examples/Water measurement example.ttl b/examples/Water measurement example.ttl
new file mode 100644
index 0000000..849e43b
--- /dev/null
+++ b/examples/Water measurement example.ttl	
@@ -0,0 +1,63 @@
+@prefix : <https://saref.etsi.org/saref4watr/example/> .
+@prefix ex: <https://saref.etsi.org/saref4watr/example/> .
+@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
+@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 saref: <https://saref.etsi.org/core/> .
+@prefix s4watr: <https://saref.etsi.org/saref4watr/> .
+@base <https://saref.etsi.org/saref4watr/example/> .
+
+#################################################################
+#    Individuals
+#################################################################
+
+###  http://www.ontology-of-units-of-measure.org/resource/om-2/colonyFormingUnitPerMillilitre
+om:colonyFormingUnitPerMillilitre rdf:type owl:NamedIndividual ,
+                                           saref:UnitOfMeasure .
+
+
+###  http://www.ontology-of-units-of-measure.org/resource/om-2/microgramPerLitre
+om:microgramPerLitre rdf:type owl:NamedIndividual ,
+                              saref:UnitOfMeasure .
+
+
+###  https://saref.etsi.org/saref4watr/Cadmium
+s4watr:Cadmium rdf:type owl:NamedIndividual ,
+                        s4watr:ChemicalProperty ;
+               saref:relatesToMeasurement ex:DTSMeasurement106 ;
+               rdfs:label "Cadmium"@en .
+
+
+###  https://saref.etsi.org/saref4watr/EscherichiaColi
+s4watr:EscherichiaColi rdf:type owl:NamedIndividual ,
+                                s4watr:BacterialProperty ;
+                       saref:relatesToMeasurement ex:DTSMeasurement107 ;
+                       rdfs:label "E. coli"@en ,
+                                  "Escherichia coli"@en .
+
+
+###  https://saref.etsi.org/saref4watr/example/DTSMeasurement106
+ex:DTSMeasurement106 rdf:type owl:NamedIndividual ,
+                              saref:Measurement ;
+                     saref:isMeasuredIn om:microgramPerLitre ;
+                     saref:relatesToProperty s4watr:Cadmium ;
+                     saref:hasTimestamp "2020-02-06T21:01:10"^^xsd:dateTime ;
+                     saref:hasValue "0.005"^^xsd:float .
+
+
+###  https://saref.etsi.org/saref4watr/example/DTSMeasurement107
+ex:DTSMeasurement107 rdf:type owl:NamedIndividual ,
+                              saref:Measurement ;
+                     saref:isMeasuredIn om:colonyFormingUnitPerMillilitre ;
+                     saref:relatesToProperty s4watr:EscherichiaColi ;
+                     saref:hasTimestamp "2020-02-06T21:01:30"^^xsd:dateTime ;
+                     saref:hasValue "0.42"^^xsd:float .
+
+
+###  https://saref.etsi.org/saref4watr/example/DTSample335632
+ex:DTSample335632 rdf:type owl:NamedIndividual ,
+                           s4watr:Water ;
+                  saref:hasMeasurement ex:DTSMeasurement106 ,
+                                       ex:DTSMeasurement107 .
diff --git a/examples/Water meter example.ttl b/examples/Water meter example.ttl
new file mode 100644
index 0000000..5ee6a86
--- /dev/null
+++ b/examples/Water meter example.ttl	
@@ -0,0 +1,71 @@
+@prefix : <https://saref.etsi.org/saref4watr/example/> .
+@prefix ex: <https://saref.etsi.org/saref4watr/example/> .
+@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
+@prefix sf: <http://www.opengis.net/ont/sf#> .
+@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 geosp: <http://www.opengis.net/ont/geosparql#> .
+@prefix saref: <https://saref.etsi.org/core/> .
+@prefix s4watr: <https://saref.etsi.org/saref4watr/> .
+@base <https://saref.etsi.org/saref4watr/example/> .
+
+#################################################################
+#    Datatypes
+#################################################################
+
+###  http://www.opengis.net/ont/geosparql#wktLiteral
+geosp:wktLiteral rdf:type rdfs:Datatype .
+
+
+#################################################################
+#    Data properties
+#################################################################
+
+###  http://www.opengis.net/ont/geosparql#asWKT
+geosp:asWKT rdf:type owl:DatatypeProperty .
+
+
+#################################################################
+#    Individuals
+#################################################################
+
+###  http://saref.etsi.org/saref4watr/example/Meter4837QW123
+ex:Meter4837QW123 rdf:type s4watr:WaterMeter ;
+                  geosp:hasGeometry ex:MeterGeom ;
+                  saref:hasMeasurement ex:WMMeasurement200206 ;
+                  saref:hasProperty s4watr:BatteryRemainingTime ;
+                  saref:hasManufacturer "Turion" ;
+                  saref:hasModel "Meterall" ;
+                  s4watr:hasFabricationNumber "4837QW" ;
+                  s4watr:hasFirmwareVersion "123.7" ;
+                  s4watr:hasHardwareVersion "23.5b" ;
+                  s4watr:hasVersion "1.2" ;
+                  s4watr:operatesAtRadioFrequency "2.4 GHz" ;
+                  s4watr:requiresPower "24 volts" .
+
+
+###  http://saref.etsi.org/saref4watr/example/MeterGeom
+ex:MeterGeom rdf:type sf:Point ;
+             geosp:asWKT "POINT (-3.705346 40.417351)"^^geosp:wktLiteral .
+
+
+###  http://saref.etsi.org/saref4watr/example/WMMeasurement200206
+ex:WMMeasurement200206 rdf:type saref:Measurement ;
+                       saref:isMeasuredIn om:month ;
+                       saref:isMeasurementOf ex:Meter4837QW123 ;
+                       saref:relatesToProperty s4watr:BatteryRemainingTime ;
+                       saref:hasTimestamp "2020-02-06T15:44:12"^^xsd:dateTime ;
+                       saref:hasValue "27.0"^^xsd:float .
+
+
+###  http://www.ontology-of-units-of-measure.org/resource/om-2/month
+om:month rdf:type saref:UnitOfMeasure .
+
+
+###  https://saref.etsi.org/saref4watr#BatteryRemainingTime
+s4watr:BatteryRemainingTime rdf:type s4watr:WaterMeterProperty ;
+                            saref:isPropertyOf ex:Meter4837QW123 ;
+                            saref:relatesToMeasurement ex:WMMeasurement200206 ;
+                            rdfs:label "Battery remaining time"@en .
-- 
GitLab