From 4f5429e0df82b575d743fe01219d262dfaa4459d Mon Sep 17 00:00:00 2001 From: Maxime Date: Fri, 31 May 2024 12:35:52 +0200 Subject: [PATCH 1/3] closes #18: delete :contains --- ontology/saref4envi.ttl | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/ontology/saref4envi.ttl b/ontology/saref4envi.ttl index cefc47f..ac5452f 100644 --- a/ontology/saref4envi.ttl +++ b/ontology/saref4envi.ttl @@ -75,13 +75,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ################################################################# -### https://saref.etsi.org/saref4envi/contains -:contains rdf:type owl:ObjectProperty ; - owl:inverseOf :isContainedIn ; - rdfs:comment "A relation between a physical object and the physical objects that can be contained in it."@en ; - rdfs:label "contains"@en . - - ### https://saref.etsi.org/saref4envi/encapsulates :encapsulates rdf:type owl:ObjectProperty ; owl:inverseOf :hasDigitalRepresentation ; @@ -156,12 +149,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . rdfs:label "is connected to"@en . -### https://saref.etsi.org/saref4envi/isContainedIn -:isContainedIn rdf:type owl:ObjectProperty ; - rdfs:comment "A relation between a physical object and the physical object in which it might be contained."@en ; - rdfs:label "is contained in"@en . - - ### https://saref.etsi.org/saref4envi/isProjectedFromHeight :isProjectedFromHeight rdf:type owl:ObjectProperty ; rdfs:comment "A relation between a light and the height measurement from which it is projected."@en ; @@ -300,10 +287,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . owl:onProperty :hasTransmissionPeriod ; owl:allValuesFrom :PeriodMeasurement ] , - [ rdf:type owl:Restriction ; - owl:onProperty :isContainedIn ; - owl:allValuesFrom :PhysicalObject - ] , [ rdf:type owl:Restriction ; owl:onProperty saref:hasManufacturer ; owl:allValuesFrom xsd:string @@ -526,18 +509,10 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . owl:onProperty geo:location ; owl:allValuesFrom geo:SpatialThing ] , - [ rdf:type owl:Restriction ; - owl:onProperty :contains ; - owl:allValuesFrom :PhysicalObject - ] , [ rdf:type owl:Restriction ; owl:onProperty :hasDigitalRepresentation ; owl:allValuesFrom :DigitalRepresentation ] , - [ rdf:type owl:Restriction ; - owl:onProperty :isContainedIn ; - owl:allValuesFrom :PhysicalObject - ] , [ rdf:type owl:Restriction ; owl:onProperty saref:hasDescription ; owl:allValuesFrom xsd:string -- GitLab From dd28fb0785163e3c3fa27796b50e52a967c79e2b Mon Sep 17 00:00:00 2001 From: Maxime Date: Fri, 31 May 2024 12:38:47 +0200 Subject: [PATCH 2/3] closes #16: Delete entities related to physical objects --- ontology/saref4envi.ttl | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/ontology/saref4envi.ttl b/ontology/saref4envi.ttl index ac5452f..e220a50 100644 --- a/ontology/saref4envi.ttl +++ b/ontology/saref4envi.ttl @@ -317,7 +317,7 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . :DigitalRepresentation rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:onProperty :encapsulates ; - owl:allValuesFrom :PhysicalObject + owl:allValuesFrom [ a owl:Class ; owl:intersectionOf ( saref:FeatureOfInterest geo:Feature ) ] ] , [ rdf:type owl:Restriction ; owl:onProperty :isAccesibleThrough ; @@ -502,28 +502,9 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . rdfs:label "Photometer"@en . -### https://saref.etsi.org/saref4envi/PhysicalObject -:PhysicalObject rdf:type owl:Class ; - rdfs:subClassOf geo:SpatialThing , - [ rdf:type owl:Restriction ; - owl:onProperty geo:location ; - owl:allValuesFrom geo:SpatialThing - ] , - [ rdf:type owl:Restriction ; - owl:onProperty :hasDigitalRepresentation ; - owl:allValuesFrom :DigitalRepresentation - ] , - [ rdf:type owl:Restriction ; - owl:onProperty saref:hasDescription ; - owl:allValuesFrom xsd:string - ] ; - rdfs:comment "Any Object that has a proper space region. (Definition extracted from DUL ontology)"@en ; - rdfs:label "Physical object"@en . - - ### https://saref.etsi.org/saref4envi/System :System rdf:type owl:Class ; - rdfs:subClassOf :PhysicalObject , + rdfs:subClassOf saref:FeatureOfInterest , geo:Feature , [ rdf:type owl:Restriction ; owl:onProperty :hasComponent ; owl:allValuesFrom :System -- GitLab From 01fa76f55cb776204b913e6438b16d96e59940f0 Mon Sep 17 00:00:00 2001 From: Maxime Date: Fri, 31 May 2024 12:46:27 +0200 Subject: [PATCH 3/3] addresse partially #10: delete hasComponent and isConnectedTo --- ontology/saref4envi.ttl | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/ontology/saref4envi.ttl b/ontology/saref4envi.ttl index e220a50..ac958b9 100644 --- a/ontology/saref4envi.ttl +++ b/ontology/saref4envi.ttl @@ -89,14 +89,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . rdfs:label "has color"@en . -### https://saref.etsi.org/saref4envi/hasComponent -:hasComponent rdf:type owl:ObjectProperty ; - owl:inverseOf :isComponentOf ; - rdf:type owl:TransitiveProperty ; - rdfs:comment "A relation between a system and the system in which it might be decomposed."@en ; - rdfs:label "has component"@en . - - ### https://saref.etsi.org/saref4envi/hasDigitalRepresentation :hasDigitalRepresentation rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; @@ -142,13 +134,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . rdfs:label "is component of"@en . -### https://saref.etsi.org/saref4envi/isConnectedTo -:isConnectedTo rdf:type owl:ObjectProperty , - owl:SymmetricProperty ; - rdfs:comment "A relation between a system and the system to which it is connected."@en ; - rdfs:label "is connected to"@en . - - ### https://saref.etsi.org/saref4envi/isProjectedFromHeight :isProjectedFromHeight rdf:type owl:ObjectProperty ; rdfs:comment "A relation between a light and the height measurement from which it is projected."@en ; @@ -505,18 +490,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4envi/System :System rdf:type owl:Class ; rdfs:subClassOf saref:FeatureOfInterest , geo:Feature , - [ rdf:type owl:Restriction ; - owl:onProperty :hasComponent ; - owl:allValuesFrom :System - ] , - [ rdf:type owl:Restriction ; - owl:onProperty :isComponentOf ; - owl:allValuesFrom :System - ] , - [ rdf:type owl:Restriction ; - owl:onProperty :isConnectedTo ; - owl:allValuesFrom :System - ] , [ rdf:type owl:Restriction ; owl:onProperty :usesCommunicationInterface ; owl:allValuesFrom :CommunicationInterface -- GitLab