Commit fa0319eb authored by Ivan Spajic's avatar Ivan Spajic
Browse files

Added an example of a temperature sensor making a measurement.

parent 2984aaa6
Loading
Loading
Loading
Loading
Loading
+52 −0
Original line number Original line Diff line number Diff line
@prefix : <http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example/> .

<http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example> rdf:type owl:Ontology ;
                                                                            owl:versionIRI <http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example/1.0.0> ;
                                                                            owl:imports <https://saref.etsi.org/saref4mari/v1.1.1/> .


# Represents a sensor on a mooring rig off-shore from Austevoll, Norway.
###  http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example#Austevoll_Temperature_Sensor_1063
:Austevoll_Temperature_Sensor_1063 rdf:type owl:NamedIndividual ,
                                            <https://saref.etsi.org/core/Sensor> ,
                                            [ rdf:type owl:Restriction ;
                                              owl:onProperty <https://saref.etsi.org/core/madeExecution> ;
                                              owl:hasValue :Temperature_Measurement_20241128
                                            ] .


# Represents an observation made by the Austevoll sensor at a specific time.
###  http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example#Temperature_Measurement_20241128
:Temperature_Measurement_20241128 rdf:type owl:NamedIndividual ,
                                           <https://saref.etsi.org/core/Observation> ,
                                           [ rdf:type owl:Restriction ;
                                             owl:onProperty <https://saref.etsi.org/core/hasResult> ;
                                             owl:hasValue :Water_Temperature_20241128
                                           ] ,
                                           [ rdf:type owl:Restriction ;
                                             owl:onProperty <https://saref.etsi.org/core/hasResultTime> ;
                                             owl:hasValue "2024-11-28T12:00:00Z"^^xsd:dateTime
                                           ] .

# Represents a specific observation result as part of the observation made by the Austevoll sensor.
# This result indicates a specific value and a specific unit it is measured in.
###  http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example#Water_Temperature_20241128
:Water_Temperature_20241128 rdf:type owl:NamedIndividual ,
                                     [ rdf:type owl:Class ;
                                       owl:oneOf ( <https://saref.etsi.org/saref4mari/WaterTemperature>
                                                 )
                                     ] ,
                                     [ rdf:type owl:Restriction ;
                                       owl:onProperty <https://saref.etsi.org/core/isMeasuredIn> ;
                                       owl:hasValue <http://qudt.org/vocab/quantitykind/CelsiusTemperature>
                                     ] ,
                                     [ rdf:type owl:Restriction ;
                                       owl:onProperty <https://saref.etsi.org/core/hasValue> ;
                                       owl:hasValue "3.455"^^xsd:double
                                     ] .
 No newline at end of file