Open Provenance Model for Workflows (OPMW)¶
OPMW, the Open Provenance Model for Workflows, is an ontology for the semantic description of computational workflow templates and their execution provenance [1] [2]. It provides a structured vocabulary for representing workflow templates, workflow steps, input and output artifacts, execution processes, agents, parameter values, software components, and provenance relationships that describe how data and computational activities are connected [1].
The ontology supports representation of both the prospective structure of a workflow and the retrospective provenance of its execution [1] [2]. This makes it possible to describe how computational results were produced, which inputs and tools were used, what intermediate and final outputs were generated, and how individual workflow steps were related [2]. OPMW supports the publication of workflow descriptions and execution information as Linked Data, facilitating workflow sharing, discovery, comparison, and reuse [2].
Typical applications of OPMW include scientific workflow documentation, workflow repository metadata, provenance tracking, reproducibility support, and semantic publication of computational workflows [1] [2]. By providing a common semantic representation for workflow structure and execution provenance, OPMW enables researchers to publish, discover, understand, and reuse workflows across scientific computing environments [2].
Example Usage: Annotate a bioinformatics workflow with OPMW terms to describe workflow steps such as sequence alignment and variant calling, input datasets, generated outputs, software components, parameter values, execution processes, and provenance relationships. This provides a machine-readable description of both the workflow design and its execution history, supporting reproducibility, provenance analysis, discovery, and reuse [1] [2].
Metrics & Statistics¶
Total Nodes |
539 |
Total Edges |
1387 |
Root Nodes |
33 |
Leaf Nodes |
306 |
Classes |
59 |
Individuals |
2 |
Properties |
87 |
Maximum Depth |
6 |
Minimum Depth |
0 |
Average Depth |
2.14 |
Depth Variance |
2.07 |
Maximum Breadth |
59 |
Minimum Breadth |
5 |
Average Breadth |
31.57 |
Breadth Variance |
405.67 |
Term Types |
0 |
Taxonomic Relations |
77 |
Non-taxonomic Relations |
4 |
Average Terms per Type |
0.00 |
Usage Example¶
Use the following code to import this ontology programmatically:
from ontolearner.ontology import OPMW
ontology = OPMW()
ontology.load("path/to/OPMW-ontology.owl")
# Extract datasets
data = ontology.extract()
# Access specific relations
term_types = data.term_typings
taxonomic_relations = data.type_taxonomies
non_taxonomic_relations = data.type_non_taxonomic_relations