From 5a5e233bba06218c692a7d055aee789d85301905 Mon Sep 17 00:00:00 2001 From: Maxime Date: Fri, 31 May 2024 13:11:33 +0200 Subject: [PATCH 1/2] clean up syntax --- ontology/saref4envi.ttl | 90 ++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 60 deletions(-) diff --git a/ontology/saref4envi.ttl b/ontology/saref4envi.ttl index 7da0858..7086de0 100644 --- a/ontology/saref4envi.ttl +++ b/ontology/saref4envi.ttl @@ -13,26 +13,26 @@ @base . rdf:type owl:Ontology ; - owl:versionIRI ; - 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 ; - dcterms:title "SAREF extension for environment"@en ; - dcterms:issued "2024-10-31"^^xsd:date ; - dcterms:modified "2024-03-06"^^xsd:date ; - dcterms:creator ; - dcterms:creator ; - dcterms:contributor ; - dcterms:license ; - vann:preferredNamespacePrefix "s4envi" ; - vann:preferredNamespaceUri "https://saref.etsi.org/saref4envi/" ; - rdfs:comment """Information about changes compared to version 1.1.2: - - 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 ; # should be v4.1.1 in the future. - dcterms:source ; - rdfs:seeAlso ; - owl:versionInfo "v2.1.1" . + owl:versionIRI ; + 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 ; + dcterms:title "SAREF extension for environment"@en ; + dcterms:issued "2024-10-31"^^xsd:date ; + dcterms:modified "2024-03-06"^^xsd:date ; + dcterms:creator ; + dcterms:creator ; + dcterms:contributor ; + dcterms:license ; + vann:preferredNamespacePrefix "s4envi" ; + vann:preferredNamespaceUri "https://saref.etsi.org/saref4envi/" ; + rdfs:comment """Information about changes compared to version 1.1.2: +- 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 ; # should be v4.1.1 in the future. +dcterms:source ; +rdfs:seeAlso ; + owl:versionInfo "v2.1.1" . ################################################################# # Annotation properties @@ -41,32 +41,12 @@ dcterms:issued rdf:type owl:AnnotationProperty . dcterms:modified rdf:type owl:AnnotationProperty . dcterms:source rdf:type owl:AnnotationProperty . - -### http://purl.org/dc/elements/1.1/description dcterms:description rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/elements/1.1/publisher dcterms:publisher rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/elements/1.1/title dcterms:title rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/creator dcterms:creator rdf:type owl:AnnotationProperty . - - -### http://purl.org/dc/terms/license dcterms:license rdf:type owl:AnnotationProperty . - - -### http://purl.org/vocab/vann/preferredNamespacePrefix vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty . - - -### http://purl.org/vocab/vann/preferredNamespaceUri vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . @@ -90,8 +70,7 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/hasDigitalRepresentation -:hasDigitalRepresentation rdf:type owl:ObjectProperty , - owl:InverseFunctionalProperty ; +:hasDigitalRepresentation rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; rdfs:comment "A relation between a physical object and the digital representation in which it is encapsulated."@en ; rdfs:label "has digital representation"@en . @@ -121,15 +100,13 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/isAccesibleThrough -:isAccesibleThrough rdf:type owl:ObjectProperty , - owl:FunctionalProperty ; +:isAccesibleThrough rdf:type owl:ObjectProperty , owl:FunctionalProperty ; rdfs:comment "The relation between a digital representation and the service which it is accesible through."@en ; rdfs:label "is accesible through"@en . ### https://saref.etsi.org/saref4envi/isComponentOf -:isComponentOf rdf:type owl:ObjectProperty , - owl:TransitiveProperty ; +:isComponentOf rdf:type owl:ObjectProperty , owl:TransitiveProperty ; rdfs:comment "A relation between a system and the system it belongs to as a component."@en ; rdfs:label "is component of"@en . @@ -170,16 +147,14 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/hasFlash -:hasFlash rdf:type owl:DatatypeProperty , - owl:FunctionalProperty ; +:hasFlash rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; rdfs:range xsd:boolean ; rdfs:comment "A relationship stating whether a light has flash."@en ; rdfs:label "has flash"@en . ### https://saref.etsi.org/saref4envi/hasProjectionAngle -:hasProjectionAngle rdf:type owl:DatatypeProperty , - owl:FunctionalProperty ; +:hasProjectionAngle rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; rdfs:range xsd:float ; rdfs:comment "A relationship defining the projection angle of an entity (e.g., a light)."@en ; rdfs:label "has projection angle"@en . @@ -193,8 +168,7 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/hasShield -:hasShield rdf:type owl:DatatypeProperty , - owl:FunctionalProperty ; +:hasShield rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; rdfs:range xsd:boolean ; rdfs:comment "A relationship stating whether a lamppost has a shield."@en ; rdfs:label "has shield"@en . @@ -208,8 +182,7 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/hasVersion -:hasVersion rdf:type owl:DatatypeProperty , - owl:FunctionalProperty ; +:hasVersion rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; rdfs:range xsd:string ; rdfs:comment "A relationship defining the version of a certain entity (e.g., a device)"@en ; rdfs:label "has version"@en . @@ -457,15 +430,13 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/Frequency -:Frequency rdf:type owl:NamedIndividual , - saref:Property ; +:Frequency rdf:type owl:NamedIndividual , saref:Property ; rdfs:comment "An individual representing the property frequency."@en ; rdfs:label "Frequency"@en . ### https://saref.etsi.org/saref4envi/Height -:Height rdf:type owl:NamedIndividual , - saref:Property ; +:Height rdf:type owl:NamedIndividual , saref:Property ; rdfs:comment "An individual representing the property height."@en ; rdfs:label "Height"@en . @@ -506,8 +477,7 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/Period -:Period rdf:type owl:NamedIndividual , - saref:Property ; +:Period rdf:type owl:NamedIndividual , saref:Property ; rdfs:comment "An individual representing the property period."@en ; rdfs:label "Period"@en . -- GitLab From 050fe518aec130bed971944d36f6b9cd7b336576 Mon Sep 17 00:00:00 2001 From: Maxime Date: Fri, 31 May 2024 13:11:40 +0200 Subject: [PATCH 2/2] clean up syntax --- ontology/saref4envi.ttl | 702 ++++++++++++++++++---------------------- 1 file changed, 321 insertions(+), 381 deletions(-) diff --git a/ontology/saref4envi.ttl b/ontology/saref4envi.ttl index 7086de0..1d9d269 100644 --- a/ontology/saref4envi.ttl +++ b/ontology/saref4envi.ttl @@ -12,7 +12,7 @@ @prefix geo: . @base . - rdf:type owl:Ontology ; + a owl:Ontology ; owl:versionIRI ; 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 ; @@ -38,16 +38,16 @@ rdfs:seeAlso