Skip to content

Commit

Permalink
Refactored Workflow
Browse files Browse the repository at this point in the history
- removed the redundand concept of "step"
- introduced tasks by flow and position
- introduced the iterative task relation
  • Loading branch information
emanueleghedini committed Dec 6, 2024
1 parent 3d2a571 commit 66e469c
Showing 1 changed file with 47 additions and 19 deletions.
66 changes: 47 additions & 19 deletions reference/workflow.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,29 @@ Workflows may also be extended reductionistically into serial and parallel workf

### https://w3id.org/emmo#EMMO_4ab7fb52_cec3_4c00_90c0_5648f01e3296
:EMMO_4ab7fb52_cec3_4c00_90c0_5648f01e3296 rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :EMMO_70da982d_1810_4b01_9630_a28e216ecd9a ;
rdfs:subPropertyOf :EMMO_9558cd58_9847_4a0b_936d_32ca83a827a1 ;
rdfs:range :EMMO_fa595892_070d_455e_9459_06c97179c080 ;
skos:prefLabel "hasBeginTask"@en ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "The relation identifying the tasks of a workflow that are not causally temporally dependent by other parts of the workflow."@en .


### https://w3id.org/emmo#EMMO_62a1601d_0d97_4103_b972_3bbc30839f91
:EMMO_62a1601d_0d97_4103_b972_3bbc30839f91 rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :EMMO_70da982d_1810_4b01_9630_a28e216ecd9a ;
rdfs:domain :EMMO_64963ed6_39c9_4258_85e0_6466c4b5420c ;
rdfs:range :EMMO_9ac10a20_63d0_4bbd_a5d3_f00a0ad4682c ,
:EMMO_ddecfff6_d3a1_4972_b9e9_3d0ca11a3a0b ;
skos:prefLabel "hasIterativeTask"@en .


### https://w3id.org/emmo#EMMO_62a76e62_9e17_4f2f_a42c_fc3d0df08cd9
:EMMO_62a76e62_9e17_4f2f_a42c_fc3d0df08cd9 rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :EMMO_70da982d_1810_4b01_9630_a28e216ecd9a ;
rdfs:domain :EMMO_64963ed6_39c9_4258_85e0_6466c4b5420c ;
rdfs:range :EMMO_2666a7e3_2ad4_49a0_899e_329607231f4b ;
skos:prefLabel "hasSerialTask"@en .


### https://w3id.org/emmo#EMMO_70da982d_1810_4b01_9630_a28e216ecd9a
:EMMO_70da982d_1810_4b01_9630_a28e216ecd9a rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :EMMO_8e52c42b_e879_4473_9fa1_4b23428b392b ;
Expand All @@ -48,11 +66,20 @@ Workflows may also be extended reductionistically into serial and parallel workf

### https://w3id.org/emmo#EMMO_92227f7f_22e9_4b19_a011_920eac3c7b75
:EMMO_92227f7f_22e9_4b19_a011_920eac3c7b75 rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :EMMO_70da982d_1810_4b01_9630_a28e216ecd9a ;
rdfs:subPropertyOf :EMMO_9558cd58_9847_4a0b_936d_32ca83a827a1 ;
rdfs:range :EMMO_8a2a1cbc_dfc3_4e6c_b337_00ee56fd438a ;
skos:prefLabel "hasEndTask"@en ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "The relation identifying the tasks of a workflow that are not a temporal cause of other parts of the workflow."@en .


### https://w3id.org/emmo#EMMO_9558cd58_9847_4a0b_936d_32ca83a827a1
:EMMO_9558cd58_9847_4a0b_936d_32ca83a827a1 rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :EMMO_70da982d_1810_4b01_9630_a28e216ecd9a ,
:EMMO_74a75cf1_3418_4244_b43c_b5db94635d42 ;
rdfs:range :EMMO_9f6ec830_c59f_46aa_8a22_945ba20b6ea3 ;
skos:prefLabel "hasTaskTile"@en .


