<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/executionOf">
    <rdfs:label xml:lang="en">execution of</rdfs:label>
    <rdfs:comment xml:lang="en">
  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.
  </rdfs:comment>
    <schema:domainIncludes>
      <rdfs:Class rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution">
        <rdfs:label xml:lang="en">Orchestration Service Execution</rdfs:label>
        <rdfs:comment xml:lang="en">
  Captures the details of the progress and outcomes of the execution of an Orchestration Service.
  </rdfs:comment>
      </rdfs:Class>
    </schema:domainIncludes>
    <schema:rangeIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecutionOrder"/>
  </rdf:Property>
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/hasConsumedResource">
    <rdfs:label xml:lang="en">has consumed resource</rdfs:label>
    <rdfs:comment xml:lang="en">
  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.
  </rdfs:comment>
    <schema:domainIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
    <schema:rangeIncludes rdf:resource="http://www.w3.org/2001/XMLSchema#anyURI"/>
  </rdf:Property>
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/hasExecution">
    <rdfs:label xml:lang="en">has execution result</rdfs:label>
    <rdfs:comment xml:lang="en">
  The execution of the Orchestration Service.
  </rdfs:comment>
    <schema:domainIncludes>
      <rdfs:Class rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecutionCredential">
        <rdfs:label xml:lang="en">Orchestration Service Execution Credential</rdfs:label>
        <rdfs:comment xml:lang="en">
  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.
  </rdfs:comment>
      </rdfs:Class>
    </schema:domainIncludes>
    <schema:rangeIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
  </rdf:Property>
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/hasExecutionEvidence">
    <rdfs:label xml:lang="en">has execution evidence</rdfs:label>
    <rdfs:comment xml:lang="en">
    Links the Orchestration Service Execution to a resource that provides evidence of the execution, such as logs, transaction records, or other forms of auditable data. This evidence supports the verification of the execution's integrity, completeness, and compliance with the specified execution parameters and governance rules of all the involved resources within the Zone.
    
    The evidence resource can be a URI pointing to a secure, immutable and verifiable location where the evidence is stored, like IPFS, a blockchain, or an immutable database.
  </rdfs:comment>
    <schema:domainIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
    <schema:rangeIncludes rdf:resource="http://www.w3.org/2001/XMLSchema#anyURI"/>
  </rdf:Property>
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/hasExecutionStatus">
    <rdfs:label xml:lang="en">has execution status</rdfs:label>
    <rdfs:comment xml:lang="en">
  Indicates the status of the service execution.
  </rdfs:comment>
    <schema:domainIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
    <schema:rangeIncludes rdf:resource="https://w3id.org/axone/ontology/v4/thesaurus/digital-service-execution-status"/>
  </rdf:Property>
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/hasExecutionTime">
    <rdfs:label xml:lang="en">has execution time</rdfs:label>
    <rdfs:comment xml:lang="en">
  The time and date when the Digital Service was executed.
  </rdfs:comment>
    <schema:domainIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
    <schema:rangeIncludes rdf:resource="http://schema.org/DateTime"/>
  </rdf:Property>
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/hasProducedResource">
    <rdfs:label xml:lang="en">has produced resource</rdfs:label>
    <rdfs:comment xml:lang="en">
  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).
  </rdfs:comment>
    <schema:domainIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
    <schema:rangeIncludes rdf:resource="http://www.w3.org/2001/XMLSchema#anyURI"/>
  </rdf:Property>
  <rdf:Property rdf:about="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/partOfExecution">
    <rdfs:label xml:lang="en">part of execution</rdfs:label>
    <rdfs:comment xml:lang="en">
    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.
  </rdfs:comment>
    <schema:domainIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
    <schema:rangeIncludes rdf:resource="https://w3id.org/axone/ontology/v4/schema/credential/orchestration-service/execution/OrchestrationServiceExecution"/>
  </rdf:Property>
</rdf:RDF>
