-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(schema)!: redesign the Service Execution order & results
- Loading branch information
Showing
4 changed files
with
143 additions
and
135 deletions.
There are no files selected for viewing
60 changes: 0 additions & 60 deletions
60
src/schema/digital-service/credential-digital-service-execution-order.ttl
This file was deleted.
Oops, something went wrong.
75 changes: 0 additions & 75 deletions
75
src/schema/digital-service/credential-digital-service-execution-result.ttl
This file was deleted.
Oops, something went wrong.
60 changes: 60 additions & 0 deletions
60
src/schema/orchestration-service/credential-orchestration-service-execution-order.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix : <https://w3id.org/okp4/ontology/v$major/schema/credential/orchestration-service/execution-order/> . | ||
@prefix schema: <http://schema.org/> . | ||
|
||
:OrchestrationServiceExecutionOrder a rdfs:Class ; | ||
rdfs:label "Orchestration Service Execution Order"@en ; | ||
rdfs:comment """ | ||
Formal representation of the order in which an orchestration should be executed. | ||
"""@en . | ||
|
||
:OrchestrationServiceExecutionOrderCredential a rdfs:Class ; | ||
rdfs:label "Orchestration Service Execution Order Credential"@en ; | ||
rdfs:comment """ | ||
The Orchestration Execution Order Credential is a formal declaration that requests the execution of an orchestration, outlining specific parameters for its operation. | ||
In these credentials, the subject is the Orchestration Service to be executed. The issuer, acting as the principal, is the party who benefits from the execution of the service. | ||
These credentials function as directives for orchestrating service execution, ranging from simple data processing to complex Machine Learning workflows. They establish a standardized method for requesting and managing service execution in a decentralized and interoperable manner. | ||
"""@en . | ||
|
||
:hasExecutionOrder a rdf:Property ; | ||
rdfs:label "has execution order"@en ; | ||
rdfs:comment """ | ||
This property links an Orchestration Service Execution Order Credential to the specific Orchestration Execution Order it pertains to. It establishes a relationship indicating that the execution of the service, as detailed in the order, is authorized or mandated by the credential. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecutionOrderCredential ; | ||
schema:rangeIncludes :OrchestrationServiceExecutionOrder . | ||
|
||
:inZone a rdf:Property ; | ||
rdfs:label "in zone"@en ; | ||
rdfs:comment """ | ||
The zone in which the service should be executed. | ||
The zone must point to a valid zone identifier and is used to determine the governance policies that apply to the service execution. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecutionOrder ; | ||
schema:rangeIncludes xsd:anyURI . | ||
|
||
:placedOn a rdf:Property ; | ||
rdfs:label "placed on"@en ; | ||
rdfs:comment """ | ||
The date and time when the order was placed. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecutionOrder ; | ||
schema:rangeIncludes schema:Date ; | ||
schema:rangeIncludes schema:DateTime . | ||
|
||
:withParameter a rdf:Property ; | ||
rdfs:label "with parameter"@en ; | ||
rdfs:comment """ | ||
A single parameter specifying a part of how the Orchestration Service should be executed, represented as a key-value object. Multiple `withParameter` properties can be used to represent multiple parameters. | ||
Parameters can be used to specify the input data, the output data, the computational resources, the execution environment, and other aspects of the service execution. The comprehension of the parameters is dependent on the Orchestration Service being targeted. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecutionOrder ; | ||
schema:rangeIncludes schema:PropertyValue . | ||
|
||
|
83 changes: 83 additions & 0 deletions
83
src/schema/orchestration-service/credential-orchestration-service-execution.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix : <https://w3id.org/okp4/ontology/v$major/schema/credential/orchestration-service/execution/> . | ||
@prefix schema: <http://schema.org/> . | ||
|
||
:OrchestrationServiceExecution a rdfs:Class ; | ||
rdfs:label "Orchestration Service Execution"@en ; | ||
rdfs:comment """ | ||
Captures the details of the progress and outcomes of the execution of an Orchestration Service. | ||
"""@en . | ||
|
||
:OrchestrationServiceExecutionCredential a rdfs:Class ; | ||
rdfs:label "Orchestration Service Execution Credential"@en ; | ||
rdfs:comment """ | ||
A credential that provides proof of the execution of an Orchestration Service for a considered Orchestration Service Execution Order. It includes details of all the resources involved (consumed and produced), the time and date of execution, the parameters used, and any outcomes or results relevant to the execution. | ||
In these credentials, the Orchestration service is both the subject and the issuer. | ||
This credential is fundamental in providing a formal record of the execution of a digital service, which can be used for auditing, verification, and other purposes. | ||
"""@en . | ||
|
||
:executionOf a rdf:Property ; | ||
rdfs:label "execution of"@en ; | ||
rdfs:comment """ | ||
This relationship is pivotal for associating the formal execution request with the corresponding credential, providing the necessary authorization and detailed directives for service execution. This ensures a verifiable and formalized process for initiating and tracking the execution of orchestration services. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecutionOrderCredential ; | ||
schema:rangeIncludes :OrchestrationServiceExecutionOrder . | ||
|
||
:hasConsumedResource a rdf:Property ; | ||
rdfs:label "has consumed resource"@en ; | ||
rdfs:comment """ | ||
Specifies a resource consumed during this Orchestration Service Execution. The resource can be any URI denoting a Digital Resource (such as a dataset), or a Digital Service (such as a Storage Service or a Processing Service). | ||
Multiple instances of `hasConsumedResource` can represent various resources consumed during the execution. Accessing a Digital Resource may require the use of multiple Digital Services, reflecting the complexity and interdependencies of digital service orchestration. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecution ; | ||
schema:rangeIncludes xsd:anyURI . | ||
|
||
:hasExecution a rdf:Property ; | ||
rdfs:label "has execution result"@en ; | ||
rdfs:comment """ | ||
The execution of the Orchestration Service. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecutionCredential ; | ||
schema:rangeIncludes :OrchestrationServiceExecution . | ||
|
||
:hasExecutionStatus a rdf:Property ; | ||
rdfs:label "has execution status"@en ; | ||
rdfs:comment """ | ||
Indicates the status of the service execution. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecutionCredential ; | ||
schema:rangeIncludes <https://w3id.org/okp4/ontology/v$major/thesaurus/digital-service-execution-status> . | ||
|
||
:hasExecutionTime a rdf:Property ; | ||
rdfs:label "has execution time"@en ; | ||
rdfs:comment """ | ||
The time and date when the Digital Service was executed. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecution ; | ||
schema:rangeIncludes schema:DateTime . | ||
|
||
:hasProducedResource a rdf:Property ; | ||
rdfs:label "has produced resource"@en ; | ||
rdfs:comment """ | ||
Specify a resource produced during this Orchestration Service Execution, if any. The resource can be any URI denoting a Digital Resource (such as a dataset), or a Digital Service (such as a Storage Service or a Processing Service). | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecution ; | ||
schema:rangeIncludes xsd:anyURI . | ||
|
||
:partOfExecution a rdf:Property ; | ||
rdfs:label "part of execution"@en ; | ||
rdfs:comment """ | ||
Links an Orchestration Service Execution to its parent Orchestration Service Execution, if any. | ||
This property establishes a hierarchical relationship between executions, enabling the tracking of complex orchestration services composed of multiple, nested sub-executions. It enables the understanding the structure and progress of workflows that involve sequential or parallel steps. | ||
"""@en ; | ||
schema:domainIncludes :OrchestrationServiceExecution ; | ||
schema:rangeIncludes :OrchestrationServiceExecution . | ||
|
||
|