valueflows

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

commit 6ae0b0fdd13a6b9c9c4a34b1fd31a3475e06e342
parent 79573446c78775f6938d1eef089c7ba9f65a16be
Author: elf Pavlik <elf-pavlik@hackers4peace.net>
Date:   Tue,  6 Sep 2016 19:50:37 -0500

added initial snippets for bikes

Diffstat:
Asnippets/bikes/assemble-process.yaml | 31+++++++++++++++++++++++++++++++
Asnippets/bikes/bikes-after-assemble.yaml | 28++++++++++++++++++++++++++++
Asnippets/bikes/bikes-after-disassemble.yaml | 27+++++++++++++++++++++++++++
Asnippets/bikes/bikes-after-transport.yaml | 28++++++++++++++++++++++++++++
Asnippets/bikes/disassemble-process.yaml | 20++++++++++++++++++++
Asnippets/bikes/transport-process.yaml | 25+++++++++++++++++++++++++
6 files changed, 159 insertions(+), 0 deletions(-)

diff --git a/snippets/bikes/assemble-process.yaml b/snippets/bikes/assemble-process.yaml @@ -0,0 +1,31 @@ + +'@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': assembling two bikes + + - '@id': bkitchen:48eeb731-2dbe-41a0-a8ea-13bd29c0572c#event + '@type': vf:IPOEvent + 'vf:action': vf:create + '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:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:d9406b1b-9055-44b5-a0ff-0875207ccf3a#event + '@type': vf:IPOEvent + 'vf:action': vf:create + '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/bikes-after-assemble.yaml b/snippets/bikes/bikes-after-assemble.yaml @@ -0,0 +1,28 @@ +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:3965e58b-787c-4728-a802-63aeec53993b#resource + '@type': vf:Resource + 'vf:uuid': 3965e58b-787c-4728-a802-63aeec53993b + 'vf:serialIdentifier': 3965e58b-787c-4728-a802-63aeec53993b + 'vf:model': bkitchen:cargobee#model + 'vf:currentLocation': bkitchen:0d1ca5ca-96a5-42d9-99e9-e8780f303f0d#place + 'vf:mostRecentEvent': bkitchen:48eeb731-2dbe-41a0-a8ea-13bd29c0572c#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource + '@type': vf:Resource + 'vf:uuid': 2ffb24c7-176b-4ae0-bd86-595f731c2800 + 'vf:serialIdentifier': 2ffb24c7-176b-4ae0-bd86-595f731c2800 + 'vf:model': bkitchen:cargobee#model + 'vf:currentLocation': bkitchen:0d1ca5ca-96a5-42d9-99e9-e8780f303f0d#place + 'vf:mostRecentEvent': bkitchen:d9406b1b-9055-44b5-a0ff-0875207ccf3a#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 diff --git a/snippets/bikes/bikes-after-disassemble.yaml b/snippets/bikes/bikes-after-disassemble.yaml @@ -0,0 +1,27 @@ +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:3965e58b-787c-4728-a802-63aeec53993b#resource + '@type': vf:Resource + 'vf:uuid': 3965e58b-787c-4728-a802-63aeec53993b + 'vf:serialIdentifier': 3965e58b-787c-4728-a802-63aeec53993b + 'vf:model': bkitchen:cargobee#model + 'vf:mostRecentEvent': bkitchen:2652ad73-e518-41bc-bb79-0c9c1d3cb29b#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 0 + + - '@id': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource + '@type': vf:Resource + 'vf:uuid': 2ffb24c7-176b-4ae0-bd86-595f731c2800 + 'vf:serialIdentifier': 2ffb24c7-176b-4ae0-bd86-595f731c2800 + 'vf:model': bkitchen:cargobee#model + 'vf:currentLocation': bkitchen:bcb746f4-53f9-41a5-9496-e0cf6fa11ee1#place + 'vf:mostRecentEvent': bkitchen:f277c9f6-01cc-498c-a90b-4e42879bc76a#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 diff --git a/snippets/bikes/bikes-after-transport.yaml b/snippets/bikes/bikes-after-transport.yaml @@ -0,0 +1,28 @@ +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:3965e58b-787c-4728-a802-63aeec53993b#resource + '@type': vf:Resource + 'vf:uuid': 3965e58b-787c-4728-a802-63aeec53993b + 'vf:serialIdentifier': 3965e58b-787c-4728-a802-63aeec53993b + 'vf:model': bkitchen:cargobee#model + 'vf:currentLocation': bkitchen:0d1ca5ca-96a5-42d9-99e9-e8780f303f0d#place + 'vf:mostRecentEvent': bkitchen:48eeb731-2dbe-41a0-a8ea-13bd29c0572c#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 + + - '@id': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource + '@type': vf:Resource + 'vf:uuid': 2ffb24c7-176b-4ae0-bd86-595f731c2800 + 'vf:serialIdentifier': 2ffb24c7-176b-4ae0-bd86-595f731c2800 + 'vf:model': bkitchen:cargobee#model + 'vf:currentLocation': bkitchen:bcb746f4-53f9-41a5-9496-e0cf6fa11ee1#place + 'vf:mostRecentEvent': bkitchen:f277c9f6-01cc-498c-a90b-4e42879bc76a#event + 'vf:quantity': + '@type': qudt:QuantityValue + 'qudt:unit': unit:Each + 'qudt:numericValue': 1 diff --git a/snippets/bikes/disassemble-process.yaml b/snippets/bikes/disassemble-process.yaml @@ -0,0 +1,20 @@ + +'@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 diff --git a/snippets/bikes/transport-process.yaml b/snippets/bikes/transport-process.yaml @@ -0,0 +1,25 @@ + +'@context': + - https://w3id.org/valueflows/v1 + - bkitchen: https://bike-kitchen.example/ + +'@graph': + - '@id': bkitchen:23ebb8ec-823f-465b-b478-6af9e7b48d26#process + '@type': vf:Transportation + 'skos:note': transporting a bike + + - '@id': bkitchen:5e0c029d-b553-4b02-b73f-ce5609aa359f#event + '@type': vf:IPOEvent + 'vf:action': vf:load + 'vf:startTime': 2015-10-14 + 'vf:atLocation': bkitchen:0d1ca5ca-96a5-42d9-99e9-e8780f303f0d#place + 'vf:executedIn': bkitchen:23ebb8ec-823f-465b-b478-6af9e7b48d26#process + 'vf:affects': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource + + - '@id': bkitchen:f277c9f6-01cc-498c-a90b-4e42879bc76a#event + '@type': vf:IPOEvent + 'vf:action': vf:unload + 'vf:startTime': 2015-10-14 + 'vf:atLocation': bkitchen:bcb746f4-53f9-41a5-9496-e0cf6fa11ee1#place + 'vf:executedIn': bkitchen:23ebb8ec-823f-465b-b478-6af9e7b48d26#process + 'vf:affects': bkitchen:2ffb24c7-176b-4ae0-bd86-595f731c2800#resource