Issued: 2016-09-23
This ontology augments the Process Execution Platform ontology with the description of inputs and outputs as RDF Graphs.
Figure below is a precised overview of the PEP Ontology with RDFP concepts.
This ontology is the basis for:
A procedure links to the description of the RDF graph it expects as input, and to the description of the graph it outputs. For example, the following RDF graph describes a procedure where:
@prefix pep: <https://w3id.org/pep/> . @prefix rdfp: <https://w3id.org/rdfp/> . @prefix seas: <https://w3id.org/seas/> . <procedure> a pep:Process ; pep:hasInput [ a rdfp:GraphDescription ; foaf:topic _:car ] ; pep:hasOutput [ a rdfp:GraphDescription ; foaf:topic _:evaluation ] . _:car <speed> [ seas:evaluation _:evaluation ] . _:evaluation a seas:Forecast .
A procedure execution may link to the names of RDF graphs that represent the command, and the result. For example, the following RDF graph describes a procedure execution:
@prefix pep: <https://w3id.org/pep/> . <exec> a pep:ProcessExecution ; pep:hasCommand <exec/command> ; pep:hasResult <exec/result> .
Then the graph with name <exec/command> contains:
@prefix pep: <https://w3id.org/pep/>. @prefix seas: <https://w3id.org/seas/>. @prefix time: <http://www.w3.org/2006/time#>. @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. <car/1> <speed> <car/1/speed> . <car/1/speed> seas:evaluation <evaluation> . <evaluation> seas:hasTemporalContext [ time:inXSDDateTime "2016-07-22T12:05:43Z"^^xsd:dateTime ] .
And the graph with name <exec/result> contains:
@prefix pep: <https://w3id.org/pep/>. @prefix seas: <https://w3id.org/seas/>. @prefix time: <http://www.w3.org/2006/time#>. @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. @prefix cdt: <http://w3id.org/lindt/custom_datatypes#>. <car/1> <speed> <car/1/speed> . <car/1/speed> seas:evaluation <evaluation> . <evaluation> a seas:Forecast ; seas:evaluatedValue "73 km/h"^^cdt:ucum ; seas:hasTemporalContext [ time:inXSDDateTime "2016-07-22T12:05:43Z"^^xsd:dateTime ] .