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

Fixed issues with the example file.

parent 41ee661b
Loading
Loading
Loading
Loading
Loading
+26 −10
Changes for examples/s4mari-sensor-example.ttl: 26 added lines, 10 removed lines.
Original line number Diff line number Diff line
@prefix : <http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix ex: <https://saref.etsi.org/saref4mari/v1.1.1/example/s4mari-sensor-example/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@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 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/> .
@prefix s4mari: <https://saref.etsi.org/saref4mari/> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@base <https://saref.etsi.org/saref4mari/> .

<http://www.semanticweb.org/ispa/ontologies/2024/10/s4mari-sensor-example> rdf:type owl:Ontology ;
<https://saref.etsi.org/saref4mari/v1.1.1/example/s4mari-sensor-example#> a dctype:Dataset ;
                                                             dcterms:license <https://forge.etsi.org/etsi-software-license> ;
                                                             dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/> ;
                                                             dcterms:conformsTo <https://saref.etsi.org/saref4mari/v1.1.1/> ;
                                                             dcterms:title "SAREF4MARI sensor example."@en ;
                                                             dcterms:description "SAREF4MARI sensor example."@en ;
                                                             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 ,
ex: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
                                              owl:hasValue ex: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 ,
ex: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
                                             owl:hasValue ex:Water_Temperature_20241128
                                           ] ,
                                           [ rdf:type owl:Restriction ;
                                             owl:onProperty <https://saref.etsi.org/core/hasResultTime> ;
@@ -37,7 +53,7 @@
# 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 ,
ex:Water_Temperature_20241128 rdf:type owl:NamedIndividual ,
                                     [ rdf:type owl:Class ;
                                       owl:oneOf ( <https://saref.etsi.org/saref4mari/WaterTemperature>
                                                 )