valueflows

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

commit bc4dd21666a05f57ca1aff91c3d6257d9153c978
parent 34a5be19544f319acf6ef999b9fe9027bd36a265
Author: Lynn Foster <foster.j.lynn@gmail.com>
Date:   Tue, 13 Sep 2016 14:21:57 -0500

YAML for bike production processes for resource flow query on serial and stock resources

Diffstat:
Asnippets/bikes-transform-alt/README.md | 12++++++++++++
Asnippets/bikes-transform-alt/disassemble-process-4.yaml | 53+++++++++++++++++++++++++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/issue-process-2-1.yaml | 32++++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/issue-process-2-2.yaml | 33+++++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/produce-process-1-1.yaml | 31+++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/produce-process-1-2.yaml | 31+++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/produce-process-3.yaml | 53+++++++++++++++++++++++++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/resources-0.yaml | 40++++++++++++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/resources-1.yaml | 38++++++++++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/resources-2.yaml | 30++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/resources-3.yaml | 38++++++++++++++++++++++++++++++++++++++
Asnippets/bikes-transform-alt/resources-4.yaml | 38++++++++++++++++++++++++++++++++++++++
12 files changed, 429 insertions(+), 0 deletions(-)

diff --git a/snippets/bikes-transform-alt/README.md b/snippets/bikes-transform-alt/README.md @@ -0,0 +1,12 @@ +1. [resources-0.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/resources-0.yaml) +1. [produce-process-1.1.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/produce-process-1.1.yaml) +1. [produce-process-1.2.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/produce-process-1.2.yaml) +1. [resources-1.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/resources-1.yaml) +1. [issue-process-2-1.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/issue-process-2-1.yaml) +1. [issue-process-2-2.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/issue-process-2-2.yaml) +1. [resources-2.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/resources-2.yaml) +1. [produce-process-3.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/produce-process-3.yaml) +1. [resources-3.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/resources-3.yaml) +1. [disassemble-process-4.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/disassemble-process-4.yaml) +1. [resources-4.yaml](https://github.com/valueflows/valueflows/blob/master/snippets/bikes-transform-alt/resources-4.yaml) + diff --git a/snippets/bikes-transform-alt/disassemble-process-4.yaml b/snippets/bikes-transform-alt/disassemble-process-4.yaml @@ -0,0 +1,53 @@ + +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:82964ab0-b4de-43e6-9625-4579c31cfa5c#process + '@type': vf:Transformation + 'skos:note': disassembling a bike + + - '@id': bkitchen:2652ad73-e518-41bc-bb79-0c9c1d3cb29b#event + '@type': vf:IPOEvent + 'vf:action': vf:consume + 'vf:startTime': 2016-09-05 + 'vf:executedIn': bkitchen:82964ab0-b4de-43e6-9625-4579c31cfa5c#process + 'vf:affects': bkitchen:3965e58b-787c-4728-a802-63aeec53993b#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:dfsd90f9-2dbe-41a0-a8ea-089wre94444#event + '@type': vf:IPOEvent + 'vf:action': vf:disassemble + 'vf:startTime': 2016-09-05 + 'vf:executedIn': bkitchen:82964ab0-b4de-43e6-9625-4579c31cfa5c#process + 'vf:affects': bkitchen:43458403-176b-4ae0-bd86-5954353433#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:dfsd90f9-2dbe-41a0-a8ea-089wre94444#event + '@type': vf:IPOEvent + 'vf:action': vf:produce + 'vf:startTime': 2016-09-05 + 'vf:executedIn': bkitchen:82964ab0-b4de-43e6-9625-4579c31cfa5c#process + 'vf:affects': bkitchen:res89s89d-dfs8ds87d8#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 1.5 + + - '@id': bkitchen:dfsd90f9-2dbe-41a0-a8ea-089wre94445#event + '@type': vf:IPOEvent + 'vf:action': vf:produce + 'vf:startTime': 2016-09-05 + 'vf:executedIn': bkitchen:82964ab0-b4de-43e6-9625-4579c31cfa5c#process + 'vf:affects': bkitchen:res89s89d-ewr89ew8ee#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 3.8 diff --git a/snippets/bikes-transform-alt/issue-process-2-1.yaml b/snippets/bikes-transform-alt/issue-process-2-1.yaml @@ -0,0 +1,32 @@ + +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + - metalmfg: https://metal-manufacturing.example/ + +'@graph': + - '@id': bkitchen:66ed2c1b-0a45-478b-8df2-dfuodsufoid#process + '@type': vf:Process + 'skos:note': issuing and receiving parts + + - '@id': metalmfg:546456546-2dbe-41a0-a8ea-13bd29c0572c#event + '@type': vf:IPOEvent + 'vf:action': vf:issue + 'vf:startTime': 2015-07-22 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-dfuodsufoid#process + 'vf:affects': metalmfg:90dfs098sf-324j23kl4#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 200 + + - '@id': bkitchen:d9406b1b-9055-44b5-a0ff-0875207ccf3a#event + '@type': vf:IPOEvent + 'vf:action': vf:receive + 'vf:startTime': 2015-07-22 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-dfuodsufoid#process + 'vf:affects': bkitchen:90d8f9sf890-v89f789ff#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 200 diff --git a/snippets/bikes-transform-alt/issue-process-2-2.yaml b/snippets/bikes-transform-alt/issue-process-2-2.yaml @@ -0,0 +1,32 @@ + +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + - fastmfg: https://fastener-manufacturing.example/ + +'@graph': + - '@id': bkitchen:66ed2c1b-0a45-478b-8df2-er8ew9ewr90#process + '@type': vf:Process + 'skos:note': issuing and receiving parts + + - '@id': fastmfg:546456546-2dbe-41a0-a8ea-ds890sd09d#event + '@type': vf:IPOEvent + 'vf:action': vf:issue + 'vf:startTime': 2015-07-23 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-er8ew9ewr90#process + 'vf:affects': fastmfg:sd09f8ds90-ewr890wer8#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 100 + + - '@id': bkitchen:d9406b1b-9055-44b5-a0ff-dsf908sd908f#event + '@type': vf:IPOEvent + 'vf:action': vf:receive + 'vf:startTime': 2015-07-23 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-er8ew9ewr90#process + 'vf:affects': bkitchen:90d8f9sf890-v89f789ff#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 100+ \ No newline at end of file diff --git a/snippets/bikes-transform-alt/produce-process-1-1.yaml b/snippets/bikes-transform-alt/produce-process-1-1.yaml @@ -0,0 +1,31 @@ + +'@context': + - https://w3id.org/valueflows/v1 + - metalmfg: https://metal-manufacturing.example/ + +'@graph': + - '@id': metalmfg:44442c1b-0a45-478b-8df2-eb9993dc9144#process + '@type': vf:Transformation + 'skos:note': producing 6mm bolts + + - '@id': metalmfg:48eeb731-2dbe-41a0-a8ea-13bd29c0572c#event + '@type': vf:IPOEvent + 'vf:action': vf:consume + 'vf:startTime': 2015-06-25 + 'vf:executedIn': metalmfg:44442c1b-0a45-478b-8df2-eb9993dc9144#process + 'vf:affects': metalmfg:sad079009-0989dfs89d#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 5 + + - '@id': metalmfg:d9406b1b-9055-44b5-a0ff-0875207ccf3a#event + '@type': vf:IPOEvent + 'vf:action': vf:produce + 'vf:startTime': 2015-06-25 + 'vf:executedIn': metalmfg:44442c1b-0a45-478b-8df2-eb9993dc9144#process + 'vf:affects': metalmfg:90dfs098sf-324j23kl4#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 500 diff --git a/snippets/bikes-transform-alt/produce-process-1-2.yaml b/snippets/bikes-transform-alt/produce-process-1-2.yaml @@ -0,0 +1,31 @@ + +'@context': + - https://w3id.org/valueflows/v1 + - fastmfg: https://fastener-manufacturing.example/ + +'@graph': + - '@id': fastmfg:sdf908fds-0a45-478b-8df2-dfs9089s0df#process + '@type': vf:Transformation + 'skos:note': producing 6mm bolts + + - '@id': fastmfg:48eeb731-2dbe-41a0-a8ea-13bd29c0572c#event + '@type': vf:IPOEvent + 'vf:action': vf:consume + 'vf:startTime': 2015-05-25 + 'vf:executedIn': fastmfg:sdf908fds-0a45-478b-8df2-dfs9089s0df#process + 'vf:affects': fastmfg:324lk2j4kk-0989dfs89d#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 5 + + - '@id': fastmfg:d9406b1b-9055-44b5-a0ff-0875207ccf3a#event + '@type': vf:IPOEvent + 'vf:action': vf:produce + 'vf:startTime': 2015-05-25 + 'vf:executedIn': fastmfg:sdf908fds-0a45-478b-8df2-dfs9089s0df#process + 'vf:affects': fastmfg:sd09f8ds90-ewr890wer8#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 500 diff --git a/snippets/bikes-transform-alt/produce-process-3.yaml b/snippets/bikes-transform-alt/produce-process-3.yaml @@ -0,0 +1,53 @@ + +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:66ed2c1b-0a45-478b-8df2-eb9993dc91a3#process + '@type': vf:Transformation + 'skos:note': producing a bike + + - '@id': bkitchen:48eeb731-2dbe-41a0-a8ea-13bd29c0572c#event + '@type': vf:IPOEvent + 'vf:action': vf:assemble + 'vf:startTime': 2015-07-25 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-eb9993dc91a3#process + 'vf:affects': bkitchen:90d8f9sf890-v89f789ff#resource#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 20 + + - '@id': bkitchen:48eeb731-2dbe-41a0-a8ea-089wre98wec#event + '@type': vf:IPOEvent + 'vf:action': vf:assemble + 'vf:startTime': 2015-07-25 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-eb9993dc91a3#process + 'vf:affects': bkitchen:2ffb24c7-176b-4ae0-bd86-3453453450#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:48eeb731-2dbe-41a0-a8ea-098sdf90dd#event + '@type': vf:IPOEvent + 'vf:action': vf:consume + 'vf:startTime': 2015-07-25 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-eb9993dc91a3#process + 'vf:affects': bkitchen:3965e58b-787c-4728-a802-63aeec53993b#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 2.3 + + - '@id': bkitchen:d9406b1b-9055-44b5-a0ff-0875207ccf3a#event + '@type': vf:IPOEvent + 'vf:action': vf:produce + 'vf:startTime': 2015-07-25 + 'vf:executedIn': bkitchen:66ed2c1b-0a45-478b-8df2-eb9993dc91a3#process + 'vf:affects': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource + 'vf:affectedQuantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 diff --git a/snippets/bikes-transform-alt/resources-0.yaml b/snippets/bikes-transform-alt/resources-0.yaml @@ -0,0 +1,39 @@ +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + - metalmfg: https://metal-manufacturing.example/ + - fastmfg: https://fastener-manufacturing.example/ + +'@graph': + - '@id': bkitchen:3965e58b-787c-4728-a802-63aeec53993b#resource + '@type': vf:Resource + 'vf:model': bkitchen:blue-bike-paint#model + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 10 + + - '@id': bkitchen:2ffb24c7-176b-4ae0-bd86-3453453450#resource + '@type': vf:Resource + 'vf:serialIdentifier': 595f731c2111 + 'vf:model': bkitchen:cargobee-frame#model + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': metalmfg:sad079009-0989dfs89d#resource + '@type': vf:Resource + 'vf:model': metalmfg:g-steel + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 10 + + - '@id': fastmfg:324lk2j4kk-0989dfs89d#resource + '@type': vf:Resource + 'vf:model': metalmfg:g-steel + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 15+ \ No newline at end of file diff --git a/snippets/bikes-transform-alt/resources-1.yaml b/snippets/bikes-transform-alt/resources-1.yaml @@ -0,0 +1,37 @@ +'@context': + - https://w3id.org/valueflows/v1 + - metalmfg: https://metal-manufacturing.example/ + - fastmfg: https://fastener-manufacturing.example/ + +'@graph': + - '@id': metalmfg:sad079009-0989dfs89d#resource + '@type': vf:Resource + 'vf:model': metalmfg:g-steel + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 5 + + - '@id': fastmfg:324lk2j4kk-0989dfs89d#resource + '@type': vf:Resource + 'vf:model': metalmfg:g-steel + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 10 + + - '@id': metalmfg:d89789sss-sdf890sdf8#resource + '@type': vf:Resource + 'vf:model': metalmfg:6mm-bolt + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 500 + + - '@id': fastmfg:j90jh809h90-90dsf89dff#resource + '@type': vf:Resource + 'vf:model': metalmfg:6mm-bolt + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 500+ \ No newline at end of file diff --git a/snippets/bikes-transform-alt/resources-2.yaml b/snippets/bikes-transform-alt/resources-2.yaml @@ -0,0 +1,30 @@ +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + - metalmfg: https://metal-manufacturing.example/ + - fastmfg: https://fastener-manufacturing.example/ + +'@graph': + - '@id': metalmfg:d89789sss-sdf890sdf8#resource + '@type': vf:Resource + 'vf:model': metalmfg:6mm-bolt + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 300 + + - '@id': fastmfg:j90jh809h90-90dsf89dff#resource + '@type': vf:Resource + 'vf:model': metalmfg:6mm-bolt + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 400 + + - '@id': bkitchen:90d8f9sf890-v89f789ff#resource + '@type': vf:Resource + 'vf:model': metalmfg:6mm-bolt + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 300 diff --git a/snippets/bikes-transform-alt/resources-3.yaml b/snippets/bikes-transform-alt/resources-3.yaml @@ -0,0 +1,38 @@ +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource + '@type': vf:Resource + 'vf:serialIdentifier': 595f731c2800 + 'vf:model': bkitchen:cargobee#model + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:3965e58b-787c-4728-a802-63aeec53993b#resource + '@type': vf:Resource + 'vf:model': bkitchen:blue-bike-paint#model + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 7.7 + + - '@id': bkitchen:2ffb24c7-176b-4ae0-bd86-3453453450#resource + '@type': vf:Resource + 'vf:serialIdentifier': 595f731c2111 + 'vf:model': bkitchen:cargobee-frame#model + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 0 + + - '@id': bkitchen:90d8f9sf890-v89f789ff#resource + '@type': vf:Resource + 'vf:model': metalmfg:6mm-bolt + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 280 diff --git a/snippets/bikes-transform-alt/resources-4.yaml b/snippets/bikes-transform-alt/resources-4.yaml @@ -0,0 +1,38 @@ +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource + '@type': vf:Resource + 'vf:serialIdentifier': 595f731c2800 + 'vf:model': bkitchen:cargobee#model + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 0 + + - '@id': bkitchen:43458403-176b-4ae0-bd86-8907re87wew#resource + '@type': vf:Resource + 'vf:serialIdentifier': 595f731c2111 + 'vf:model': bkitchen:cargobee-frame-used#model + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:res89s89d-dfs8ds87d8#resource + '@type': vf:Resource + 'vf:model': metalmfg:g-steel + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 1.5 + + - '@id': bkitchen:res89s89d-ewr89ew8ee#resource + '@type': vf:Resource + 'vf:model': bkitchen:waste + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:kg + 'qudt:numericValue': 3.8