--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/examples/ontology-extensions/workflow/workflow.rdf Tue Sep 27 17:58:04 2011 +0100
@@ -0,0 +1,138 @@
+<rdf:RDF xmlns="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#"
+ xmlns:cnt="http://www.w3.org/2011/content#"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
+ xmlns:prov="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:wf="http://www.example.com/scientific-workflow#"
+ xmlns:base="http://www.example.com/run1#" >
+
+ <Agent rdf:about="#aUser">
+ <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
+ <foaf:name>Stian Soiland-Reyes</foaf:name>
+ </Agent>
+
+ <wf:WorkflowEngine rdf:about="#workflowEngine" />
+
+ <wf:FileValue rdf:about="#inputFile">
+ <wf:file>/tmp/myinput.txt</wf:file>
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:characterEncoding>UTF-8</cnt:characterEncoding>
+ <cnt:chars>Steve</cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ </wf:FileValue>
+
+ <wf:Value rdf:about="#input">
+ <wf:wasReadFrom rdf:resource="#inputFile"/>
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:characterEncoding>UTF-8</cnt:characterEncoding>
+ <cnt:chars>Steve</cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ </wf:Value>
+
+ <wf:Process rdf:about="#workflowRun">
+ <used>
+ <wf:ValueAtPort>
+ <wf:sawValue rdf:resource="#input"/>
+ <wf:seenAtPort rdf:resource="http://www.example.com/workflow1#inName"/>
+ </wf:ValueAtPort>
+ </used>
+ <wf:ranInWorkflowEngine rdf:resource="#workflowEngine"/>
+ <wf:wasLaunchedBy rdf:resource="#aUser"/>
+ <wf:wasDefinedBy rdf:resource="http://www.example.com/workflow1#workflow"/>
+ </wf:Process>
+
+ <wf:Process rdf:about="#constant">
+ <wf:wasSubProcessExecutionOf rdf:resource="#workflowRun"/>
+ <wf:wasDefinedBy
+ rdf:resource="http://www.example.com/workflow1#String_Constant"/>
+ </wf:Process>
+
+ <wf:Value rdf:about="#hello">
+ <wasGeneratedBy rdf:resource="#constant"/>
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:chars>Hello, </cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ </wf:Value>
+
+ <wf:ValueAtPort rdf:about="#helloValue">
+ <wasGeneratedBy rdf:resource="#constant"/>
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:chars>Hello, </cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ <wf:sawEntity rdf:resource="#hello"/>
+ </wf:Value>
+
+ <wf:Process rdf:about="#combine">
+ <used>
+ <wf:EntityAtPort>
+ <wf:sawValue rdf:resource="#hello"/>
+ <wf:seenAtPort rdf:resource="http://www.example.com/workflow1#catIn1"/>
+ </wf:EntityAtPort>
+ </used>
+ <used>
+ <wf:EntityAtPort>
+ <wf:sawValue rdf:resource="#input"/>
+ <wf:seenAtPort rdf:resource="http://www.example.com/workflow1#catIn2"/>
+ </wf:EntityAtPort>
+ </used>
+ <wf:wasSubProcessExecutionOf rdf:resource="#workflowRun"/>
+ <wf:wasDefinedBy rdf:resource="http://www.example.com/workflow1#cat"/>
+ </wf:Process>
+
+ <wf:Value rdf:about="#combined">
+ <wasGeneratedBy rdf:resource="#combine"/>
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:chars>Hello, Steve</cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ </wf:Value>
+
+ <wf:Process rdf:about="#shasum">
+ <used rdf:resource="#combined"/>
+ <wf:wasSubProcessExecutionOf rdf:resource="#workflowRun"/>
+ <wf:wasDefinedBy rdf:resource="http://www.example.com/workflow1#shasum"/>
+ </wf:Process>
+
+ <wf:Value rdf:about="#sha1">
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:characterEncoding>UTF-8</cnt:characterEncoding>
+ <cnt:chars>a33d1fb1658d4fbf017de59ab67437a3eb5ff50d</cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ </wf:Value>
+
+ <wf:EntityAtPort rdf:about="#sha1OutputFromShasum">
+ <wasGeneratedBy rdf:resource="#shasum"/>
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:characterEncoding>UTF-8</cnt:characterEncoding>
+ <cnt:chars>a33d1fb1658d4fbf017de59ab67437a3eb5ff50d</cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ <wf:sawValue rdf:resource="#sha1"/>
+ <wf:wasSeenAt rdf:resource="http://www.example.com/workflow1#shaOut"/>
+ </wf:EntityAtPort>
+
+ <wf:EntityAtPort rdf:about="#sha1OutputFromWorkflow">
+ <wasGeneratedBy rdf:resource="#workflowRun"/>
+ <wf:value>
+ <cnt:ContentAsText>
+ <cnt:characterEncoding>UTF-8</cnt:characterEncoding>
+ <cnt:chars>a33d1fb1658d4fbf017de59ab67437a3eb5ff50d</cnt:chars>
+ </cnt:ContentAsText>
+ </wf:value>
+ <wf:sawValue rdf:resource="#sha1"/>
+ <wf:wasSeenAt rdf:resource="http://www.example.com/workflow1#sha1"/>
+ </wf:EntityAtPort>
+
+</rdf:RDF>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/examples/ontology-extensions/workflow/workflowDefinition.rdf Tue Sep 27 17:58:04 2011 +0100
@@ -0,0 +1,49 @@
+<rdf:RDF xml:base="http://www.example.com/workflow1#"
+ xmlns:impl="http://company.example.org/engine-implementation#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:wf="http://www.example.com/scientific-workflow#">
+
+ <wf:ProcessDefinition rdf:about="#workflow">
+ <rdf:type rdf:resource="http://company.example.org/engine-implementation#Workflow"/>
+ <wf:definesInput>
+ <wf:Input rdf:about="#inName">
+ <wf:linksTo rdf:resource="#catIn2" />
+ </wf:Input>
+ </wf:definesInput>
+ <wf:definesOutput rdf:resource="#combined" />
+ <wf:definesOutput rdf:resource="#sha1" />
+ <wf:definesSubProcess>
+ <impl:Constant rdf:about="#String_constant">
+ <impl:constant>Hello, </impl:constant>
+ <wf:definesOutput>
+ <wf:Output rdf:about="#constantValue">
+ <wf:linksTo rdf:resource="#catIn1"/>
+ </wf:Output>
+ </wf:definesOutput>
+ </impl:Constant>
+ </wf:definesSubProcess>
+ <wf:definesSubProcess>
+ <impl:Command rdf:about="#cat">
+ <impl:command>cat</impl:command>
+ <wf:definesInput rdf:resource="#catIn1" />
+ <wf:definesInput rdf:resource="#catIn2" />
+ <wf:definesOutput>
+ <wf:Output rdf:about="#catOut">
+ <wf:linksTo rdf:resource="#shaIn"/>
+ </wf:Output>
+ </wf:definesOutput>
+ </impl:Command>
+ </wf:definesSubProcess>
+ <wf:definesSubProcess>
+ <impl:Command rdf:about="#shasum">
+ <impl:command>shasum</impl:command>
+ <wf:definesInput rdf:resource="#shaIn" />
+ <wf:definesOutput>
+ <wf:Output rdf:about="#shaOut">
+ <wf:linksTo rdf:resource="#sha1"/>
+ </wf:Output>
+ </wf:definesOutput>
+ </impl:Command>
+ </wf:definesSubProcess>
+ </wf:ProcessDefinition>
+</rdf:RDF>