blob: ad6864e54350c94908bd27703a6215ae92f14063 [file] [log] [blame]
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License. You may obtain a copy of the License at
##
## http://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.
##
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix wfprov: <http://purl.org/wf4ever/wfprov#> .
@prefix wfdesc: <http://purl.org/wf4ever/wfdesc#> .
@prefix tavernaprov: <http://ns.taverna.org.uk/2012/tavernaprov/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix cnt: <http://www.w3.org/2011/content#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix scufl2: <http://ns.taverna.org.uk/2010/scufl2#> .
<> rdfs:label "Handmade example of 'ideal' tavernaprov output"@en ;
rdfs:comment """This is a hand written attempt of how Taverna could output
workflow provenance of the 'Hello Anyone' workflow.
Note that this example has been created to help shape the tavernaprov and
wfprov ontologies, and therefore might not be in compliance with their current
version.
Note that for brevity, the provenance shown here might not be the complete
trace, for instance some workflow processors are not shown. """@en ;
prov:wasAttributedTo <http://soiland-reyes.com/stian/#me> .
# Normally, this PROV bundle would have this metaprovenance:
<> a prov:Bundle, prov:Entity ;
prov:wasGeneratedBy :taverna-prov-export .
:taverna-prov-export a prov:Activity, tavernaprov:ProvExport;
rdfs:label "taverna-prov export of workflow run provenance";
# Might have been performed days later than the run!
prov:startedAtTime "2012-09-14T14:49:59.498+01:00"^^xsd:dateTime;
prov:endedAtTime "2012-09-14T14:50:41.216+01:00"^^xsd:dateTime;
# But was informed by the run activity
prov:wasInformedBy <http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/> .
# 'Trace' of workflow definition included - mainly in wfdesc and prov:Plan/prov:Role terms.
#
# For a complete abstract workflow definition, see the separate wfdesc
# translation from scufl2. Only minimal typing from scufl2 has been exposed
# here, hence the use of dcterms:hasPart rather than scufl2:child.
<http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/> a scufl2:WorkflowBundle ;
dcterms:hasPart <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/> .
# The http://ns.taverna.org.uk/2010/workflowBundle/* and
# http://ns.taverna.org.uk/2011/run/* URIs in this document point to
# non-information resources - attempts to
# retrieve them will give either a 404 Not Found
# or a 303 See Other redirection to a 'guessing' service which can only give
# information on a similar granularity as below based on components of the
# structured URI. The reason for this is that the workflow engine is not in
# control of where the workflow definition or exported provenance is stored and
# published, and Taverna don't enforce any centralized registry of these.
<http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/> a scufl2:Workflow, wfdesc:Workflow, prov:Plan ;
rdfs:label "Workflow Hello_Anyone";
wfdesc:hasSubProcess <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/> ;
dcterms:hasPart <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/> .
<http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/> a scufl2:Processor, wfdesc:Process, prov:Plan ;
rdfs:label "Processor hello in workflow Hello_Anyone";
wfdesc:hasInput <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/in/name> ;
dcterms:hasPart <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/in/name> .
<http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/in/name> a wfdesc:Input, wfdesc:Parameter, prov:Role ;
rdfs:label "Input name in workflow Hello_Anyone" .
#
# A loose description of the workflow engine. The validity of this
# engine across multiple workflow runs is not clear, hence it does not
# have a proper URI. We do however know some informaton about
# the software version, which we should include
:tavernaEngine a tavernaprov:TavernaEngine, wfprov:WorkflowEngine, prov:Agent ;
wfprov:software <http://ns.taverna.org.uk/2012/releases/2.4.0/> ;
# Can't export this now - operator information not currently recorded by Taverna
#wfprov:operator [ a prov:Person; foaf:name "Fred" ]
.
<http://ns.taverna.org.uk/2012/releases/2.4.0/> a doap:Version ;
doap:revision "2.4.0" ;
doap:created "2012-04-19"^^xsd:dateTime ;
doap:name "Taverna Workbench"@en .
#
# Description of workflow run
<http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/> a wfprov:WorkflowRun, prov:Activity ;
rdfs:label "Workflow run of Hello_Anyone"@en ;
wfprov:wasEnactedBy :tavernaEngine ;
prov:wasAssociatedWith :tavernaEngine ;
prov:qualifiedAssociation [
a wfprov:ExecutionOfWorkflow, prov:Associaton ;
prov:agent :tavernaEngine ;
wfprov:describedByWorkflow <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/> ;
prov:hadPlan <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/> ;
] ;
prov:startedAtTime "2012-09-12T14:49:45.750+01:00"^^xsd:dateTime;
prov:endedAtTime "2012-09-12T14:49:48.829+01:00"^^xsd:dateTime;
prov:used <http://ns.taverna.org.uk/2011/data/d3f40bc4-0d96-4c6b-9562-5d27e0c66d7e/ref/2be8d75a-4545-4539-9364-5cfc41ae944a> ;
# Deprecated non-prov wfprov style
#wfprov:usedInput <http://ns.taverna.org.uk/2011/data/d3f40bc4-0d96-4c6b-9562-5d27e0c66d7e/ref/2be8d75a-4545-4539-9364-5cfc41ae944a> ;
prov:qualifiedUsage [
a wfprov:InputValue, prov:Usage ;
wfprov:inputValue <http://ns.taverna.org.uk/2011/data/d3f40bc4-0d96-4c6b-9562-5d27e0c66d7e/ref/2be8d75a-4545-4539-9364-5cfc41ae944a> ;
prov:entity <http://ns.taverna.org.uk/2011/data/d3f40bc4-0d96-4c6b-9562-5d27e0c66d7e/ref/2be8d75a-4545-4539-9364-5cfc41ae944a> ;
wfprov:asParameter <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/in/name> ;
prov:hadRole <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/in/name> ;
] .
# Description of the used input
<http://ns.taverna.org.uk/2011/data/d3f40bc4-0d96-4c6b-9562-5d27e0c66d7e/ref/2be8d75a-4545-4539-9364-5cfc41ae944a> a wfprov:Artifact, prov:Entity ;
# The file that has the content
tavernaprov:content <intermediates/2be8d75a-4545-4539-9364-5cfc41ae944a.txt> ;
#wfprov:describedByParameter <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/in/name> .
.
# Description of actual content, small values even included here with cnt:chars
<intermediates/2be8d75a-4545-4539-9364-5cfc41ae944a.txt> a tavernaprov:Content, cnt:ContentAsText ;
tavernaprov:sha1 "943a702d06f34599aee1f8da8ef9f7296031d699"^^xsd:hexBinary;
tavernaprov:byteCount 13;
cnt:chars "Hello, world!";
cnt:characterEncoding "UTF-8" .
# Description of process executions
<http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/process/0347c41e-5998-4015-bdb7-cdd125c14acf/> a wfprov:ProcessRun, prov:Activity ;
rdfs:label "Processor execution hello (facade3:Hello_Anyone:hello)" ;
prov:startedAtTime "2012-09-12T14:49:47.366+01:00"^^xsd:dateTime ;
prov:endedAtTime "2012-09-12T14:49:47.513+01:00"^^xsd:dateTime ;
wfprov:wasEnactedby :tavernaEngine ;
prov:wasAssociatedWith :tavernaEngine ;
prov:qualifiedAssociation [
a wfprov:ExecutionOfProcess, prov:Association;
prov:agent :tavernaEngine ;
wfprov:describedByProcess <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/> ;
prov:hadPlan <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/>
] ;
wfprov:wasPartOfWorkflowRun <http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/> ;
dcterms:partOf <http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/> .
<http://ns.taverna.org.uk/2011/data/d3f40bc4-0d96-4c6b-9562-5d27e0c66d7e/ref/f644d282-dd2d-4cce-8eb2-8429f4cb4c3a> a wfprov:Artifact, prov:Entity ;
tavernaprov:content <intermediates/f6/f644d282-dd2d-4cce-8eb2-8429f4cb4c3a.txt>;
#wfprov:describedByParameter <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/out/value>;
#wfprov:wasOutputFrom <http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/process/0347c41e-5998-4015-bdb7-cdd125c14acf/> ;
prov:wasGeneratedBy <http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/process/0347c41e-5998-4015-bdb7-cdd125c14acf/> ;
prov:qualifiedGeneration [
a wfprov:OutputValue, prov:Generation;
wfprov:wasOutputFrom <http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/process/0347c41e-5998-4015-bdb7-cdd125c14acf/> ;
prov:activity <http://ns.taverna.org.uk/2011/run/223da554-8b08-4ccd-9247-11c9cedb31de/process/0347c41e-5998-4015-bdb7-cdd125c14acf/>;
wfprov:asParameter <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/out/value>;
prov:hadRole <http://ns.taverna.org.uk/2010/workflowBundle/01348671-5aaa-4cc2-84cc-477329b70b0d/workflow/Hello_Anyone/processor/hello/out/value>
] .
# .. Remaining processors and entities not shown