valueflows

valueflows docs
git clone https://s.sonu.ch/~srfsh/valueflows.git
Log | Files | Refs | README

commit cc8cb74086d070054d7cd1022da9b1284dfcd7d8
parent f71b635d0f485fdda58c31ddf2008ef2f1a2364c
Author: elf Pavlik <elf-pavlik@hackers4peace.net>
Date:   Thu,  8 Sep 2016 19:04:48 -0500

more snippets for produce-box

Diffstat:
Msnippets/3d-printed-parts/transport-process.yaml | 1-
Msnippets/produce-box/README.md | 4++++
Msnippets/produce-box/assemble-process.yaml | 57+++++++++++++++++++++++++++++++++++++++++++++++++--------
Asnippets/produce-box/box-after-transport.yaml | 21+++++++++++++++++++++
Msnippets/produce-box/box.yaml | 2+-
Asnippets/produce-box/disassemble-process.yaml | 61+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asnippets/produce-box/mini-stock-from-disassemble.yaml | 59+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asnippets/produce-box/transport-process.yaml | 24++++++++++++++++++++++++
8 files changed, 219 insertions(+), 10 deletions(-)

diff --git a/snippets/3d-printed-parts/transport-process.yaml b/snippets/3d-printed-parts/transport-process.yaml @@ -1,4 +1,3 @@ - '@context': - https://w3id.org/valueflows/v1 - fablab: https://fablab.example/ diff --git a/snippets/produce-box/README.md b/snippets/produce-box/README.md @@ -5,3 +5,7 @@ 4. [box.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/produce-box/box.yaml) 5. [boxes-after-assembly.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/produce-box/boxes-after-assembly.yaml) 6. [stock-after-assembly.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/produce-box/stock-after-assembly.yaml) +7. [transport-process.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/produce-box/transport-process.yaml) +8. [box-after-transport.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/produce-box/box-after-transport.yaml) +9. [disassemble-process.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/produce-box/disassemble-process.yaml) +10. [mini-stock-from-disassemble.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/produce-box/mini-stock-from-disassemble.yaml) diff --git a/snippets/produce-box/assemble-process.yaml b/snippets/produce-box/assemble-process.yaml @@ -7,7 +7,7 @@ '@type': vf:Transformation 'skos:note': assemble simple produce box - # combined box + # create combined box resource - '@id': boxcoop:83147f39-37ef-42e8-bd91-91b5e094cddd#event '@type': vf:IPOEvent 'vf:action': vf:create @@ -19,7 +19,7 @@ 'qudt:unit': unit:Each 'qudt:numericValue': 1 - # packaging + # split packaging - '@id': boxcoop:2efc07a1-3d5f-4fca-9d25-49be7ec9e311#event '@type': vf:IPOEvent 'vf:action': vf:consume @@ -31,7 +31,7 @@ 'qudt:unit': unit:Each 'qudt:numericValue': 1 - - '@id': boxcoop:f27f9b63-ce7a-429f-82fa-88238f2967b7#event + - '@id': boxcoop:7799d5f1-d6e7-4e3b-8070-e945a4d5d102#event '@type': vf:IPOEvent 'vf:action': vf:create 'vf:startTime': 2016-09-08 @@ -42,7 +42,7 @@ 'qudt:unit': unit:Each 'qudt:numericValue': 1 - # produce + # split produce - '@id': boxcoop:ddc8a3b5-1825-486a-8f6e-1df6726434ff#event '@type': vf:IPOEvent 'vf:action': vf:consume @@ -54,7 +54,7 @@ 'qudt:unit': unit:Kilogram 'qudt:numericValue': 1 - - '@id': boxcoop:1a574bb7-1058-4cbc-a560-70272c3a20c3#event + - '@id': boxcoop:e21d9297-c27d-456b-8218-68fe7d63a7a4#event '@type': vf:IPOEvent 'vf:action': vf:create 'vf:startTime': 2016-09-08 @@ -76,7 +76,7 @@ 'qudt:unit': unit:Kilogram 'qudt:numericValue': 1 - - '@id': boxcoop:2cad9c45-6588-44d6-86c1-17b91d2efef7#event + - '@id': boxcoop:54ce39b2-d943-441b-84c2-f5a68b4fcee5#event '@type': vf:IPOEvent 'vf:action': vf:create 'vf:startTime': 2016-09-08 @@ -98,7 +98,7 @@ 'qudt:unit': unit:Kilogram 'qudt:numericValue': 1 - - '@id': boxcoop:2830456e-b682-4438-accb-7f6f0e1f27f2#event + - '@id': boxcoop:cbe07b41-43af-4e4a-ae34-629acef39244#event '@type': vf:IPOEvent 'vf:action': vf:create 'vf:startTime': 2016-09-08 @@ -120,7 +120,7 @@ 'qudt:unit': unit:Kilogram 'qudt:numericValue': 1 - - '@id': boxcoop:eb61aaa4-b63b-4868-bdd5-88cbeb50a743#event + - '@id': boxcoop:cfef2e42-d994-419b-86a5-d1d063ba1b0f#event '@type': vf:IPOEvent 'vf:action': vf:create 'vf:startTime': 2016-09-08 @@ -130,3 +130,44 @@ '@type': qudt:QuantityValue 'qudt:unit': unit:Kilogram 'qudt:numericValue': 1 + + # assemble package + - '@id': boxcoop:f27f9b63-ce7a-429f-82fa-88238f2967b7#event + '@type': vf:IPOEvent + 'vf:action': vf:assemble + 'vf:startTime': 2016-09-08 + 'vf:executedIn': boxcoop:8b7c3d7c-720b-4599-b4b4-1ec4fe9f1b3d#process + 'vf:affects': boxcoop:67d034a0-7fd0-4d61-801c-6cdb952fc18b#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:1a574bb7-1058-4cbc-a560-70272c3a20c3#event + '@type': vf:IPOEvent + 'vf:action': vf:assemble + 'vf:startTime': 2016-09-08 + 'vf:executedIn': boxcoop:8b7c3d7c-720b-4599-b4b4-1ec4fe9f1b3d#process + 'vf:affects': boxcoop:c273020d-82ce-4b28-a573-491c7a62b833#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:2cad9c45-6588-44d6-86c1-17b91d2efef7#event + '@type': vf:IPOEvent + 'vf:action': vf:assemble + 'vf:startTime': 2016-09-08 + 'vf:executedIn': boxcoop:8b7c3d7c-720b-4599-b4b4-1ec4fe9f1b3d#process + 'vf:affects': boxcoop:51397872-0d32-437c-95a1-52ad3e2525c5#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:2830456e-b682-4438-accb-7f6f0e1f27f2#event + '@type': vf:IPOEvent + 'vf:action': vf:assemble + 'vf:startTime': 2016-09-08 + 'vf:executedIn': boxcoop:8b7c3d7c-720b-4599-b4b4-1ec4fe9f1b3d#process + 'vf:affects': boxcoop:71a4e8b5-ca2f-4aba-90f6-b6313f4da024#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:eb61aaa4-b63b-4868-bdd5-88cbeb50a743#event + '@type': vf:IPOEvent + 'vf:action': vf:assemble + 'vf:startTime': 2016-09-08 + 'vf:executedIn': boxcoop:8b7c3d7c-720b-4599-b4b4-1ec4fe9f1b3d#process + 'vf:affects': boxcoop:1461dec0-20b7-4b73-a26f-5ea94a5f6055#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource diff --git a/snippets/produce-box/box-after-transport.yaml b/snippets/produce-box/box-after-transport.yaml @@ -0,0 +1,21 @@ +'@context': + - https://w3id.org/valueflows/v1 + - boxcoop: https://boxcoop.example/ + prodont: http://www.productontology.org/id/ + +'@graph': + - '@id': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + '@type': vf:MaterialResource + 'vf:model': boxcoop:basic-produce-box#model + 'vf:currentLocation': boxcoop:73ba4b68-d94f-4c31-b17a-fc08d01ba955#place + 'vf:mostRecentEvent': boxcoop:83147f39-37ef-42e8-bd91-91b5e094cddd#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + 'vf:contains': + - boxcoop:67d034a0-7fd0-4d61-801c-6cdb952fc18b#resource + - boxcoop:c273020d-82ce-4b28-a573-491c7a62b833#resource + - boxcoop:51397872-0d32-437c-95a1-52ad3e2525c5#resource + - boxcoop:71a4e8b5-ca2f-4aba-90f6-b6313f4da024#resource + - boxcoop:1461dec0-20b7-4b73-a26f-5ea94a5f6055#resource diff --git a/snippets/produce-box/box.yaml b/snippets/produce-box/box.yaml @@ -63,7 +63,7 @@ '@type': vf:MaterialResource 'vf:category': prodont:Tomato 'vf:lotIdentifier': 58054c8d - 'vf:mostRecentEvent': 1a574bb7-1058-4cbc-a560-70272c3a20c3 + 'vf:mostRecentEvent': boxcoop:eb61aaa4-b63b-4868-bdd5-88cbeb50a743#event 'vf:quantity': '@type': qudt:QuantityValue 'qudt:unit': unit:Kilogram diff --git a/snippets/produce-box/disassemble-process.yaml b/snippets/produce-box/disassemble-process.yaml @@ -0,0 +1,61 @@ +'@context': + - https://w3id.org/valueflows/v1 + - boxcoop: https://boxcoop.example/ + +'@graph': + - '@id': boxcoop:6dd6f189-2dcb-47ee-a2d4-3c684246c53d#process + '@type': vf:Transformation + 'skos:note': disassemble simple produce box + + # destroy combined box resource + - '@id': boxcoop:83147f39-37ef-42e8-bd91-91b5e094cddd#event + '@type': vf:IPOEvent + 'vf:action': vf:consume + 'vf:startTime': 2016-09-09 + 'vf:executedIn': boxcoop:6dd6f189-2dcb-47ee-a2d4-3c684246c53d#process + 'vf:affects': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + # disassemble package + - '@id': boxcoop:5356dd0a-199e-40e5-b5e0-198383a2ab5b#event + '@type': vf:IPOEvent + 'vf:action': vf:disassemble + 'vf:startTime': 2016-09-09 + 'vf:executedIn': boxcoop:6dd6f189-2dcb-47ee-a2d4-3c684246c53d#process + 'vf:affects': boxcoop:67d034a0-7fd0-4d61-801c-6cdb952fc18b#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:6b59a069-fc86-454c-b7ad-bc3230a96596#event + '@type': vf:IPOEvent + 'vf:action': vf:disassemble + 'vf:startTime': 2016-09-09 + 'vf:executedIn': boxcoop:6dd6f189-2dcb-47ee-a2d4-3c684246c53d#process + 'vf:affects': boxcoop:c273020d-82ce-4b28-a573-491c7a62b833#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:f1e8608f-41a6-436e-b450-22fca2bbca64#event + '@type': vf:IPOEvent + 'vf:action': vf:disassemble + 'vf:startTime': 2016-09-09 + 'vf:executedIn': boxcoop:6dd6f189-2dcb-47ee-a2d4-3c684246c53d#process + 'vf:affects': boxcoop:51397872-0d32-437c-95a1-52ad3e2525c5#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:482851a2-adf7-439e-b7a1-ef4f0f84b1bc#event + '@type': vf:IPOEvent + 'vf:action': vf:disassemble + 'vf:startTime': 2016-09-09 + 'vf:executedIn': boxcoop:6dd6f189-2dcb-47ee-a2d4-3c684246c53d#process + 'vf:affects': boxcoop:71a4e8b5-ca2f-4aba-90f6-b6313f4da024#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:440147e0-0df4-401d-9ef3-ad70e337a400#event + '@type': vf:IPOEvent + 'vf:action': vf:disassemble + 'vf:startTime': 2016-09-09 + 'vf:executedIn': boxcoop:6dd6f189-2dcb-47ee-a2d4-3c684246c53d#process + 'vf:affects': boxcoop:1461dec0-20b7-4b73-a26f-5ea94a5f6055#resource + 'vf:container': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource diff --git a/snippets/produce-box/mini-stock-from-disassemble.yaml b/snippets/produce-box/mini-stock-from-disassemble.yaml @@ -0,0 +1,59 @@ +'@context': + - https://w3id.org/valueflows/v1 + - boxcoop: https://boxcoop.example/ + prodont: http://www.productontology.org/id/ + +'@graph': + - '@id': boxcoop:67d034a0-7fd0-4d61-801c-6cdb952fc18b#resource + '@type': vf:MaterialResource + 'vf:model': acme:wooden-produce-box#model + 'vf:currentLocation': boxcoop:73ba4b68-d94f-4c31-b17a-fc08d01ba955#place + 'vf:mostRecentEvent': boxcoop:5356dd0a-199e-40e5-b5e0-198383a2ab5b#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': boxcoop:c273020d-82ce-4b28-a573-491c7a62b833#resource + '@type': vf:MaterialResource + 'vf:category': prodont:Apple + 'vf:lotIdentifier': 615c9abe + 'vf:currentLocation': boxcoop:73ba4b68-d94f-4c31-b17a-fc08d01ba955#place + 'vf:mostRecentEvent': boxcoop:6b59a069-fc86-454c-b7ad-bc3230a96596#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Kilogram + 'qudt:numericValue': 1 + + - '@id': boxcoop:51397872-0d32-437c-95a1-52ad3e2525c5#resource + '@type': vf:MaterialResource + 'vf:category': prodont:Onion + 'vf:lotIdentifier': 37591c70 + 'vf:currentLocation': boxcoop:73ba4b68-d94f-4c31-b17a-fc08d01ba955#place + 'vf:mostRecentEvent': boxcoop:f1e8608f-41a6-436e-b450-22fca2bbca64#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Kilogram + 'qudt:numericValue': 1 + + - '@id': boxcoop:71a4e8b5-ca2f-4aba-90f6-b6313f4da024#resource + '@type': vf:MaterialResource + 'vf:category': prodont:Carrot + 'vf:lotIdentifier': 93eb3164 + 'vf:currentLocation': boxcoop:73ba4b68-d94f-4c31-b17a-fc08d01ba955#place + 'vf:mostRecentEvent': boxcoop:482851a2-adf7-439e-b7a1-ef4f0f84b1bc#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Kilogram + 'qudt:numericValue': 1 + + - '@id': boxcoop:1461dec0-20b7-4b73-a26f-5ea94a5f6055#resource + '@type': vf:MaterialResource + 'vf:category': prodont:Tomato + 'vf:lotIdentifier': 58054c8d + 'vf:currentLocation': boxcoop:73ba4b68-d94f-4c31-b17a-fc08d01ba955#place + 'vf:mostRecentEvent': boxcoop:440147e0-0df4-401d-9ef3-ad70e337a400#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Kilogram + 'qudt:numericValue': 1 diff --git a/snippets/produce-box/transport-process.yaml b/snippets/produce-box/transport-process.yaml @@ -0,0 +1,24 @@ +'@context': + - https://w3id.org/valueflows/v1 + - boxcoop: https://boxcoop.example/ + +'@graph': + - '@id': boxcoop:16e0a6c6-eefe-4c2b-8258-63b7f7d61a82#process + '@type': vf:Transportation + 'skos:note': transporting produce box + + - '@id': boxcoop:6fe65969-08a6-4487-ac21-50203fa91d33#event + '@type': vf:IPOEvent + 'vf:action': vf:load + 'vf:startTime': 2016-09-09 + 'vf:atLocation': boxcoop:98c38881-696d-4339-a823-3f6960bc9141#place + 'vf:executedIn': boxcoop:16e0a6c6-eefe-4c2b-8258-63b7f7d61a82#process + 'vf:affects': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource + + - '@id': boxcoop:a66b8eb6-5ba6-40d9-b0a9-1c7fbe72295a#event + '@type': vf:IPOEvent + 'vf:action': vf:unload + 'vf:startTime': 2016-09-09 + 'vf:atLocation': boxcoop:73ba4b68-d94f-4c31-b17a-fc08d01ba955#place + 'vf:executedIn': boxcoop:16e0a6c6-eefe-4c2b-8258-63b7f7d61a82#process + 'vf:affects': boxcoop:2b83f582-de8e-4c65-ab46-c8cf65e2075b#resource