### https://w3id.org/emmo#EMMO_dbe39465_6cf4_4592_b0c5_b7446789a37b
:EMMO_dbe39465_6cf4_4592_b0c5_b7446789a37b rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :EMMO_54d0d0f4_d9fa_4179_a9b5_4110c49dafff ;
Expand All @@ -68,32 +95,32 @@ Workflows may also be extended reductionistically into serial and parallel workf
### https://w3id.org.org/emmo#EMMO_180bd73b_0c5d_4b1f_ba12_4309c5a50d49
<https://w3id.org.org/emmo#EMMO_180bd73b_0c5d_4b1f_ba12_4309c5a50d49> rdf:type owl:Class ;
rdfs:subClassOf :EMMO_9f6ec830_c59f_46aa_8a22_945ba20b6ea3 ;
skos:prefLabel "StepByPosition"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "A step in a workflow, categorised by its position in the workflow."@en .
skos:prefLabel "TaskByPosition"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "A task in a workflow, categorised by its position in the workflow."@en .


### https://w3id.org.org/emmo#EMMO_1a6ddb13_49ff_4305_97a1_d1458d51c066
<https://w3id.org.org/emmo#EMMO_1a6ddb13_49ff_4305_97a1_d1458d51c066> rdf:type owl:Class ;
rdfs:subClassOf :EMMO_9f6ec830_c59f_46aa_8a22_945ba20b6ea3 ;
skos:prefLabel "StepByFlow"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "A step in a workflow, categorised by how it is connected to other steps."@en .
skos:prefLabel "TaskByFlow"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "A task in a workflow, categorised by how it is connected to other tasks."@en .


### https://w3id.org/emmo#EMMO_2666a7e3_2ad4_49a0_899e_329607231f4b
:EMMO_2666a7e3_2ad4_49a0_899e_329607231f4b rdf:type owl:Class ;
rdfs:subClassOf <https://w3id.org.org/emmo#EMMO_1a6ddb13_49ff_4305_97a1_d1458d51c066> ,
:EMMO_504ad89e_dd4a_4fa6_aeb6_15c8ce0cde9b ;
skos:prefLabel "SerialStep"@en ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "A step that is a temporal tile of a workflow when there are no other activities taking place concurrently (i.e., no parallelism)."@en .
skos:prefLabel "SerialTask"@en ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "A task that is a temporal tile of a workflow when there are no other activities taking place concurrently (i.e., no parallelism)."@en .


### https://w3id.org/emmo#EMMO_322ce14e_9ede_4841_ad70_302b4d6c5f28
:EMMO_322ce14e_9ede_4841_ad70_302b4d6c5f28 rdf:type owl:Class ;
rdfs:subClassOf <https://w3id.org.org/emmo#EMMO_180bd73b_0c5d_4b1f_ba12_4309c5a50d49> ,
:EMMO_caa63d00_80b1_4408_ac1b_cd0d23b0ec50 ;
skos:prefLabel "InternalStep"@en ;
skos:prefLabel "InternalTask"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "https://w3id.org/emmo/raw/1.0.0-rc3/doc/figs/ThroughTile.png"^^xsd:anyURI ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "A generic step in a workflow, that is not the begin or the end."@en .
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "A generic task in a workflow, that is not the begin or the end."@en .


### https://w3id.org/emmo#EMMO_4299e344_a321_4ef2_a744_bacfcce80afc
Expand Down Expand Up @@ -149,9 +176,9 @@ Concurrent tasks may or may not communicate. Communication is represented as a s
:EMMO_8a2a1cbc_dfc3_4e6c_b337_00ee56fd438a rdf:type owl:Class ;
rdfs:subClassOf <https://w3id.org.org/emmo#EMMO_180bd73b_0c5d_4b1f_ba12_4309c5a50d49> ,
:EMMO_edf72228_e040_4edc_8b46_78b2a47c72d7 ;
skos:prefLabel "EndStep"@en ;
skos:prefLabel "EndTask"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "https://w3id.org/emmo/raw/1.0.0-rc3/doc/figs/EndTile.png"^^xsd:anyURI ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "The final step of a workflow."@en ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "The final task of a workflow."@en ;
:EMMO_c7b62dd7_063a_4c2a_8504_42f7264ba83f "There may be more than one end task, if they run in parallel leading to more than one output."@en .


