Unverified Commit 45a4a356 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

solve errors identified by pipeline

parent 36bee0e1
Loading
Loading
Loading
Loading
+17 −15
Original line number Diff line number Diff line
@@ -10,9 +10,11 @@
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix wurvoc: <http://www.wurvoc.org/vocabularies/om-1.8/> .
@prefix geo: <http://www.opengis.net/ont/geosparql#>.

@base <https://saref.etsi.org/saref4envi/v1.1.2/example/example1ENVI/> .

<https://saref.etsi.org/saref4envi/v1.1.2/example/example1ENVI#> a dctype:Dataset ;
<https://saref.etsi.org/saref4envi/v2.1.1/example/example1ENVI#> a dctype:Dataset ;
  dcterms:creator <http://purl.org/net/mpoveda> ,
                  <http://www.garcia-castro.com/foaf.rdf#me> ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
@@ -26,6 +28,7 @@
#################################################################

<PowerConsumption> a saref:Property .
geo:hasCentroid a owl:DatatypeProperty .

#################################################################
#    Units of Measure
@@ -45,15 +48,15 @@ wurvoc:watt a saref:UnitOfMeasure .
#################################################################

<Bluetoothv2-1> a s4envi:CommunicationInterface ;
  s4envi:hasVersion "v2.1" ;
  saref:hasVersion "v2.1" ;
  rdfs:label "Bluetooth v2.1"@en .

<RS232v24> a s4envi:CommunicationInterface ;
  s4envi:hasVersion "v24" ;
  saref:hasVersion "v24" ;
  rdfs:label "RS232 v24"@en .

<Wi-Fiv802-11ah> a s4envi:CommunicationInterface ;
  s4envi:hasVersion "802.11ah" ;
  saref:hasVersion "802.11ah" ;
  rdfs:label "Wi-Fi v802.11ah"@en .

<MQTT-Broker> a s4envi:CommunicationProtocol ;
@@ -69,20 +72,20 @@ wurvoc:watt a saref:UnitOfMeasure .
  rdfs:label "stars5" ;
  rdfs:label "TESS photometer stars5"@en ;
  saref:hasManufacturer "Universidad Complutense de Madrid" ;
  s4envi:hasVersion "v1" ;
  saref:hasVersion "v1" ;
  saref:hasDeviceKind s4envi:TESS ;
  saref:hasPropertyValue [
      saref:isValueOfProperty s4envi:ObservationFrequency
      saref:isValueOfProperty s4envi:ObservationFrequency ;
      saref:hasValue 10.0 ;
      saref:isMeasuredIn wurvoc:reciprocal_second-time ;
    ] ,
    [
      saref:isValueOfProperty s4envi:TransmissionPeriod
      saref:isValueOfProperty s4envi:TransmissionPeriod ;
      saref:hasValue 30.0 ;
      saref:isMeasuredIn time:unitSecond ;
    ] ,
    [
      saref:isValueOfProperty <PowerConsumption>
      saref:isValueOfProperty <PowerConsumption> ;
      saref:hasValue 20.0 ;
      saref:isMeasuredIn wurvoc:watt ;
    ] ;
@@ -91,25 +94,24 @@ wurvoc:watt a saref:UnitOfMeasure .
  s4envi:usesCommunicationProtocol <MQTT-Broker> ;
  geo:hasCentroid "POINT( -3.7261 40.451 )"^^geo:wktLiteral .


#################################################################
#    The Observations
#################################################################

<Observation2016-10-05T08:15:30TESS005-UCM> a saref:Observation ;
  rdfs:label "Observation 2016-10-05T08:15:30 TESS005-UCM"@en
<Observation2016-10-05T08%3A15%3A30TESS005-UCM> a saref:Observation ;
  rdfs:label "Observation 2016-10-05T08:15:30 TESS005-UCM"@en ;
  saref:observes s4envi:LightMagnitude ;
  saref:hasTimestamp "2016-10-05T08:15:30"^^xsd:dateTime ;
  saref:hasResult [ 
    saref:isValueForProperty s4envi:LightMagnitude ;
    saref:isValueOfProperty s4envi:LightMagnitude ;
    saref:hasValue 0.1 ;
    saref:isMeasuredIn <mgPerarcsec2> ] .

<Observation2016-10-05T08:15:40TESS005-UCM> a saref:Observation ;
  rdfs:label "Observation 2016-10-05T08:15:40 TESS005-UCM"@en
<Observation2016-10-05T08%3A15%3A40TESS005-UCM> a saref:Observation ;
  rdfs:label "Observation 2016-10-05T08:15:40 TESS005-UCM"@en ;
  saref:observes s4envi:LightMagnitude ;
  saref:hasTimestamp "2016-10-05T08:15:40"^^xsd:dateTime ;
  saref:hasResult [ 
    saref:isValueForProperty s4envi:LightMagnitude ;
    saref:isValueOfProperty s4envi:LightMagnitude ;
    saref:hasValue 0.8 ;
    saref:isMeasuredIn <mgPerarcsec2> ] .
