From a984d5fd9f892a4e8f04b6e46019abb70eeed61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Wed, 5 Jun 2024 16:32:14 +0200 Subject: [PATCH 01/11] Import SAREF core. Closes #10 --- ontology/saref4inma.ttl | 98 +++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 57 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index c3ccb35..bc6ac3c 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -5,31 +5,33 @@ @prefix xsd: . @prefix rdfs: . @prefix vann: . +@prefix saref: . @prefix s4inma: . @base . rdf:type owl:Ontology ; - ; - "2019-04-30"^^xsd:date ; - "2024-06-03"^^xsd:date; - ; - vann:preferredNamespacePrefix "s4inma" ; - ; - rdfs:seeAlso ; - ; - ; - ; + owl:versionIRI ; + owl:imports ; + , + ; + "2015-03-29"^^xsd:date ; + , + , + , + ; "SAREF4INMA is an extension of SAREF for the industry and manufacturing domain. SAREF4INMA focuses on extending SAREF for the industry and manufacturing domain to solve the lack of interoperability between various types of production equipment that produce items in a factory and, once outside the factory, between different organizations in the value chain to uniquely track back the produced items to the corresponding production equipment, batches, material and precise time in which they were manufactured. SAREF4INMA is specified and published by ETSI in the TS 103 410-5 associated to this ontology file. SAREF4INMA was created to be aligned with related initiatives in the smart industry and manufacturing domain in terms of modelling and standardization, such as the Reference Architecture Model for Industry 4.0 (RAMI), which combines several standards used by the various national initiatives in Europe that support digitalization in manufacturing. The full list of use cases, standards and requirements that guided the creation of SAREF4INMA are described in the associated ETSI TR 103 507. " ; - ; + ; + "2019-04-30"^^xsd:date , + "2024-06-03"^^xsd:date ; + ; + ; "SAREF4INMA: an extension of SAREF for the industry and manufacturing domain"@en ; + vann:preferredNamespacePrefix "s4inma" ; vann:preferredNamespaceUri "https://saref.etsi.org/saref4inma/" ; - ; - ; - "2015-03-29"^^xsd:date; - owl:versionIRI ; + rdfs:seeAlso ; owl:priorVersion ; owl:versionInfo "v2.1.1" . - + ################################################################# # Annotation properties ################################################################# @@ -95,27 +97,19 @@ owl:versionIRI rdf:type owl:AnnotationProperty . ################################################################# ### https://saref.etsi.org/core/hasFunction - rdf:type owl:ObjectProperty ; - rdfs:comment "A relationship identifying the function of a device" ; - rdfs:label "has function"@en . +saref:hasFunction rdf:type owl:ObjectProperty . ### https://saref.etsi.org/core/hasState - rdf:type owl:ObjectProperty ; - rdfs:comment "A relationship for identifying the state of a production equipment" ; - rdfs:label "has state"@en . +saref:hasState rdf:type owl:ObjectProperty . ### https://saref.etsi.org/core/makesMeasurement - rdf:type owl:ObjectProperty ; - rdfs:comment "A relation between a device and the measurements it makes. Such measurement will link together the value of the measurement, its unit of measure and the property to which it relates." ; - rdfs:label "makes measurement"@en . +saref:makesMeasurement rdf:type owl:ObjectProperty . ### https://saref.etsi.org/core/measuresProperty - rdf:type owl:ObjectProperty ; - rdfs:comment "A relationship specifying the property that can be measured by a certain device" ; - rdfs:label "measures property"@en . +saref:measuresProperty rdf:type owl:ObjectProperty . ### https://saref.etsi.org/saref4inma/belongsToCategory @@ -350,37 +344,27 @@ s4inma:hasVersion rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/core/Device - rdf:type owl:Class ; - rdfs:comment "A tangible object designed to accomplish a particular task. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs a start and stop function." ; - rdfs:label "Device"@en . +saref:Device rdf:type owl:Class . ### https://saref.etsi.org/core/FeatureOfInterest - rdf:type owl:Class ; - rdfs:comment "A feature of interest represents any real world entity from which a property is measured." ; - rdfs:label "Feature of interest"@en . +saref:FeatureOfInterest rdf:type owl:Class . ### https://saref.etsi.org/core/Function - rdf:type owl:Class ; - rdfs:comment "The functionality necessary to accomplish the task for which a device is designed. A device can be designed to perform more than one function. Functions can be structured in categories (subclasses) that reflect different points of view, for example, considering the specific application area for which a function can be used (e.g., light, temperature, motion, heat, power, etc.), or the capability that a function can support (e.g., receive, reply, notify, etc.), and so forth." ; - rdfs:label "Function"@en . +saref:Function rdf:type owl:Class . ### https://saref.etsi.org/core/Measurement - rdf:type owl:Class ; - rdfs:comment "Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement." ; - rdfs:label "Measurement"@en . +saref:Measurement rdf:type owl:Class . ### https://saref.etsi.org/core/Property - rdf:type owl:Class ; - rdfs:comment "An aspect of an entity that can be observable by a sensor." ; - rdfs:label "Property"@en . +saref:Property rdf:type owl:Class . ### https://saref.etsi.org/core/State - rdf:type owl:Class . +saref:State rdf:type owl:Class . ### https://saref.etsi.org/saref4bldg/Building @@ -419,7 +403,7 @@ s4inma:Area rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/Batch s4inma:Batch rdf:type owl:Class ; rdfs:subClassOf owl:Thing , - , + saref:FeatureOfInterest , [ rdf:type owl:Restriction ; owl:onProperty s4inma:consistsOfBatch ; owl:allValuesFrom s4inma:Batch @@ -507,7 +491,7 @@ s4inma:IRDI rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/Item s4inma:Item rdf:type owl:Class ; - rdfs:subClassOf , + rdfs:subClassOf saref:FeatureOfInterest , [ rdf:type owl:Restriction ; owl:onProperty s4inma:hasIdentifier ; owl:someValuesFrom s4inma:ID @@ -624,7 +608,7 @@ s4inma:MaterialCategory rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/Measurement s4inma:Measurement rdf:type owl:Class ; - rdfs:subClassOf , + rdfs:subClassOf saref:Measurement , [ rdf:type owl:Restriction ; owl:onProperty s4inma:hasFeatureOfInterest ; owl:allValuesFrom [ rdf:type owl:Class ; @@ -639,23 +623,23 @@ s4inma:Measurement rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/ProductionEquipment s4inma:ProductionEquipment rdf:type owl:Class ; - rdfs:subClassOf , + rdfs:subClassOf saref:Device , , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty saref:hasFunction ; owl:allValuesFrom s4inma:ProductionEquipmentFunction ] , [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:allValuesFrom + owl:onProperty saref:hasState ; + owl:allValuesFrom saref:State ] , [ rdf:type owl:Restriction ; - owl:onProperty ; + owl:onProperty saref:makesMeasurement ; owl:allValuesFrom s4inma:Measurement ] , [ rdf:type owl:Restriction ; - owl:onProperty ; - owl:allValuesFrom + owl:onProperty saref:measuresProperty ; + owl:allValuesFrom saref:Property ] , [ rdf:type owl:Restriction ; owl:onProperty s4inma:belongsToCategory ; @@ -691,7 +675,7 @@ s4inma:ProductionEquipmentCategory rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/ProductionEquipmentFunction s4inma:ProductionEquipmentFunction rdf:type owl:Class ; rdfs:subClassOf owl:Thing , - ; + saref:Function ; rdfs:comment "Functionallity neccessary to accomplish the task for which a production equipment is designed." ; rdfs:label "Production equipment function"@en . @@ -705,7 +689,7 @@ s4inma:Site rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/Size s4inma:Size rdf:type owl:Class ; - rdfs:subClassOf ; + rdfs:subClassOf saref:Property ; rdfs:comment "The amount of certain objects in a collection (e.g., size of a material batch)." ; rdfs:label "Size"@en . @@ -736,4 +720,4 @@ s4inma:WorkCenter rdf:type owl:Class ; ] . -### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi +### Generated by the OWL API (version 4.5.26.2023-07-17T20:34:13Z) https://github.com/owlcs/owlapi -- GitLab From eb6b436a48cf70c0c20d6876b8c863a1f52c8946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Wed, 5 Jun 2024 16:45:43 +0200 Subject: [PATCH 02/11] Removed s4inma:isFeatureOfInterestOf and s4inma:hasFeatureOfInterest and --- ontology/saref4inma.ttl | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index bc6ac3c..396dc8b 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -138,13 +138,6 @@ s4inma:creates rdf:type owl:ObjectProperty ; rdfs:label "creates"@en . -### https://saref.etsi.org/saref4inma/hasFeatureOfInterest -s4inma:hasFeatureOfInterest rdf:type owl:ObjectProperty ; - owl:inverseOf s4inma:isFeatureOfInterestOf ; - rdfs:comment "Relationship between a feature of interest and equipment" ; - rdfs:label "has feature of interest"@en . - - ### https://saref.etsi.org/saref4inma/hasGTIN12ID s4inma:hasGTIN12ID rdf:type owl:ObjectProperty ; rdfs:subPropertyOf s4inma:hasIdentifier ; @@ -224,12 +217,6 @@ s4inma:isCreatedIn rdf:type owl:ObjectProperty ; rdfs:label "is created in"@en . -### https://saref.etsi.org/saref4inma/isFeatureOfInterestOf -s4inma:isFeatureOfInterestOf rdf:type owl:ObjectProperty ; - rdfs:comment "Relationship between a feature of interest and equipment" ; - rdfs:label "is feature of interest of"@en . - - ### https://saref.etsi.org/saref4inma/isProducedBy s4inma:isProducedBy rdf:type owl:ObjectProperty ; owl:inverseOf s4inma:produces ; @@ -412,10 +399,6 @@ s4inma:Batch rdf:type owl:Class ; owl:onProperty s4inma:hasIdentifier ; owl:allValuesFrom s4inma:ID ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4inma:isFeatureOfInterestOf ; - owl:allValuesFrom s4inma:Measurement - ] , [ rdf:type owl:Restriction ; owl:onProperty s4inma:needsEquipment ; owl:allValuesFrom s4inma:ProductionEquipment @@ -508,10 +491,6 @@ s4inma:Item rdf:type owl:Class ; owl:onProperty s4inma:isCreatedIn ; owl:allValuesFrom s4inma:ItemBatch ] , - [ rdf:type owl:Restriction ; - owl:onProperty s4inma:isFeatureOfInterestOf ; - owl:allValuesFrom s4inma:Measurement - ] , [ rdf:type owl:Restriction ; owl:onProperty s4inma:isCreatedIn ; owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; @@ -608,15 +587,7 @@ s4inma:MaterialCategory rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/Measurement s4inma:Measurement rdf:type owl:Class ; - rdfs:subClassOf saref:Measurement , - [ rdf:type owl:Restriction ; - owl:onProperty s4inma:hasFeatureOfInterest ; - owl:allValuesFrom [ rdf:type owl:Class ; - owl:unionOf ( s4inma:Batch - s4inma:Item - ) - ] - ] ; + rdfs:subClassOf saref:Measurement ; rdfs:comment "A subclass of saref:Measurement that represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement. The saref4imna:Measurement can be linked to individual Batches or Items. Moreover, the Measurement can be an ExpectedMeasurement (i.e. the value which is planned) or the ActualMeasurement (i.e. the value measured during production), which enables to check for deviations between the planned and actual values." ; rdfs:label "Measurement"@en . -- GitLab From d66a3f5daebad4dc7efb990681fbd092007850f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Thu, 6 Jun 2024 15:41:18 +0200 Subject: [PATCH 03/11] Do not use deprecated terms. Replaced saref:Measurement with saref:Observation, saref:makesMeasurement with saref:madeExecution and saref:measuresProperty with saref:observes and removed s4inma:Measurement. Closes #5 --- ontology/saref4inma.ttl | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index 396dc8b..d0e3ca3 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -11,7 +11,6 @@ rdf:type owl:Ontology ; owl:versionIRI ; - owl:imports ; , ; "2015-03-29"^^xsd:date ; @@ -92,6 +91,14 @@ owl:maxQualifiedCardinality rdf:type owl:AnnotationProperty . owl:versionIRI rdf:type owl:AnnotationProperty . +################################################################# +# Datatypes +################################################################# + +### http://www.w3.org/2001/XMLSchema#date +xsd:date rdf:type rdfs:Datatype . + + ################################################################# # Object Properties ################################################################# @@ -104,12 +111,12 @@ saref:hasFunction rdf:type owl:ObjectProperty . saref:hasState rdf:type owl:ObjectProperty . -### https://saref.etsi.org/core/makesMeasurement -saref:makesMeasurement rdf:type owl:ObjectProperty . +### https://saref.etsi.org/core/madeExecution +saref:madeExecution rdf:type owl:ObjectProperty . -### https://saref.etsi.org/core/measuresProperty -saref:measuresProperty rdf:type owl:ObjectProperty . +### https://saref.etsi.org/core/observes +saref:observes rdf:type owl:ObjectProperty . ### https://saref.etsi.org/saref4inma/belongsToCategory @@ -342,8 +349,8 @@ saref:FeatureOfInterest rdf:type owl:Class . saref:Function rdf:type owl:Class . -### https://saref.etsi.org/core/Measurement -saref:Measurement rdf:type owl:Class . +### https://saref.etsi.org/core/Observation +saref:Observation rdf:type owl:Class . ### https://saref.etsi.org/core/Property @@ -374,7 +381,7 @@ saref:State rdf:type owl:Class . ### https://saref.etsi.org/saref4inma/ActualMeasurement s4inma:ActualMeasurement rdf:type owl:Class ; - rdfs:subClassOf s4inma:Measurement ; + rdfs:subClassOf saref:Observation ; owl:disjointWith s4inma:ExpectedMeasurement ; rdfs:comment "Describes whether the measurement is actually measured during the production process. Disjoint with ExpectedMeasurement." ; rdfs:label "Actual measurement"@en . @@ -414,7 +421,7 @@ s4inma:Batch rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/ExpectedMeasurement s4inma:ExpectedMeasurement rdf:type owl:Class ; - rdfs:subClassOf s4inma:Measurement ; + rdfs:subClassOf saref:Observation ; rdfs:comment "Describes whether the measurement is expected (i.e., planned before the production process). Disjoint with ActualMeasurement." ; rdfs:label "Expected measurement"@en . @@ -585,13 +592,6 @@ s4inma:MaterialCategory rdf:type owl:Class ; rdfs:label "Material category"@en . -### https://saref.etsi.org/saref4inma/Measurement -s4inma:Measurement rdf:type owl:Class ; - rdfs:subClassOf saref:Measurement ; - rdfs:comment "A subclass of saref:Measurement that represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement. The saref4imna:Measurement can be linked to individual Batches or Items. Moreover, the Measurement can be an ExpectedMeasurement (i.e. the value which is planned) or the ActualMeasurement (i.e. the value measured during production), which enables to check for deviations between the planned and actual values." ; - rdfs:label "Measurement"@en . - - ### https://saref.etsi.org/saref4inma/ProductionEquipment s4inma:ProductionEquipment rdf:type owl:Class ; rdfs:subClassOf saref:Device , @@ -605,11 +605,11 @@ s4inma:ProductionEquipment rdf:type owl:Class ; owl:allValuesFrom saref:State ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:makesMeasurement ; - owl:allValuesFrom s4inma:Measurement + owl:onProperty saref:madeExecution ; + owl:allValuesFrom saref:Observation ] , [ rdf:type owl:Restriction ; - owl:onProperty saref:measuresProperty ; + owl:onProperty saref:observes ; owl:allValuesFrom saref:Property ] , [ rdf:type owl:Restriction ; -- GitLab From 2a63b6e5507bf7f2690be96c70fff33fa8c0379a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Thu, 6 Jun 2024 15:45:08 +0200 Subject: [PATCH 04/11] importing again SAREF. Closes #6 --- ontology/saref4inma.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index d0e3ca3..2d1e13e 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -11,6 +11,7 @@ rdf:type owl:Ontology ; owl:versionIRI ; + owl:imports ; , ; "2015-03-29"^^xsd:date ; -- GitLab From 0f1f79ed669343e5ad134d745fa9003fc4039f24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Sun, 16 Jun 2024 19:54:59 +0200 Subject: [PATCH 05/11] remove core declarations --- ontology/saref4inma.ttl | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index 2d1e13e..9adf608 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -104,21 +104,6 @@ xsd:date rdf:type rdfs:Datatype . # Object Properties ################################################################# -### https://saref.etsi.org/core/hasFunction -saref:hasFunction rdf:type owl:ObjectProperty . - - -### https://saref.etsi.org/core/hasState -saref:hasState rdf:type owl:ObjectProperty . - - -### https://saref.etsi.org/core/madeExecution -saref:madeExecution rdf:type owl:ObjectProperty . - - -### https://saref.etsi.org/core/observes -saref:observes rdf:type owl:ObjectProperty . - ### https://saref.etsi.org/saref4inma/belongsToCategory s4inma:belongsToCategory rdf:type owl:ObjectProperty ; @@ -338,30 +323,6 @@ s4inma:hasVersion rdf:type owl:DatatypeProperty ; rdfs:label "Concept Scheme"@en . -### https://saref.etsi.org/core/Device -saref:Device rdf:type owl:Class . - - -### https://saref.etsi.org/core/FeatureOfInterest -saref:FeatureOfInterest rdf:type owl:Class . - - -### https://saref.etsi.org/core/Function -saref:Function rdf:type owl:Class . - - -### https://saref.etsi.org/core/Observation -saref:Observation rdf:type owl:Class . - - -### https://saref.etsi.org/core/Property -saref:Property rdf:type owl:Class . - - -### https://saref.etsi.org/core/State -saref:State rdf:type owl:Class . - - ### https://saref.etsi.org/saref4bldg/Building rdf:type owl:Class ; rdfs:comment "A building represents a structure that provides shelter for its occupants or contents and stands in one place. The building is also used to provide a basic element within the spatial structure hierarchy for the components of a building project (together with site, storey, and space)." ; -- GitLab From a24edb15b54adc5fe15bb4484f0a4821cec4885c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Sun, 16 Jun 2024 20:39:58 +0200 Subject: [PATCH 06/11] do not reuse s4bldg:PhysicalObject closes #15 --- ontology/saref4inma.ttl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index 9adf608..40381b1 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -5,6 +5,7 @@ @prefix xsd: . @prefix rdfs: . @prefix vann: . +@prefix geo: . @prefix saref: . @prefix s4inma: . @base . @@ -317,6 +318,13 @@ s4inma:hasVersion rdf:type owl:DatatypeProperty ; # Classes ################################################################# + +geo:SpatialObject a owl:Class ; + rdfs:comment "The class spatial-object represents everything that can have a spatial representation. It is superclass of feature and geometry."@en ; + rdfs:isDefinedBy ; + rdfs:label "SpatialObject"@en . + + ### http://www.w3.org/2004/02/skos/core#ConceptScheme rdf:type owl:Class ; rdfs:comment "SKOS concept scheme can be viewed as an aggregation of one or more SKOS concepts." ; @@ -335,12 +343,6 @@ s4inma:hasVersion rdf:type owl:DatatypeProperty ; rdfs:label "Building space"@en . -### https://saref.etsi.org/saref4bldg/PhysicalObject - rdf:type owl:Class ; - rdfs:comment "Any Object that has a proper space region. (Definition extracted from DUL ontology)" ; - rdfs:label "Physical object"@en . - - ### https://saref.etsi.org/saref4inma/ActualMeasurement s4inma:ActualMeasurement rdf:type owl:Class ; rdfs:subClassOf saref:Observation ; @@ -556,8 +558,7 @@ s4inma:MaterialCategory rdf:type owl:Class ; ### https://saref.etsi.org/saref4inma/ProductionEquipment s4inma:ProductionEquipment rdf:type owl:Class ; - rdfs:subClassOf saref:Device , - , + rdfs:subClassOf saref:Device , geo:SpatialObject , [ rdf:type owl:Restriction ; owl:onProperty saref:hasFunction ; owl:allValuesFrom s4inma:ProductionEquipmentFunction -- GitLab From c61c24c7f715c61a0c074365eab01211021f0294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Sun, 16 Jun 2024 20:48:48 +0200 Subject: [PATCH 07/11] s4inma:ActualMeasurement and s4inma:ExpectedMeasurement. Closes #16 --- ontology/saref4inma.ttl | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index 40381b1..a413b93 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -343,14 +343,6 @@ geo:SpatialObject a owl:Class ; rdfs:label "Building space"@en . -### https://saref.etsi.org/saref4inma/ActualMeasurement -s4inma:ActualMeasurement rdf:type owl:Class ; - rdfs:subClassOf saref:Observation ; - owl:disjointWith s4inma:ExpectedMeasurement ; - rdfs:comment "Describes whether the measurement is actually measured during the production process. Disjoint with ExpectedMeasurement." ; - rdfs:label "Actual measurement"@en . - - ### https://saref.etsi.org/saref4inma/Area s4inma:Area rdf:type owl:Class ; rdfs:subClassOf ; @@ -383,13 +375,6 @@ s4inma:Batch rdf:type owl:Class ; rdfs:label "Batch"@en . -### https://saref.etsi.org/saref4inma/ExpectedMeasurement -s4inma:ExpectedMeasurement rdf:type owl:Class ; - rdfs:subClassOf saref:Observation ; - rdfs:comment "Describes whether the measurement is expected (i.e., planned before the production process). Disjoint with ActualMeasurement." ; - rdfs:label "Expected measurement"@en . - - ### https://saref.etsi.org/saref4inma/Factory s4inma:Factory rdf:type owl:Class ; rdfs:subClassOf ; -- GitLab From f82171a7ed38d149f386dbee2b8733e565461ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Sun, 16 Jun 2024 20:56:15 +0200 Subject: [PATCH 08/11] Remove s4inma:consistsOfBatch and s4inma:consistsOfItem and replace their use with saref:consistsOf. Closes #12 --- ontology/saref4inma.ttl | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index a413b93..68ebae4 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -113,18 +113,6 @@ s4inma:belongsToCategory rdf:type owl:ObjectProperty ; rdfs:label "belongs to category"@en . -### https://saref.etsi.org/saref4inma/consistsOfBatch -s4inma:consistsOfBatch rdf:type owl:ObjectProperty ; - rdfs:comment "A relation to express that a batch can recursively consists of other batches" ; - rdfs:label "consists of batch"@en . - - -### https://saref.etsi.org/saref4inma/consistsOfItem -s4inma:consistsOfItem rdf:type owl:ObjectProperty ; - rdfs:comment "A relation to express that an item can recursively consists of other Items" ; - rdfs:label "consists of item"@en . - - ### https://saref.etsi.org/saref4inma/creates s4inma:creates rdf:type owl:ObjectProperty ; owl:inverseOf s4inma:isCreatedIn ; @@ -355,7 +343,7 @@ s4inma:Batch rdf:type owl:Class ; rdfs:subClassOf owl:Thing , saref:FeatureOfInterest , [ rdf:type owl:Restriction ; - owl:onProperty s4inma:consistsOfBatch ; + owl:onProperty saref:consistsOf ; owl:allValuesFrom s4inma:Batch ] , [ rdf:type owl:Restriction ; @@ -436,7 +424,7 @@ s4inma:Item rdf:type owl:Class ; owl:someValuesFrom s4inma:ID ] , [ rdf:type owl:Restriction ; - owl:onProperty s4inma:consistsOfItem ; + owl:onProperty saref:consistsOf ; owl:allValuesFrom s4inma:Item ] , [ rdf:type owl:Restriction ; -- GitLab From c985ea0429a76dc48797b1a7616b42b416e3ae9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Mon, 17 Jun 2024 09:04:39 +0200 Subject: [PATCH 09/11] Removed s4inma:hasVersion and replaced by saref:hasVersion. Closes #11 --- ontology/saref4inma.ttl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index 68ebae4..7c963d4 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -296,12 +296,6 @@ s4inma:hasUUIDValue rdf:type owl:DatatypeProperty ; rdfs:label "has UUID value"@en . -### https://saref.etsi.org/saref4inma/hasVersion -s4inma:hasVersion rdf:type owl:DatatypeProperty ; - rdfs:comment "An item has a certain revision or version number, whereas a higher number indicates a newer version." ; - rdfs:label "has version"@en . - - ################################################################# # Classes ################################################################# @@ -496,7 +490,7 @@ s4inma:ItemCategory rdf:type owl:Class ; owl:onDataRange xsd:string ] , [ rdf:type owl:Restriction ; - owl:onProperty s4inma:hasVersion ; + owl:onProperty saref:hasVersion ; owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; owl:onDataRange xsd:string ] ; -- GitLab From e9eb41b6c72cc66fc7633bdbe3960461c8775788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Mon, 17 Jun 2024 09:59:58 +0200 Subject: [PATCH 10/11] added range for s4inma:needsEquipment . Closes #9 --- ontology/saref4inma.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index 7c963d4..99137df 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -208,6 +208,7 @@ s4inma:isProducedBy rdf:type owl:ObjectProperty ; ### https://saref.etsi.org/saref4inma/needsEquipment s4inma:needsEquipment rdf:type owl:ObjectProperty ; + rdfs:range s4inma:ProductionEquipment ; rdfs:comment "A relationship indicating that an entity needs a particular equipment to be produced" ; rdfs:label "needs equipment"@en . -- GitLab From 86c3b5e8218613f1e1cc5e344735c6fd18e77f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=CC=81a?= Date: Mon, 17 Jun 2024 10:32:10 +0200 Subject: [PATCH 11/11] removed "Generated by the OWL API" comment. --- ontology/saref4inma.ttl | 2 -- 1 file changed, 2 deletions(-) diff --git a/ontology/saref4inma.ttl b/ontology/saref4inma.ttl index 99137df..ab45a87 100644 --- a/ontology/saref4inma.ttl +++ b/ontology/saref4inma.ttl @@ -621,5 +621,3 @@ s4inma:WorkCenter rdf:type owl:Class ; ) ] . - -### Generated by the OWL API (version 4.5.26.2023-07-17T20:34:13Z) https://github.com/owlcs/owlapi -- GitLab