From 1ae2c8a1a159b8759c8fa9bb36f6131bfb2d1408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Garc=C3=ADa=20Castro?= Date: Thu, 25 Apr 2024 16:07:27 +0200 Subject: [PATCH 1/2] Imported SAREF and removed the declarations of its terms. --- ontology/saref4grid.ttl | 126 +--------------------------------------- 1 file changed, 2 insertions(+), 124 deletions(-) diff --git a/ontology/saref4grid.ttl b/ontology/saref4grid.ttl index 0fc44fa..af8ae7c 100644 --- a/ontology/saref4grid.ttl +++ b/ontology/saref4grid.ttl @@ -27,7 +27,8 @@ dcterms:modified "2023-11-22"^^xsd:date ; vann:preferredNamespacePrefix "s4grid" ; vann:preferredNamespaceUri "https://saref.etsi.org/saref4grid/" ; - rdfs:comment "The development of the SAREF4GRID ontology has been partially funded by the IA4TES project (MIA.2021.M04.0008), funded by the Spanish Ministry of Economic Affairs and Digital Transformation and by the NextGenerationEU program" . + rdfs:comment "The development of the SAREF4GRID ontology has been partially funded by the IA4TES project (MIA.2021.M04.0008), funded by the Spanish Ministry of Economic Affairs and Digital Transformation and by the NextGenerationEU program" ; + owl:imports . ################################################################# @@ -131,78 +132,6 @@ oneM2M:hasService a owl:ObjectProperty ; rdfs:isDefinedBy ; rdfs:label "has service"@en . -saref:controlsProperty a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "control property"@en . - -saref:hasFunction a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "has function"@en . - -saref:hasMeasurement a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "has measurement"@en . - -saref:hasProperty a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "has property"@en . - -saref:hasState a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "has state"@en . - -saref:isControlledByDevice a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is controlled by device"@en . - -saref:isMeasuredByDevice a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is measured by device"@en . - -saref:isMeasuredIn a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is measured in"@en . - -saref:isMeasurementOf a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is measurement of"@en . - -saref:isOfferedBy a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is offered by"@en . - -saref:isPropertyOf a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "is property of"@en . - -saref:makesMeasurement a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "makes measurement"@en . - -saref:measurementMadeBy a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "measurement made by"@en . - -saref:measuresProperty a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "measures property"@en . - -saref:offers a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "offers"@en . - -saref:relatesToMeasurement a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "relates to measurement"@en . - -saref:relatesToProperty a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "relates to property"@en . - -saref:represents a owl:ObjectProperty ; - rdfs:isDefinedBy ; - rdfs:label "represents"@en . - s4grid:executesScript a owl:ObjectProperty ; rdfs:comment "[COSEM] Defines the script to be executed"@en ; rdfs:label "executes script"@en ; @@ -362,18 +291,9 @@ s4grid:storesScript a owl:ObjectProperty ; rdfs:domain s4grid:ScriptTable ; rdfs:range s4grid:Script . - ################################################################# # Data properties ################################################################# -saref:hasTimestamp a owl:DatatypeProperty ; - rdfs:isDefinedBy ; - rdfs:label "has timestamp"@en ; - rdfs:range xsd:dateTime . - -saref:hasValue a owl:DatatypeProperty ; - rdfs:isDefinedBy ; - rdfs:label "has value"@en . s4grid:obtainFromEntry a owl:DatatypeProperty ; rdfs:comment "It defines the first entry to be retrieved from a profile generic"@en ; @@ -651,48 +571,6 @@ oneM2M:Service a owl:Class ; rdfs:label "Service"@en ; owl:equivalentClass saref:Service . -saref:Device a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Device"@en . - -saref:FeatureOfInterest a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Feature Of Interest"@en . - -saref:Function a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Function"@en . - -saref:Measurement a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Measurement"@en . - -saref:Meter a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Meter"@en ; - rdfs:subClassOf saref:Sensor . - -saref:Property a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Property"@en . - -saref:Sensor a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Sensor"@en ; - rdfs:subClassOf saref:Device . - -saref:Service a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Service"@en . - -saref:State a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "State"@en . - -saref:UnitOfMeasure a owl:Class ; - rdfs:isDefinedBy ; - rdfs:label "Unit Of Measure"@en . - s4grid:ActionOperation a owl:Class ; rdfs:comment "This class is the means of an action service to communicate in a procedure-type manner over the network (i.e. transmit data to/from other devices). It is the –machine interpretable- exposure of a –human understandable- Command to a network"@en ; rdfs:label "Action Operation"@en ; -- GitLab From 1dc659125f087413320d6b57a2ca7a95278183b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Garc=C3=ADa=20Castro?= Date: Mon, 10 Jun 2024 16:07:59 +0200 Subject: [PATCH 2/2] Updated SAREF version in import. --- ontology/saref4grid.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ontology/saref4grid.ttl b/ontology/saref4grid.ttl index af8ae7c..e05bce4 100644 --- a/ontology/saref4grid.ttl +++ b/ontology/saref4grid.ttl @@ -28,7 +28,7 @@ vann:preferredNamespacePrefix "s4grid" ; vann:preferredNamespaceUri "https://saref.etsi.org/saref4grid/" ; rdfs:comment "The development of the SAREF4GRID ontology has been partially funded by the IA4TES project (MIA.2021.M04.0008), funded by the Spanish Ministry of Economic Affairs and Digital Transformation and by the NextGenerationEU program" ; - owl:imports . + owl:imports . ################################################################# -- GitLab