Expand All @@ -160,28 +187,29 @@ Concurrent tasks may or may not communicate. Communication is represented as a s
rdfs:subClassOf <https://w3id.org.org/emmo#EMMO_1a6ddb13_49ff_4305_97a1_d1458d51c066> ,
:EMMO_ddecfff6_d3a1_4972_b9e9_3d0ca11a3a0b ;
skos:example "A Jacobi method, involving the iterative multiplication between a matrix A and a vector x, which is part of larger workflow for the solution of a partial differential equation using finite differences."@en ;
skos:prefLabel "IterativeStep"@en ;
skos:prefLabel "IterativeTask"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "https://w3id.org/emmo/raw/1.0.0-rc3/doc/figs/IterativeWorkflow.png"^^xsd:anyURI ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "An iterative workflow which is a step of a larger workflow."@en .
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "An iterative workflow which is a task of a larger workflow."@en .


### https://w3id.org/emmo#EMMO_9f6ec830_c59f_46aa_8a22_945ba20b6ea3
:EMMO_9f6ec830_c59f_46aa_8a22_945ba20b6ea3 rdf:type owl:Class ;
rdfs:subClassOf :EMMO_4299e344_a321_4ef2_a744_bacfcce80afc ,
:EMMO_9953c19f_ee33_4af8_be5e_dbf6d1e33581 ;
skos:prefLabel "Step"@en ;
:EMMO_31252f35_c767_4b97_a877_1235076c3e13 "While a task is only an holistic part of a workflow, a step provide a more precise context about the placement of a task in the topological structure of a workflow by using a reductionistic categorization. A workflow is now seen as a tiling and a step is on of its tiles."@en ;
skos:altLabel "Step"@en ;
skos:prefLabel "TaskTile"@en ;
:EMMO_31252f35_c767_4b97_a877_1235076c3e13 "While a task is only an holistic part of a workflow, a task tile provide a more precise context about the placement of a task in the topological structure of a workflow by using a reductionistic categorization. A workflow is now seen as a tiling and the task is on of its tiles."@en ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "A task that is a well formed tile of a workflow, according to a reductionistic description."@en ;
:EMMO_c7b62dd7_063a_4c2a_8504_42f7264ba83f "A step is part of a specific granularity level for the workflow description, as composition of tasks."@en .
:EMMO_c7b62dd7_063a_4c2a_8504_42f7264ba83f "A task tile is part of a specific granularity level for the workflow description, as composition of tasks."@en .


### https://w3id.org/emmo#EMMO_b941e455_2cb1_4c11_93e3_17caa06086b4
:EMMO_b941e455_2cb1_4c11_93e3_17caa06086b4 rdf:type owl:Class ;
rdfs:subClassOf <https://w3id.org.org/emmo#EMMO_180bd73b_0c5d_4b1f_ba12_4309c5a50d49> ,
:EMMO_fa595892_070d_455e_9459_06c97179c080 ;
skos:prefLabel "BeginStep"@en ;
skos:prefLabel "BeginTask"@en ;
:EMMO_157fdf31_6387_42be_8e72_10530519214a "https://w3id.org/emmo/raw/1.0.0-rc3/doc/figs/BeginTile.png"^^xsd:anyURI ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "An initial step of a workflow."@en ;
:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "An initial task of a workflow."@en ;
:EMMO_c7b62dd7_063a_4c2a_8504_42f7264ba83f "There may be more than one begin task, if they run in parallel."@en .


Expand Down

0 comments on commit 66e469c

Please sign in to comment.