+28 −24
Original line number Diff line number Diff line
@@ -20,12 +20,14 @@
  owl:versionIRI <https://saref.etsi.org/saref4envi/v2.1.1/> ;
  dcterms:description "This ontology extends the SAREF ontology for the environment domain, specifically for the light pollution domain, including concepts like photometers, light, etc."@en ;
  dcterms:publisher <https://www.etsi.org/> ;
  dcterms:title "SAREF extension for environment"@en ;
  dcterms:title "SAREF4ENVI: an extension of SAREF for the Environment domain"@en ;
  dcterms:issued "2024-10-31"^^xsd:date ;
  dcterms:modified "2024-03-06"^^xsd:date ;
  dcterms:modified "2025-04-11"^^xsd:date ;
  dcterms:creator <http://purl.org/net/mpoveda> ;
  dcterms:creator <http://www.garcia-castro.com/foaf.rdf#me> ;
  dcterms:contributor <http://maxime-lefrancois.info/me#> ;
  dcterms:creator <http://maxime-lefrancois.info/me#> ;
  dcterms:creator <https://www.linkedin.com/in/helen-mair-rawsthorne> ;
  dcterms:license <https://forge.etsi.org/etsi-software-license> ;
  vann:preferredNamespacePrefix "s4envi" ;
  vann:preferredNamespaceUri "https://saref.etsi.org/saref4envi/" ;
@@ -33,8 +35,9 @@
- See https://saref.etsi.org/sources/saref4envi/-/milestones/1"""@en ;
  rdfs:comment """Information about changes compared to version 1.1.1: 
- Updated namespaces for compatibility with SAREF v3."""@en ;
  owl:imports <https://saref.etsi.org/core/v3.2.1/> , <https://saref.etsi.org/saref4syst/v1.1.2> ; # should be v4.1.1 in the future.
  owl:imports <https://saref.etsi.org/core/v4.1.1/> , <https://saref.etsi.org/saref4syst/v1.1.2/> ;
  dcterms:source <https://saref.etsi.org/sources/saref4envi/> ;
  owl:priorVersion <https://saref.etsi.org/saref4envi/v1.1.2/> ;
  rdfs:seeAlso <https://www.etsi.org/deliver/etsi_ts/103400_103499/10341002/02.01.01_60/ts_10341002v020101p.pdf> ;
  owl:versionInfo "v2.1.1" .

@@ -93,7 +96,7 @@ geo:Geometry rdf:type owl:Class .

:isAccessibleThrough a owl:ObjectProperty , owl:FunctionalProperty ;
  rdfs:domain :DigitalRepresentation ;
  rdfs:range [ a owl:Class ; owl:unionOf ( saref:Service saref:ServiceOfInterest ) ] ;
  rdfs:range saref:Service ;
  rdfs:comment "The relation between a digital representation and the service which it is accessible through."@en ;
  rdfs:label "is accessible through"@en .

@@ -218,7 +221,7 @@ geo:Geometry rdf:type owl:Class .

###* Light

:Light a saref:FeatureKind ;
:Light a owl:Class, saref:FeatureKind ;
  saref:hasProperty :Color , :Geometry , :LightProjectionHeight , :LightProjectionDirection ;
  rdfs:comment "A light source, which may be a lantern, a street light, a floodlight, a signal lamp or any other device whose primary purpose is the generation of light. (Definition taken from http://wiki.openstreetmap.org/wiki/Proposed_features/Key:light_source#Description)"@en ;
  rdfs:label "Light"@en .
@@ -244,7 +247,7 @@ geo:Geometry rdf:type owl:Class .

###* Light Point

:LightPoint a saref:FeatureKind ;
:LightPoint a owl:Class, saref:FeatureKind ;
  :projectsLight :Light ;
  saref:hasProperty :LightProjectionDirection , :LightProjectionHeight ;
  rdfs:comment "An spatial point from where a light is projected. It might belong to a lamppost."@en ;
@@ -253,7 +256,7 @@ geo:Geometry rdf:type owl:Class .

:LightPoint owl:equivalentClass [ owl:unionOf ( 
    [ a owl:Class ; owl:oneOf ( :LightPoint ) ] # itself
    [ a owl:Class ; owl:onProperty saref:broader ; owl:hasValue :LightPoint ] # narrower kinds
    [ a owl:Class ; owl:onProperty skos:broader ; owl:hasValue :LightPoint ] # narrower kinds
    [ a owl:Class ; owl:onProperty saref:hasFeatureKind ; owl:hasValue :LightPoint ] # things of this kind 
  ) ] .

