From 077beb6dc94f720e6bac7fc40550a2902e9e4ec9 Mon Sep 17 00:00:00 2001 From: Oguzhan Balandi Date: Thu, 4 Jan 2024 12:55:40 +0100 Subject: [PATCH 1/3] Function asset description and SPARQL Blueprint --- .../asset_function_description.ttl | 181 ++++++++++++++++++ .../asset_function_query.rq | 46 +++++ 2 files changed, 227 insertions(+) create mode 100644 asset_content_description/asset_function_description.ttl create mode 100644 asset_content_description/asset_function_query.rq diff --git a/asset_content_description/asset_function_description.ttl b/asset_content_description/asset_function_description.ttl new file mode 100644 index 0000000..d1e9243 --- /dev/null +++ b/asset_content_description/asset_function_description.ttl @@ -0,0 +1,181 @@ +############################################################################# +# Copyright (c) 2022,2023 Contributors to Catena-X +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +############################################################################# +# An example of dataspace asset definitions for developing polymorphic, +# navigating skills +############################################################################# + +@prefix dash: . +@prefix rdf: . +@prefix rdfs: . +@prefix schema: . +@prefix sh: . +@prefix xsd: . +@prefix edc: . +@prefix cx-common: . +@prefix cx-core: . +@prefix cx-vehicle: . +@prefix cx-fx: . +@prefix cx-behaviour: . +@prefix cx-reliability: . +@prefix cx-sh: . +@prefix cx-taxo: . +@prefix asset_a: . +@prefix asset_b: . +@prefix asset_c: . + + +# The Shapes graph of Asset 'A' +asset_a:asset_a a cx-common:GraphAsset; + edc:description "Function Asset Implementing Prognosis Functions (RemainingUsefulLife & HealthIndication)"^^xsd:string; + cx-sh:shapeObject asset_a:PrognosisFunctionShape, asset_a:RemainingUsefulLifeShape, asset_a:HealthIndicationShape. + +# Prognosis Function +asset_a:PrognosisFunctionShape a sh:NodeShape ; + sh:targetClass cx-behaviour:PrognosisFunction; + sh:property[ + cx-sh:hasAsArgument cx-reliability:observationOf; + sh:path cx-behaviour:observationType; + sh:in ( cx-taxo:GearSet cx-taxo:GearOil cx-taxo:Clutch ); + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:countingMethod; + sh:path cx-behaviour:countingMethod; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:countingValue; + sh:path cx-behaviour:countingValue; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:countingUnit; + sh:path cx-behaviour:countingUnit; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:channels; + sh:path cx-behaviour:headerChannels; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:classes; + sh:path cx-behaviour:bodyClasses; + ]. + + +asset_a:RemainingUsefulLifeShape a sh:NodeShape ; + cx-sh:extensionOf asset_a:PrognosisFunctionShape; + sh:targetClass cx-behaviour:RemainingUsefulLife ; + sh:property asset_a:RemainingUsefulLifeResultSahpe. + +asset_a:RemainingUsefulLifeResult a sh:PropertyShape; + cx-sh:outputOf asset_a:RemainingUsefulLifeShape; + sh:path cx-behaviour:RemainingUsefulLifeResult . + + +asset_a:HealthIndicationShape a sh:NodeShape ; + cx-sh:extensionOf asset_a:PrognosisFunctionShape; + sh:targetClass cx-behaviour:HealthIndication ; + sh:property asset_a:HealthIndicationResultShape. + +asset_a:HealthIndicationResultShape a sh:PropertyShape; + cx-sh:outputOf asset_a:HealthIndicationShape; + sh:path cx-behaviour:HealthIndicationResult . + + + +# The Shapes graph of Asset 'B' +asset_b:asset_b a cx-common:GraphAsset; + edc:description "Sample Asset Hosting Load Spectrum of Parts (GearSet Gearoil)"^^xsd:string; + cx-sh:shapeObject asset_b:LoadSpectrumShape. + +asset_b:LoadSpectrumShape a sh:NodeShape ; + sh:targetClass cx-reliability:LoadSpectrum; + sh:property asset_b:observationOfShape, + asset_b:countingValueShape, + asset_b:countingUnitShape, + asset_b:countingMethodShape, + asset_b:channelsShape, + asset_b:classesShape, + asset_b:valuesShape. + +asset_b:observationOfShape a sh:PropertyShape; + sh:path cx-reliability:observationOf; + sh:in (cx-taxo:GearOil cx-taxo:GearSet). + +asset_b:countingValueShape a sh:PropertyShape; + sh:path cx-reliability:countingValue. + +asset_b:countingUnitShape a sh:PropertyShape; + sh:path cx-reliability:countingUnit. + +asset_b:countingMethodShape a sh:PropertyShape; + sh:path cx-reliability:countingMethod. + +asset_b:countingMethodShape a sh:PropertyShape; + sh:path cx-reliability:countingMethod. + +asset_b:channelsShape a sh:PropertyShape; + sh:path cx-reliability:channels. + +asset_b:classesShape a sh:PropertyShape; + sh:path cx-reliability:classes. + +asset_b:valuesShape a sh:PropertyShape; + sh:path cx-reliability:values. + + + +# The Shapes graph of Asset 'C' +asset_c:asset_c a cx-common:GraphAsset; + edc:description "Sample Asset Hosting Load Spectrum of Parts (Clutch)"^^xsd:string; + cx-sh:shapeObject asset_c:LoadSpectrumShape. + +asset_c:LoadSpectrumShape a sh:NodeShape ; + sh:targetClass cx-reliability:LoadSpectrum; + sh:property asset_c:observationOfShape, + asset_c:countingValueShape, + asset_c:countingUnitShape, + asset_c:countingMethodShape, + asset_c:channelsShape, + asset_c:classesShape, + asset_c:valuesShape. + +asset_c:observationOfShape a sh:PropertyShape; + sh:path cx-reliability:observationOf; + sh:in (cx-taxo:Clutch). + +asset_c:countingValueShape a sh:PropertyShape; + sh:path cx-reliability:countingValue. + +asset_c:countingUnitShape a sh:PropertyShape; + sh:path cx-reliability:countingUnit. + +asset_c:countingMethodShape a sh:PropertyShape; + sh:path cx-reliability:countingMethod. + +asset_c:countingMethodShape a sh:PropertyShape; + sh:path cx-reliability:countingMethod. + +asset_c:channelsShape a sh:PropertyShape; + sh:path cx-reliability:channels. + +asset_c:classesShape a sh:PropertyShape; + sh:path cx-reliability:classes. + +asset_c:valuesShape a sh:PropertyShape; + sh:path cx-reliability:values. + + diff --git a/asset_content_description/asset_function_query.rq b/asset_content_description/asset_function_query.rq new file mode 100644 index 0000000..5c939ad --- /dev/null +++ b/asset_content_description/asset_function_query.rq @@ -0,0 +1,46 @@ +PREFIX sh: +PREFIX schema: +PREFIX rdf: +PREFIX rdfs: +PREFIX cx-sh: +PREFIX cx-reliability: +PREFIX cx-schema: +PREFIX cx-behaviour: +PREFIX cx-taxo: + +#This query returns the required assets and arguments for the selected function result and the observed part types. + +select ?assetTarget ?nodeShapeTarget ?propertyShapeTarget where { + + VALUES ?result {cx-behaviour:RemainingUsefulLifeResult} + VALUES ?observationType {cx-taxo:Clutch} + + #source + ?output sh:path ?result. + ?output cx-sh:outputOf ?functionShape. + ?assetFunction cx-sh:shapeObject ?functionShape. + ?functionShape cx-sh:extensionOf+ ?parentFunctionShape. + ?parentFunctionShape sh:property ?functionProperty. + ?functionProperty cx-sh:hasAsArgument ?argument. + + #target + ?assetTarget cx-sh:shapeObject ?nodeShape. + ?nodeShape sh:property ?propertyShape. + ?propertyShape sh:path ?argument. + + #matching + ?functionProperty sh:in ?parameters. + ?parameters rdf:rest*/rdf:first ?observationType. + ?propertyShape sh:in ?parameters_target. + ?parameters_target rdf:rest*/rdf:first ?observationType. + + { + select ?assetTarget ?nodeShapeTarget ?propertyShapeTarget + + where { + ?assetTarget cx-sh:shapeObject ?nodeShapeTarget. + ?nodeShapeTarget sh:property ?propertyShapeTarget. + ?propertyShapeTarget sh:path ?argument. + } + } +} From 31f5009bdeaaf2e9782df46e7114ebedf55eb93d Mon Sep 17 00:00:00 2001 From: Oguzhan Balandi Date: Thu, 4 Jan 2024 17:36:44 +0100 Subject: [PATCH 2/3] Function asset description and SPARQL Blueprint --- .../asset_function_description.ttl | 102 ++++++++---------- .../asset_function_query.rq | 9 +- 2 files changed, 50 insertions(+), 61 deletions(-) diff --git a/asset_content_description/asset_function_description.ttl b/asset_content_description/asset_function_description.ttl index d1e9243..ba4c566 100644 --- a/asset_content_description/asset_function_description.ttl +++ b/asset_content_description/asset_function_description.ttl @@ -42,17 +42,12 @@ # The Shapes graph of Asset 'A' asset_a:asset_a a cx-common:GraphAsset; - edc:description "Function Asset Implementing Prognosis Functions (RemainingUsefulLife & HealthIndication)"^^xsd:string; + edc:description "Function Asset Implementing Prognosis Functions (RemainingUsefulLife)"^^xsd:string; cx-sh:shapeObject asset_a:PrognosisFunctionShape, asset_a:RemainingUsefulLifeShape, asset_a:HealthIndicationShape. # Prognosis Function asset_a:PrognosisFunctionShape a sh:NodeShape ; sh:targetClass cx-behaviour:PrognosisFunction; - sh:property[ - cx-sh:hasAsArgument cx-reliability:observationOf; - sh:path cx-behaviour:observationType; - sh:in ( cx-taxo:GearSet cx-taxo:GearOil cx-taxo:Clutch ); - ]; sh:property[ cx-sh:hasAsArgument cx-reliability:countingMethod; sh:path cx-behaviour:countingMethod; @@ -78,6 +73,11 @@ asset_a:PrognosisFunctionShape a sh:NodeShape ; asset_a:RemainingUsefulLifeShape a sh:NodeShape ; cx-sh:extensionOf asset_a:PrognosisFunctionShape; sh:targetClass cx-behaviour:RemainingUsefulLife ; + sh:property[ + cx-sh:hasAsArgument cx-reliability:observationOf; + sh:path cx-behaviour:observationType; + sh:in ( cx-taxo:GearSet cx-taxo:GearOil ); + ]; sh:property asset_a:RemainingUsefulLifeResultSahpe. asset_a:RemainingUsefulLifeResult a sh:PropertyShape; @@ -85,62 +85,54 @@ asset_a:RemainingUsefulLifeResult a sh:PropertyShape; sh:path cx-behaviour:RemainingUsefulLifeResult . -asset_a:HealthIndicationShape a sh:NodeShape ; - cx-sh:extensionOf asset_a:PrognosisFunctionShape; - sh:targetClass cx-behaviour:HealthIndication ; - sh:property asset_a:HealthIndicationResultShape. - -asset_a:HealthIndicationResultShape a sh:PropertyShape; - cx-sh:outputOf asset_a:HealthIndicationShape; - sh:path cx-behaviour:HealthIndicationResult . - - - # The Shapes graph of Asset 'B' asset_b:asset_b a cx-common:GraphAsset; - edc:description "Sample Asset Hosting Load Spectrum of Parts (GearSet Gearoil)"^^xsd:string; - cx-sh:shapeObject asset_b:LoadSpectrumShape. - -asset_b:LoadSpectrumShape a sh:NodeShape ; - sh:targetClass cx-reliability:LoadSpectrum; - sh:property asset_b:observationOfShape, - asset_b:countingValueShape, - asset_b:countingUnitShape, - asset_b:countingMethodShape, - asset_b:channelsShape, - asset_b:classesShape, - asset_b:valuesShape. - -asset_b:observationOfShape a sh:PropertyShape; - sh:path cx-reliability:observationOf; - sh:in (cx-taxo:GearOil cx-taxo:GearSet). - -asset_b:countingValueShape a sh:PropertyShape; - sh:path cx-reliability:countingValue. - -asset_b:countingUnitShape a sh:PropertyShape; - sh:path cx-reliability:countingUnit. + edc:description "Function Asset Implementing Prognosis Functions (HealthIndication)"^^xsd:string; + cx-sh:shapeObject asset_b:PrognosisFunctionShape, asset_b:RemainingUsefulLifeShape, asset_b:HealthIndicationShape. -asset_b:countingMethodShape a sh:PropertyShape; - sh:path cx-reliability:countingMethod. - -asset_b:countingMethodShape a sh:PropertyShape; - sh:path cx-reliability:countingMethod. - -asset_b:channelsShape a sh:PropertyShape; - sh:path cx-reliability:channels. +# Prognosis Function +asset_b:PrognosisFunctionShape a sh:NodeShape ; + sh:targetClass cx-behaviour:PrognosisFunction; + sh:property[ + cx-sh:hasAsArgument cx-reliability:countingMethod; + sh:path cx-behaviour:countingMethod; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:countingValue; + sh:path cx-behaviour:countingValue; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:countingUnit; + sh:path cx-behaviour:countingUnit; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:channels; + sh:path cx-behaviour:headerChannels; + ]; + sh:property[ + cx-sh:hasAsArgument cx-reliability:classes; + sh:path cx-behaviour:bodyClasses; + ]. -asset_b:classesShape a sh:PropertyShape; - sh:path cx-reliability:classes. +asset_b:HealthIndicationShape a sh:NodeShape ; + cx-sh:extensionOf asset_b:PrognosisFunctionShape; + sh:targetClass cx-behaviour:HealthIndication ; + sh:property[ + cx-sh:hasAsArgument cx-reliability:observationOf; + sh:path cx-behaviour:observationType; + sh:in ( cx-taxo:Clutch ); + ]; + sh:property asset_b:HealthIndicationResultShape. -asset_b:valuesShape a sh:PropertyShape; - sh:path cx-reliability:values. +asset_b:HealthIndicationResultShape a sh:PropertyShape; + cx-sh:outputOf asset_b:HealthIndicationShape; + sh:path cx-behaviour:HealthIndicationResult . # The Shapes graph of Asset 'C' asset_c:asset_c a cx-common:GraphAsset; - edc:description "Sample Asset Hosting Load Spectrum of Parts (Clutch)"^^xsd:string; + edc:description "Sample Asset Hosting Load Spectrum of Parts (GearSet GearOil Clutch)"^^xsd:string; cx-sh:shapeObject asset_c:LoadSpectrumShape. asset_c:LoadSpectrumShape a sh:NodeShape ; @@ -155,7 +147,7 @@ asset_c:LoadSpectrumShape a sh:NodeShape ; asset_c:observationOfShape a sh:PropertyShape; sh:path cx-reliability:observationOf; - sh:in (cx-taxo:Clutch). + sh:in (cx-taxo:GearOil cx-taxo:GearSet cx-taxo:Clutch). asset_c:countingValueShape a sh:PropertyShape; sh:path cx-reliability:countingValue. @@ -176,6 +168,4 @@ asset_c:classesShape a sh:PropertyShape; sh:path cx-reliability:classes. asset_c:valuesShape a sh:PropertyShape; - sh:path cx-reliability:values. - - + sh:path cx-reliability:values. \ No newline at end of file diff --git a/asset_content_description/asset_function_query.rq b/asset_content_description/asset_function_query.rq index 5c939ad..2b406aa 100644 --- a/asset_content_description/asset_function_query.rq +++ b/asset_content_description/asset_function_query.rq @@ -10,16 +10,15 @@ PREFIX cx-taxo: #This query returns the required assets and arguments for the selected function result and the observed part types. -select ?assetTarget ?nodeShapeTarget ?propertyShapeTarget where { +select distinct ?assetTarget ?nodeShapeTarget ?propertyShapeTarget where { VALUES ?result {cx-behaviour:RemainingUsefulLifeResult} - VALUES ?observationType {cx-taxo:Clutch} #source ?output sh:path ?result. ?output cx-sh:outputOf ?functionShape. ?assetFunction cx-sh:shapeObject ?functionShape. - ?functionShape cx-sh:extensionOf+ ?parentFunctionShape. + ?functionShape cx-sh:extensionOf* ?parentFunctionShape. ?parentFunctionShape sh:property ?functionProperty. ?functionProperty cx-sh:hasAsArgument ?argument. @@ -30,9 +29,9 @@ select ?assetTarget ?nodeShapeTarget ?propertyShapeTarget where { #matching ?functionProperty sh:in ?parameters. - ?parameters rdf:rest*/rdf:first ?observationType. + ?parameters rdf:rest*/rdf:first ?value. ?propertyShape sh:in ?parameters_target. - ?parameters_target rdf:rest*/rdf:first ?observationType. + ?parameters_target rdf:rest*/rdf:first ?value. { select ?assetTarget ?nodeShapeTarget ?propertyShapeTarget From 8012ffb4902b656584912251238e9e0d2b90ee11 Mon Sep 17 00:00:00 2001 From: Oguzhan Balandi Date: Tue, 9 Jan 2024 09:10:23 +0100 Subject: [PATCH 3/3] Adaptations in the function & behaviour ontology --- ontology/behaviour_ontology.ttl | 299 +++++++++++++++++++++----------- ontology/function_ontology.ttl | 243 +++++++++++++------------- 2 files changed, 316 insertions(+), 226 deletions(-) diff --git a/ontology/behaviour_ontology.ttl b/ontology/behaviour_ontology.ttl index 7d2ad63..94a271e 100644 --- a/ontology/behaviour_ontology.ttl +++ b/ontology/behaviour_ontology.ttl @@ -41,8 +41,8 @@ dc:contributor "Oguzhan Balandi" ; dc:creator "Christoph Jung" ; dc:date "2023-07-04"^^xsd:date ; - dc:description "Ontology for behaviour predictions." ; - dc:title "Behaviour Ontology" ; + rdfs:comment "Ontology for behaviour predictions." ; + rdfs:label "Behaviour Ontology" ; owl:imports ; owl:imports ; owl:imports ; @@ -50,153 +50,244 @@ owl:imports ; owl:versionInfo "1.9.4" . -cx-behaviour:RemainingUsefulLife rdf:type cx-fx:Function; - dc:description "Remaining Useful Life is a Prediction of the Estimated Mileage/Runtime until a Breakdown."@en ; - dc:title "Remaining Useful Life" ; - cx-fx:input cx-behaviour:notification; - cx-fx:input cx-behaviour:sender; - cx-fx:input cx-behaviour:senderConnector; - cx-fx:input cx-behaviour:recipient; - cx-fx:input cx-behaviour:recipientConnector; - cx-fx:input cx-behaviour:recipient; - cx-fx:input cx-behaviour:recipientConnector; - cx-fx:input cx-behaviour:severity; - cx-fx:input cx-behaviour:status; - cx-fx:input cx-behaviour:targetDate; - cx-fx:input cx-behaviour:timeStamp; - cx-fx:input cx-behaviour:classification; - cx-fx:input cx-behaviour:component; - cx-fx:input cx-behaviour:metadata; - cx-fx:input cx-behaviour:statusDate; - cx-fx:input cx-behaviour:statusOperatingHours; - cx-fx:input cx-behaviour:statusMileage; - cx-fx:input cx-behaviour:countingMethod; - cx-fx:input cx-behaviour:countingValue; - cx-fx:input cx-behaviour:countingUnit; - cx-fx:input cx-behaviour:headerChannels; - cx-fx:input cx-behaviour:bodyClasses; - cx-fx:input cx-behaviour:bodyCountsList; - cx-fx:result cx-behaviour:response. - -cx-behaviour:notification rdf:type cx-fx:Argument; - dc:description "An optional notification output template."@en ; - dc:title "Notification Template"; +cx-behaviour:PrognosisFunction rdfs:subClassOf cx-fx:Function. + +cx-behaviour:HealthIndication rdfs:subClassOf cx-behaviour:PrognosisFunction; + rdfs:comment "Health Indication is an evaluation function operating on batches of load collectives and adaptive values."@en ; + rdfs:label "Health Indication" . + +cx-behaviour:RemainingUsefulLife rdfs:subClassOf cx-behaviour:PrognosisFunction; + rdfs:comment "Remaining Useful Life is a Prediction of the Estimated Mileage/Runtime until a Breakdown."@en ; + rdfs:label "Remaining Useful Life". + +cx-behaviour:prognosisFunctionArgument rdf:type owl:DatatypeProperty; + rdfs:subPropertyOf cx-fx:argument; + rdfs:domain cx-behaviour:PrognosisFunction. + +cx-behaviour:RemainingUsefulLifeArgument rdf:type owl:DatatypeProperty; + rdfs:domain cx-behaviour:RemainingUsefulLife; + rdfs:subPropertyOf cx-behaviour:PrognosisFunctionArgument. + +cx-behaviour:HealthIndicationArgument rdf:type owl:DatatypeProperty; + rdfs:domain cx-behaviour:HealthIndication; + rdfs:subPropertyOf cx-behaviour:PrognosisFunctionArgument. + +cx-behaviour:notification rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment"An optional notification output template."@en ; + rdfs:label "Notification Template"; cx-fx:dataType json:Object. -cx-behaviour:sender rdf:type cx-fx:Argument; - dc:description "Sender of the notification as a BPN."@en ; - dc:title "Notification Sender"; +cx-behaviour:sender rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Sender of the notification as a BPN."@en ; + rdfs:label "Notification Sender"; cx-fx:dataType rdfs:Resource. -cx-behaviour:senderConnector rdf:type cx-fx:Argument; - dc:description "Sender Address of the notification as a URL."@en ; - dc:title "Notification Sender Address"; +cx-behaviour:senderConnector rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Sender Address of the notification as a URL."@en ; + rdfs:label "Notification Sender Address"; cx-fx:dataType rdfs:Resource. -cx-behaviour:recipient rdf:type cx-fx:Argument; - dc:description "Recipient of the notification as a BPN."@en ; - dc:title "Notification Recipient"; +cx-behaviour:recipient rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Recipient of the notification as a BPN."@en ; + rdfs:label "Notification Recipient"; cx-fx:dataType rdfs:Resource. -cx-behaviour:recipientConnector rdf:type cx-fx:Argument; - dc:description "Recipient Address of the notification as a URL."@en ; - dc:title "Notification Recipient Address"; +cx-behaviour:recipientConnector rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Recipient Address of the notification as a URL."@en ; + rdfs:label "Notification Recipient Address"; cx-fx:dataType rdfs:Resource. -cx-behaviour:severity rdf:type cx-fx:Argument; - dc:description "Severity of the notification."@en ; - dc:title "Notification Severity"; +cx-behaviour:severity rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Severity of the notification."@en ; + rdfs:label "Notification Severity"; cx-fx:dataType xsd:string. -cx-behaviour:status rdf:type cx-fx:Argument; - dc:description "Status of the notification."@en ; - dc:title "Notification Status"; +cx-behaviour:status rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Status of the notification."@en ; + rdfs:label "Notification Status"; cx-fx:dataType xsd:string. -cx-behaviour:targetDate rdf:type cx-fx:Argument; - dc:description "Target Date of the notification."@en ; - dc:title "Notification Target Date"; +cx-behaviour:targetDate rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Target Date of the notification."@en ; + rdfs:label "Notification Target Date"; cx-fx:dataType xsd:dateTime. -cx-behaviour:timeStamp rdf:type cx-fx:Argument; - dc:description "Timestamp of the notification."@en ; - dc:title "Notification Timestamp"; +cx-behaviour:timeStamp rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Timestamp of the notification."@en ; + rdfs:label "Notification Timestamp"; cx-fx:dataType xsd:dateTime. -cx-behaviour:classification rdf:type cx-fx:Argument; - dc:description "Classification of the notification."@en ; - dc:title "Notification Classification"; +cx-behaviour:classification rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Classification of the notification."@en ; + rdfs:label "Notification Classification"; cx-fx:dataType xsd:string. -cx-behaviour:component rdf:type cx-fx:Argument; - dc:description "Component of the Predicition."@en ; - dc:title "Predicted Component"; +cx-behaviour:component rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Component of the Predicition."@en ; + rdfs:label "Predicted Component"; cx-fx:dataType cx-vehicle:Part. -cx-behaviour:metadata rdf:type cx-fx:Argument; - dc:description "Additional Metadata of the Loadspectrum."@en ; - dc:title "Loadspectrum Metadata"; +cx-behaviour:metadata rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Additional Metadata of the Loadspectrum."@en ; + rdfs:label "Loadspectrum Metadata"; cx-fx:dataType json:Object. -cx-behaviour:statusDate rdf:type cx-fx:Argument; - dc:description "Time of Recording."@en ; - dc:title "Loadspectrum Recording Time"; +cx-behaviour:statusDate rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Time of Recording."@en ; + rdfs:label "Loadspectrum Recording Time"; cx-fx:dataType xsd:dateTime. -cx-behaviour:statusOperatingHours rdf:type cx-fx:Argument; - dc:description "Operating Hours of Target Component at Time of Recording."@en ; - dc:title "Loadspectrum Operating Hours"; +cx-behaviour:statusOperatingHours rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Operating Hours of Target Component at Time of Recording."@en ; + rdfs:label "Loadspectrum Operating Hours"; cx-fx:dataType xsd:float. -cx-behaviour:statusMileage rdf:type cx-fx:Argument; - dc:description "Mileage of Component at Time of Recording."@en ; - dc:title "Loadspectrum Mileage"; +cx-behaviour:statusMileage rdfs:subPropertyOf cx-behaviour:RemainingUsefulLifeArgument; + rdfs:comment "Mileage of Component at Time of Recording."@en ; + rdfs:label "Loadspectrum Mileage"; cx-fx:dataType xsd:int. -cx-behaviour:countingUnit rdf:type cx-fx:Argument; - dc:description "Counting Unit of Load Spectrum."@en ; - dc:title "Loadspectrum Counting Unit"; +cx-behaviour:countingUnit rdfs:subPropertyOf cx-behaviour:prognosisFunctionArgument; + rdfs:comment "Counting Unit of Load Spectrum."@en ; + rdfs:label "Loadspectrum Counting Unit"; cx-fx:dataType xsd:string. -cx-behaviour:countingValue rdf:type cx-fx:Argument; - dc:description "Counting Value Name of Load Spectrum."@en ; - dc:title "Loadspectrum Counting Value"; +cx-behaviour:countingValue rdfs:subPropertyOf cx-behaviour:prognosisFunctionArgument; + rdfs:comment "Counting Value Name of Load Spectrum."@en ; + rdfs:label "Loadspectrum Counting Value"; cx-fx:dataType xsd:string. -cx-behaviour:countingMethod rdf:type cx-fx:Argument; - dc:description "Counting Method of Load Spectrum."@en ; - dc:title "Loadspectrum Counting Method"; +cx-behaviour:countingMethod rdfs:subPropertyOf cx-behaviour:prognosisFunctionArgument; + rdfs:comment "Counting Method of Load Spectrum."@en ; + rdfs:label "Loadspectrum Counting Method"; cx-fx:dataType xsd:string. -cx-behaviour:headerChannels rdf:type cx-fx:Argument; - dc:description "Channels of Load Spectrum."@en ; - dc:title "Loadspectrum Channels"; +cx-behaviour:headerChannels rdfs:subPropertyOf cx-behaviour:prognosisFunctionArgument; + rdfs:comment "Channels of Load Spectrum."@en ; + rdfs:label "Loadspectrum Channels"; cx-fx:dataType json:Object. -cx-behaviour:bodyClasses rdf:type cx-fx:Argument; - dc:description "Classes of Load Spectrum."@en ; - dc:title "Loadspectrum Classes"; +cx-behaviour:bodyClasses rdfs:subPropertyOf cx-behaviour:prognosisFunctionArgument; + rdfs:comment "Classes of Load Spectrum."@en ; + rdfs:label "Loadspectrum Classes"; cx-fx:dataType json:Object. -cx-behaviour:bodyCountsList rdf:type cx-fx:Argument; - dc:description "Counts List of Load Spectrum."@en ; - dc:title "Loadspectrum Counts List"; +cx-behaviour:bodyCountsList rdfs:subPropertyOf cx-behaviour:prognosisFunctionArgument; + rdfs:comment "Counts List of Load Spectrum."@en ; + rdfs:label "Loadspectrum Counts List"; cx-fx:dataType json:Object. -cx-behaviour:response rdf:type cx-fx:Result; - dc:description "The asynchronous notification response."@en ; - dc:title "Asynchronous notification response." ; - cx-fx:output cx-behaviour:remainingOperatingHours; - cx-fx:output cx-behaviour:remainingRunningDistance. +cx-behaviour:RemainingUsefulLifeResult rdfs:subClassOf cx-fx:Result; + rdfs:comment "The asynchronous notification response."@en ; + rdfs:label "Asynchronous notification response." . -cx-behaviour:remainingOperatingHours rdf:type cx-fx:ReturnValue; - dc:description "Predicted Operating Hours of Remaining Useful Life Response"@en ; - dc:title "Remaining Useful Life Operating Hours" ; +cx-behaviour:remainingOperatingHours rdfs:subPropertyOf cx-fx:returnValue; + rdfs:domain cx-behaviour:RemainingUsefulLifeResult ; + rdfs:comment "Predicted Operating Hours of Remaining Useful Life Response"@en ; + rdfs:label "Remaining Useful Life Operating Hours" ; cx-fx:dataType xsd:float. -cx-behaviour:remainingRunningDistance rdf:type cx-fx:ReturnValue; - dc:description "Predicted Distance of Remaining Useful Life Response"@en ; - dc:title "Remaining Useful Life Distance" ; +cx-behaviour:remainingRunningDistance rdfs:subPropertyOf cx-fx:returnValue; + rdfs:domain cx-behaviour:RemainingUsefulLifeResult ; + rdfs:comment "Predicted Distance of Remaining Useful Life Response"@en ; + rdfs:label "Remaining Useful Life Distance" ; cx-fx:dataType xsd:int. +cx-behaviour:HealthIndicatorResult rdfs:subClassOf cx-fx:Result ; + rdfs:comment"Health Indicator is part of a indicator batch."@en ; + rdfs:label "Health Indicator" . + +cx-behaviour:requestComponentId rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Health Indicator Input relates to a component."@en ; + rdfs:label "Health Indicator Component Id"; + cx-fx:argumentName "componentId". + +cx-behaviour:classifiedLoadCollectiveProjectDescription rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has a project description."@en ; + rdfs:label "Classified Load Collective Project Description"; + cx-fx:mandatory "false"^^xsd:boolean; + cx-fx:argumentName "classifiedLoadCollective.metadata.projectDescription". + +cx-behaviour:classifiedLoadCollectiveComponentDescription rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has a component description."@en ; + rdfs:label "Classified Load Collective Component Description"; + cx-fx:argumentName "classifiedLoadCollective.metadata.componentDescription". + +cx-behaviour:classifiedLoadCollectiveCountingValue rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has a value for the counting dimension."@en ; + rdfs:label "Classified Load Collective Counting Value"; + cx-fx:mandatory "false"^^xsd:boolean; + cx-fx:argumentName "classifiedLoadCollective.header.countingValue". + +cx-behaviour:classifiedLoadCollectiveCountingUnit rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has a unit for the counting dimension."@en ; + rdfs:label "Classified Load Collective Counting Unit"; + cx-fx:argumentName "classifiedLoadCollective.header.countingUnit". + +cx-behaviour:classifiedLoadCollectiveCountingMethod rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has a method for the counting dimension."@en ; + rdfs:label "Classified Load Collective Counting Method"; + cx-fx:argumentName "classifiedLoadCollective.header.countingMethod". + +cx-behaviour:classifiedLoadCollectiveChannels rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has descriptors for all channels."@en ; + rdfs:label "Classified Load Collective Channels"; + cx-fx:argumentName "classifiedLoadCollective.header.channels". + +cx-behaviour:classifiedLoadCollectiveCounts rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has a body with the raw measurements."@en ; + rdfs:label "Classified Load Collective Counts"; + cx-fx:argumentName "classifiedLoadCollective.body.counts". + +cx-behaviour:classifiedLoadCollectiveClasses rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Load Collective has a body with the class indices."@en ; + rdfs:label "Classified Load Collective Classes"; + cx-fx:argumentName "classifiedLoadCollective.body.classes". + +cx-behaviour:adaptionValueVersion rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Health Indicator Adaption needs a version."@en ; + rdfs:label "Adaption Value List Version"; + cx-fx:argumentName "adaptionValueList.version". + +cx-behaviour:adaptionValueTimestamp rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Health Indicator Adaption needs a timestamp."@en ; + rdfs:label "Adaption Value List Timestamp"; + cx-fx:argumentName "adaptionValueList.timestamp". + +cx-behaviour:adaptionValueMileage rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Health Indicator Adaption needs a mileage of the embedding vehicle."@en ; + rdfs:label "Adaption Value List Mileage"; + cx-fx:argumentName "adaptionValueList.mileage_km". + +cx-behaviour:adaptionValueOperatingTime rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Health Indicator Adaption needs an operating time of the embedding vehicle."@en ; + rdfs:label "Adaption Value List Operating Time"; + cx-fx:argumentName "adaptionValueList.operatingtime_s". + +cx-behaviour:adaptionValueList rdfs:subPropertyOf cx-behaviour:HealthIndicationArgument ; + rdfs:comment"A Health Indicator Adaption needs an array of adaption values."@en ; + rdfs:label "Adaption Value List Values"; + cx-fx:argumentName "adaptionValueList.values". + +cx-behaviour:indicatorVersion rdfs:subProperty cx-fx:returnValue; + rdfs:domain cx-behaviour:HealthIndicatorResult; + rdfs:comment"Version of the health indicator prognosis."@en ; + rdfs:label "Health Indicator Prognosis Version" ; + cx-fx:valuePath "version"; + cx-fx:dataType xsd:string. + +cx-behaviour:responseComponentId rdfs:subProperty cx-fx:returnValue; + rdfs:domain cx-behaviour:HealthIndicatorResult; + rdfs:comment"Component Id of the health indicator prognosis."@en ; + rdfs:label "Health Indicator Prognosis Component Id" ; + cx-fx:valuePath "componentId"; + cx-fx:dataType xsd:string. + +cx-behaviour:healthIndicatorValues rdfs:subProperty cx-fx:returnValue; + rdfs:domain cx-behaviour:HealthIndicatorResult; + rdfs:comment"Health Indicator Values are percentages."@en ; + rdfs:label "Health Indicator Values" ; + cx-fx:valuePath "healthIndicatorValues"; + cx-fx:dataType json:Object. + ### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi diff --git a/ontology/function_ontology.ttl b/ontology/function_ontology.ttl index deb9f5a..63a81cc 100644 --- a/ontology/function_ontology.ttl +++ b/ontology/function_ontology.ttl @@ -32,7 +32,7 @@ @prefix schema: . @prefix cx-core: . @prefix cx-common: . -@base . +@base . rdf:type owl:Ontology ; owl:imports , @@ -67,6 +67,11 @@ dc:description rdf:type owl:AnnotationProperty . dc:title rdf:type owl:AnnotationProperty . +### http://www.w3.org/2002/07/owl#resultConfigurationProperty +owl:resultConfigurationProperty rdf:type owl:AnnotationProperty ; + rdfs:label "Result Configuration Property"@en . + + ### http://www.w3.org/2004/02/skos/core#altLabel skos:altLabel rdf:type owl:AnnotationProperty . @@ -83,131 +88,93 @@ skos:note rdf:type owl:AnnotationProperty . skos:prefLabel rdf:type owl:AnnotationProperty . -################################################################# -# Datatypes -################################################################# - -### http://www.w3.org/2001/XMLSchema#anyType -xsd:anyType rdf:type rdfs:Datatype . - - -################################################################# -# Object Properties -################################################################# - -### https://w3id.org/catenax/ontology/function#input -cx-fx:input rdf:type owl:ObjectProperty ; - rdfs:domain cx-fx:Function ; - rdfs:range cx-fx:Argument ; - rdfs:comment "Describes the arguments of a function."@en ; - skos:prefLabel "Input Argument"@en . - - -### https://w3id.org/catenax/ontology/function#output -cx-fx:output rdf:type owl:ObjectProperty ; - rdfs:domain cx-fx:Result ; - rdfs:range cx-fx:ReturnValue ; - skos:altLabel "Function Return Output"@en ; - skos:prefLabel "Output"@en . - - -### https://w3id.org/catenax/ontology/function#result -cx-fx:result rdf:type owl:ObjectProperty ; - rdfs:domain cx-fx:Function ; - rdfs:range cx-fx:Result ; - rdfs:comment "Describes the result of a function."@en ; - skos:prefLabel "Output Result"@en . - +### https://w3id.org/catenax/ontology/function#argumentConfigurationProperty +cx-fx:argumentConfigurationProperty rdf:type owl:AnnotationProperty ; + rdfs:label "Argument Configuration Property"@en . -################################################################# -# Data properties -################################################################# ### https://w3id.org/catenax/ontology/function#argumentName -cx-fx:argumentName rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Argument ; - rdfs:range xsd:string ; +cx-fx:argumentName rdf:type owl:AnnotationProperty ; rdfs:comment "Determines the name or index of the function argument." ; skos:altLabel "Argument Name or Index"@en ; - skos:example "age" , - "arg0" ; - skos:prefLabel "Argument Name"@en . + skos:example "age" ; + skos:prefLabel "Argument Name"@en ; + rdfs:subPropertyOf cx-fx:argumentConfigurationProperty ; + rdfs:range xsd:string . ### https://w3id.org/catenax/ontology/function#batch -cx-fx:batch rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Function ; - rdfs:range xsd:long ; +cx-fx:batch rdf:type owl:AnnotationProperty ; rdfs:comment "Determines maximal batch size for function invocations. Default is '1' which means that each invocation is done separately"@en ; skos:altLabel "Maximal Batch Size"@en ; skos:example "100"^^xsd:long ; - skos:prefLabel "Batch Size"@en . + skos:prefLabel "Batch Size"@en ; + rdfs:subPropertyOf cx-fx:functionConfigurationProperty ; + rdfs:range xsd:long ; + rdfs:domain cx-fx:Function . ### https://w3id.org/catenax/ontology/function#callbackProperty -cx-fx:callbackProperty rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Function , - cx-fx:Result ; - rdfs:range xsd:string ; +cx-fx:callbackProperty rdf:type owl:AnnotationProperty ; rdfs:comment "Determines a (set of) paths in the input document and the output response under which the callback address (see ) and the referring callback id will be transmitted."@en ; skos:altLabel "Function Callback ID/Address Property"@en ; skos:example "callbackAddress" ; - skos:prefLabel "Callback Address"@en . + skos:prefLabel "Callback Address"@en ; + rdfs:subPropertyOf cx-fx:functionConfigurationProperty ; + rdfs:range xsd:string ; + rdfs:domain cx-fx:Function . ### https://w3id.org/catenax/ontology/function#dataType -cx-fx:dataType rdf:type owl:DatatypeProperty ; - rdfs:domain cx-fx:Argument , - cx-fx:ReturnValue ; +cx-fx:dataType rdf:type owl:AnnotationProperty ; rdfs:comment "Determines the data type of an argument or return value." ; skos:altLabel "Argument or Result Data Type"@en ; skos:example xsd:long , json:Object ; - skos:prefLabel "Argument or Result Data Type"@en . + skos:prefLabel "Argument or Result Data Type"@en ; + rdfs:subPropertyOf cx-fx:argumentConfigurationProperty . ### https://w3id.org/catenax/ontology/function#default -cx-fx:default rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Argument ; - rdfs:range xsd:anyType ; +cx-fx:default rdf:type owl:AnnotationProperty ; rdfs:comment "Determines a default for the given argument which is taken if this is a mandatory argument (see )"@en ; skos:altLabel "Argument Default"@en ; skos:example , - "a default string"^^xsd:string ; - skos:prefLabel "Default"@en . + "a default string" ; + skos:prefLabel "Default"@en ; + rdfs:subPropertyOf cx-fx:argumentConfigurationProperty ; + rdfs:range xsd:anyType . + + +### https://w3id.org/catenax/ontology/function#functionConfigurationProperty +cx-fx:functionConfigurationProperty rdf:type owl:AnnotationProperty ; + rdfs:label "Function Configuration Property"@en . ### https://w3id.org/catenax/ontology/function#inputProperty -cx-fx:inputProperty rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Function ; - rdfs:range xsd:string ; +cx-fx:inputProperty rdf:type owl:AnnotationProperty ; rdfs:comment "Determines a path/name in the input document under which all input arguments are encoded. Default is '.'"@en ; skos:altLabel "Function Input Property"@en ; skos:example "." ; - skos:prefLabel "Input Property"@en . + skos:prefLabel "Input Property"@en ; + rdfs:subPropertyOf cx-fx:argumentConfigurationProperty ; + rdfs:range xsd:string ; + rdfs:domain cx-fx:Function . ### https://w3id.org/catenax/ontology/function#invocationIdProperty -cx-fx:invocationIdProperty rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Function ; - rdfs:range xsd:string ; +cx-fx:invocationIdProperty rdf:type owl:AnnotationProperty ; rdfs:comment "Determines a (set of) paths in the input document under which the IRI of the invocation (instance of Function) will be transmitted."@en ; skos:altLabel "Function Invocation ID Property"@en ; skos:example "requestId" ; - skos:prefLabel "Invocation ID Property"@en . + skos:prefLabel "Invocation ID Property"@en ; + rdfs:subPropertyOf cx-fx:functionConfigurationProperty ; + rdfs:range xsd:string ; + rdfs:domain cx-fx:Function . ### https://w3id.org/catenax/ontology/function#invocationMethod -cx-fx:invocationMethod rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Function ; - rdfs:range xsd:string ; +cx-fx:invocationMethod rdf:type owl:AnnotationProperty ; rdfs:comment "Determines the invocation method of the function in case that the target service provides several possibilities."@en ; skos:example "DEFAULT" , "GET" , @@ -215,62 +182,108 @@ cx-fx:invocationMethod rdf:type owl:DatatypeProperty ; "POST-JSON-MF" , "POST-XML" , "POST-XML-MF" ; - skos:prefLabel "Invocation Method"@en . + skos:prefLabel "Invocation Method"@en ; + rdfs:subPropertyOf cx-fx:functionConfigurationProperty ; + rdfs:range xsd:string ; + rdfs:domain cx-fx:Function . ### https://w3id.org/catenax/ontology/function#outputProperty -cx-fx:outputProperty rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Result ; - rdfs:range xsd:string ; +cx-fx:outputProperty rdf:type owl:AnnotationProperty ; rdfs:comment "Determines a path/name in the output response under which all output arguments are encoded. Default is '.'"@en ; skos:altLabel "Function Output Property"@en ; skos:example "." ; - skos:prefLabel "Output of Function"@en . + skos:prefLabel "Output of Function"@en ; + rdfs:subPropertyOf owl:resultConfigurationProperty ; + rdfs:range xsd:string ; + rdfs:domain cx-fx:Result . ### https://w3id.org/catenax/ontology/function#priority -cx-fx:priority rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Argument ; - rdfs:range xsd:integer ; +cx-fx:priority rdf:type owl:AnnotationProperty ; rdfs:comment "Determines the priority with which the argument is processed. Default is '10'"@en ; skos:altLabel "Argument Priority"@en ; skos:example -1 ; - skos:prefLabel "Priority"@en . + skos:prefLabel "Priority"@en ; + rdfs:subPropertyOf cx-fx:argumentConfigurationProperty ; + rdfs:range xsd:integer . + + +### https://w3id.org/catenax/ontology/function#resultConfigurationProperty +cx-fx:resultConfigurationProperty rdf:type owl:AnnotationProperty . ### https://w3id.org/catenax/ontology/function#resultIdProperty -cx-fx:resultIdProperty rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:Result ; - rdfs:range xsd:string ; +cx-fx:resultIdProperty rdf:type owl:AnnotationProperty ; rdfs:comment "Determines a path in the output response under which the IRI of the result component will be transmitted."@en ; skos:altLabel "Function Result ID Property"@en ; skos:example "componentId" ; - skos:prefLabel "Result ID Property"@en . + skos:prefLabel "Result ID Property"@en ; + rdfs:subPropertyOf owl:resultConfigurationProperty ; + rdfs:range xsd:string ; + rdfs:domain cx-fx:Result . ### https://w3id.org/catenax/ontology/function#targetUri -cx-fx:targetUri rdf:type owl:DatatypeProperty ; - rdfs:domain cx-fx:Function ; - rdfs:range xsd:string ; +cx-fx:targetUri rdf:type owl:AnnotationProperty ; rdfs:comment "The target URI of the function should resolve to some existing service (URL)."@en ; skos:example , , ; - skos:prefLabel "Target URI"@en . + skos:prefLabel "Target URI"@en ; + rdfs:subPropertyOf cx-fx:functionConfigurationProperty ; + rdfs:range xsd:string . ### https://w3id.org/catenax/ontology/function#valuePath -cx-fx:valuePath rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf owl:topDataProperty ; - rdfs:domain cx-fx:ReturnValue ; - rdfs:range xsd:string ; +cx-fx:valuePath rdf:type owl:AnnotationProperty ; rdfs:comment "Determines a path in the output response under which a return value is transmitted."@en ; skos:altLabel "Function Result Value Path"@en ; skos:example "age" ; - skos:prefLabel "Value Path"@en . + skos:prefLabel "Value Path"@en ; + rdfs:subPropertyOf cx-fx:argumentConfigurationProperty ; + rdfs:range xsd:string . + + +################################################################# +# Datatypes +################################################################# + +### http://www.w3.org/2001/XMLSchema#anyType +xsd:anyType rdf:type rdfs:Datatype . + + +### http://www.w3.org/2001/XMLSchema#date +xsd:date rdf:type rdfs:Datatype . + + +################################################################# +# Object Properties +################################################################# + +### https://w3id.org/catenax/ontology/function#output +cx-fx:output rdf:type owl:ObjectProperty ; + rdfs:domain cx-fx:Function ; + rdfs:range cx-fx:Result ; + rdfs:comment "Describes the result of a function."@en ; + skos:prefLabel "Output Result"@en . + + +################################################################# +# Data properties +################################################################# + +### https://w3id.org/catenax/ontology/function#argument +cx-fx:argument rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf owl:topDataProperty ; + rdfs:domain cx-fx:Function ; + rdfs:label "Function Argument"@en . + + +### https://w3id.org/catenax/ontology/function#returnValue +cx-fx:returnValue rdf:type owl:DatatypeProperty ; + rdfs:domain cx-fx:Result ; + rdfs:label "Return value of a function."@en . ################################################################# @@ -281,13 +294,6 @@ cx-fx:valuePath rdf:type owl:DatatypeProperty ; cx-core:ConceptualObject rdf:type owl:Class . -### https://w3id.org/catenax/ontology/function#Argument -cx-fx:Argument rdf:type owl:Class ; - rdfs:subClassOf cx-core:ConceptualObject ; - skos:altLabel "Function Argument Definition"@en ; - skos:prefLabel "Argument"@en . - - ### https://w3id.org/catenax/ontology/function#Function cx-fx:Function rdf:type owl:Class ; rdfs:subClassOf cx-core:ConceptualObject ; @@ -299,14 +305,7 @@ cx-fx:Function rdf:type owl:Class ; cx-fx:Result rdf:type owl:Class ; rdfs:subClassOf cx-core:ConceptualObject ; skos:altLabel "Function Result Definition"@en ; - skos:prefLabel "Function Result"@en . - - -### https://w3id.org/catenax/ontology/function#ReturnValue -cx-fx:ReturnValue rdf:type owl:Class ; - rdfs:subClassOf cx-core:ConceptualObject ; - skos:altLabel "Function Return Value Definition"@en ; - skos:prefLabel "Return Value"@en . + skos:prefLabel "Result"@en . -### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi +### Generated by the OWL API (version 4.5.26.2023-07-17T20:34:13Z) https://github.com/owlcs/owlapi