Difference between revisions of "Provenance challenge"
Line 12: | Line 12: | ||
node types: | node types: | ||
<table> | <table> | ||
<tr><td>dataitem</td></tr> | <tr><td>dataitem</td><td>a dataitem that is input/output to a module execution</td></tr> | ||
<tr><td>module</td></tr> | <tr><td>module</td><td>the module/service that is to be executed</td></tr> | ||
<tr><td>moduleInstance</td></tr> | <tr><td>moduleInstance</td><td>the module as represented in a workflow</td></tr> | ||
<tr><td>moduleExecution</td></tr> | <tr><td>moduleExecution</td><td>the execution of a module</td></tr> | ||
<tr><td>workflow</td></tr> | <tr><td>workflow</td><td>a description of a process containing modules and connections</td></tr> | ||
<tr><td>workflowExecution</td></tr> | <tr><td>workflowExecution</td><td>the representation of a workflow execution</td></tr> | ||
<tr><td>inputPort</td></tr> | <tr><td>inputPort</td><td>represents a specific port thas can be assigned an input to a module execution</td></tr> | ||
<tr><td>outputPort</td></tr> | <tr><td>outputPort</td><td>represents a specific port thas can contain a product of a module execution</td></tr> | ||
</table> | </table> | ||
Relations | == Relations == | ||
Relation Input | <table> | ||
<th><td>Relation</td><td>Input</td><td>Output</td><tr> | |||
exists | <th><td>exists</td><td>all</td><td>boolean</td><tr> | ||
equals | <th><td>equals</td><td>all</td><td>boolean</td><tr> | ||
annotations all | <th><td>annotations</td><td>all</td><td>dict of key/value pairs</td><tr> | ||
</table> | |||
getInputPortForData dataItem inputPort | getInputPortForData dataItem inputPort |
Revision as of 15:14, 12 April 2007
Second provenance challenge design overview
This page describes the implementation of how to answer the queries of the second provenance challenge.
The goal of this project is to create an api capable of querying different kinds of databases containing provenance data. The main focus will be on provenance generated by scientific workflows.
primitives
The api will deal with the basic primitives describing workflow executions.
node types:
dataitem | a dataitem that is input/output to a module execution |
module | the module/service that is to be executed |
moduleInstance | the module as represented in a workflow |
moduleExecution | the execution of a module |
workflow | a description of a process containing modules and connections |
workflowExecution | the representation of a workflow execution |
inputPort | represents a specific port thas can be assigned an input to a module execution |
outputPort | represents a specific port thas can contain a product of a module execution |
Relations
Relation | Input | Output | |
exists | all | boolean | |
equals | all | boolean | |
annotations | all | dict of key/value pairs | |
getInputPortForData dataItem inputPort getOutputPortForData dataItem outputPort getDataFromInputPort inputPort dataItem getDataFromOutputPort outputPort dataItem
hasInputPort moduleInstance inputPort inputPortOf inputPort moduleInstance hasOutputPort moduleInstance outputPort outputPortOf outputPort moduleInstance
outputOf dataItem moduleExecution
inputOf dataItem moduleExecution
hasOutput moduleExecution dataItem
hasInput moduleExecution dataItem
startTime moduleExecution time endTime moduleExecution time startTime workflowExecution time endTime workflowExecution time
executionOf moduleExecution moduleInstance executionOf workflowExecution workflowInstance
hasExecution moduleInstance moduleExecution hasExecution workflowInstance workflowExecution
executions workflowExecution moduleExecution executedIn moduleExecution workflowExecution
inWorkflow moduleInstance workflow hasModule workflow moduleInstance
connectedTo inputPort outputPort connectedTo outputPort inputPort
runsModule moduleInstance module hasInstance module moduleInstance
derived relations: (might be native)
derivedFrom dataItem dataItem derivedData dataItem dataItem previousModuleExecution moduleExecution moduleExecution
transitive relations:
datatype relation
upstreams:
dataitem derivedFrom - .outputOf()[forall].hasInput() moduleInstance prevModuleInstance - .hasInputPort()[forall].connectedTo().outputPortOf() moduleExecution prevModuleExecution - .hasInput()[forall].OutputOf()
downstreams:
dataitem derivedData - .inputOf()[forall].hasOutput() moduleInstance nextModuleInstance - .hasOutputPort()[forall].connectedTo().inputPortOf() moduleExecution nextModuleExecution - .hasOutput()[forall].inputOf()
--Tommy 09:05, 12 April 2007 (MDT)