@@ -270,7 +273,7 @@ geo:Geometry rdf:type owl:Class .
  rdfs:subClassOf saref:Device ;
  owl:equivalentClass [ owl:unionOf ( 
    [ a owl:Class ; owl:oneOf ( :Lamppost ) ] # itself
    [ a owl:Class ; owl:onProperty saref:broader ; owl:hasValue :Lamppost ] # narrower kinds
    [ a owl:Class ; owl:onProperty skos:broader ; owl:hasValue :Lamppost ] # narrower kinds
    [ a owl:Class ; owl:onProperty saref:hasFeatureKind ; owl:hasValue :Lamppost ] # things of this kind 
  ) ] .

@@ -279,9 +282,10 @@ geo:Geometry rdf:type owl:Class .
  rdfs:comment "A lampost with a shield."@en ;
  rdfs:label "Lamppost"@en .

:ShieldedLamppost owl:equivalentClass [ owl:unionOf ( 
:ShieldedLamppost a owl:Class ;
  owl:equivalentClass [ owl:unionOf ( 
    [ a owl:Class ; owl:oneOf ( :ShieldedLamppost ) ] # itself
    [ a owl:Class ; owl:onProperty saref:broader ; owl:hasValue :ShieldedLamppost ] # narrower kinds
    [ a owl:Class ; owl:onProperty skos:broader ; owl:hasValue :ShieldedLamppost ] # narrower kinds
    [ a owl:Class ; owl:onProperty saref:hasFeatureKind ; owl:hasValue :ShieldedLamppost ] # things of this kind 
  ) ] .

@@ -306,12 +310,12 @@ geo:Geometry rdf:type owl:Class .

###*  Photometer and TESS

:Photometer a saref:SensorKind ;
:Photometer a saref:DeviceKind ;
  saref:observes :Illuminance , :Irradiance , :LightAbsorption , :ScatteringOfLight , :ReflectionOfLight , :Fluorescence , :Phosphorescence , :LightMagnitude , :Luminescence , :Color ;
  rdfs:comment "A photometer, generally, is an instrument that measures light intensity or optical properties of solutions or surfaces."@en ;
  rdfs:label "Photometer"@en .

:TESS a saref:SensorKind ;
:TESS a saref:DeviceKind ;
  skos:broader :Photometer ;
  rdfs:comment "The Telescope Encoder and Sky Sensor (TESS) is a Sky Brightness and Cloud detector developed as a device for a remote observatory. A TESS can observe the light magnitude and other properties as ambient temperature and sky temperature."@en ;
  rdfs:label "TESS (Telescope Encoder and Sky Sensor)"@en .
@@ -440,8 +444,7 @@ s4envi:Perimeter rdf:type owl:Class ;
                                 saref:FeatureOfInterest ,
                                 [ rdf:type owl:Restriction ;
                                   owl:onProperty saref:consistsOf ;
                                   owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                   owl:onClass s4envi:WasteProducer
                                   owl:someValuesFrom s4envi:WasteProducer
                                 ] ;
                 rdfs:comment "Spatial extent considered as containing (1) the attributee or attributees of a container, or (2) the generator or generators of a waste flux."@en ;
                 rdfs:label "Perimeter"@en .
@@ -533,7 +536,8 @@ s4envi:BiodegradableWaste rdf:type owl:NamedIndividual ,
                                   s4envi:WasteKind ;
                          skos:narrower s4envi:FoodWaste ,
                                        s4envi:GardenParkWaste ;
                          rdfs:label "Biodegradable waste"@en .
                          rdfs:label "Biodegradable waste"@en ;
                          rdfs:comment "Biodegradable waste is organic material that can be broken down naturally by microorganisms into harmless substances like water, carbon dioxide, and compost."@en .

s4envi:ConcreteConstructionWaste rdf:type owl:NamedIndividual ,
                                          s4envi:WasteKind ;
@@ -754,8 +758,7 @@ s4envi:RoadSegment rdf:type owl:Class ;
                                   saref:FeatureOfInterest ,
                                   [ rdf:type owl:Restriction ;
                                     owl:onProperty geo:sfContains ;
                                     owl:qualifiedCardinality "2"^^xsd:nonNegativeInteger ;
                                     owl:onClass [ rdf:type owl:Class ;
                                     owl:someValuesFrom [ rdf:type owl:Class ;
                                                          owl:unionOf ( s4envi:CollectionPoint
                                                                        s4envi:Depot
                                                                        s4envi:WasteProcessingSite
@@ -980,7 +983,8 @@ s4envi:Sorter rdf:type owl:Class ;

s4envi:VermicompostBin rdf:type owl:Class ;
                       rdfs:subClassOf s4envi:Composter ;
                       rdfs:comment "Device that performs the task of composting via vermicomposting." .
                       rdfs:label "Vermicompost bin"@en ;
                       rdfs:comment "Device that performs the task of composting via vermicomposting."@en .

s4envi:AirEmissionKind rdf:type owl:Class ;
                       rdfs:subClassOf s4envi:EmissionKind ;