commit 39c25becac88ba3b23507b5ab502ba4144cafa78
parent 4f0b093a5c5e1df03cd0606f3eb112b5608e88ed
Author: elf Pavlik <elf-pavlik@hackers4peace.net>
Date: Mon, 12 Sep 2016 14:08:43 -0500
added affordances to snippets for 3d-printed-parts
Diffstat:
10 files changed, 247 insertions(+), 0 deletions(-)
diff --git a/snippets/3d-printed-parts/filament-after-create.yaml b/snippets/3d-printed-parts/filament-after-create.yaml
@@ -11,3 +11,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Grams
'qudt:numericValue': 470
+'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/filament-after-increment.yaml b/snippets/3d-printed-parts/filament-after-increment.yaml
@@ -11,3 +11,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Grams
'qudt:numericValue': 155
+'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/filament-before-create.yaml b/snippets/3d-printed-parts/filament-before-create.yaml
@@ -10,3 +10,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Grams
'qudt:numericValue': 1000
+'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/parts-after-create.yaml b/snippets/3d-printed-parts/parts-after-create.yaml
@@ -11,3 +11,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 5
+'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/parts-after-increment.yaml b/snippets/3d-printed-parts/parts-after-increment.yaml
@@ -11,3 +11,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 8
+'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/parts-after-recycle.yaml b/snippets/3d-printed-parts/parts-after-recycle.yaml
@@ -11,6 +11,31 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 0
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:increment
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:increment
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:increment
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
- '@id': fablab:a7fdb642-de47-469e-97ad-1b23e3a04e4d#resource
'@type': vf:Resource
@@ -21,3 +46,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 6
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/parts-after-split.yaml b/snippets/3d-printed-parts/parts-after-split.yaml
@@ -12,6 +12,22 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 2
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
- '@id': fablab:a7fdb642-de47-469e-97ad-1b23e3a04e4d#resource
'@type': vf:Resource
@@ -22,3 +38,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 6
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/parts-after-transport.yaml b/snippets/3d-printed-parts/parts-after-transport.yaml
@@ -12,6 +12,22 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 2
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
- '@id': fablab:a7fdb642-de47-469e-97ad-1b23e3a04e4d#resource
'@type': vf:Resource
@@ -22,3 +38,19 @@
'@type': qudt:QuantityValue
'qudt:unit': unit:Each
'qudt:numericValue': 6
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
diff --git a/snippets/3d-printed-parts/parts-during-transport.yaml b/snippets/3d-printed-parts/parts-during-transport.yaml
@@ -0,0 +1,56 @@
+'@context':
+ - https://w3id.org/valueflows/v1
+ - fablab: https://fablab.example/
+
+'@graph':
+ - '@id': fablab:1d14a369-317b-4404-abbd-25fb9d18a408#resource
+ '@type': vf:Resource
+ 'vf:model': fablab:Cool-Item-44
+ 'vf:currentLocation': fablab:64a0625c-caad-4f2e-a8de-157796c7d203#place
+ 'vf:mostRecentEvent': fablab:566b2dec-e511-448a-a70b-4cd6386e7c7b#event
+ 'vf:quantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 2
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:load
+
+ - '@id': fablab:a7fdb642-de47-469e-97ad-1b23e3a04e4d#resource
+ '@type': vf:Resource
+ 'vf:model': fablab:Cool-Item-44
+ 'vf:mostRecentEvent': fablab:3d8b31c1-8d5a-4aae-8ff7-f94593c56ac5#event
+ 'vf:loadedOn': fablab:c2319469-8e23-4089-8c8a-3eaa45ceba21#resource
+ 'vf:quantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 6
+ 'vf:potentialAction':
+ - '@type': vf:Affordance
+ 'vf:action': vf:consume
+ - '@type': vf:Affordance
+ 'vf:action': vf:issue
+ - '@type': vf:Affordance
+ 'vf:action': vf:produce
+ - '@type': vf:Affordance
+ 'vf:action': vf:receive
+ - '@type': vf:Affordance
+ 'vf:action': vf:load
+ 'vf:prerequisite':
+ - '@type': Affordance
+ 'vf:action': vf:unload
+ - '@type': vf:Affordance
+ 'vf:action': vf:unload
diff --git a/snippets/3d-printed-parts/transport-process.yaml b/snippets/3d-printed-parts/transport-process.yaml
@@ -7,6 +7,9 @@
'@type': vf:Transportation
'skos:note': transporting 3d printed parts
+ ## TODO add usage of vehicle
+ # fablab:c2319469-8e23-4089-8c8a-3eaa45ceba21#resource
+
- '@id': fablab:920331c9-ea77-4f82-8aab-b886845dd1f2#event
'@type': vf:IPOEvent
'vf:action': vf:load
@@ -14,6 +17,8 @@
'vf:atLocation': fablab:64a0625c-caad-4f2e-a8de-157796c7d203#place
'vf:executedIn': fablab:aa80f11f-de89-49d1-a269-2ad5095b7acc#process
'vf:affects': fablab:a7fdb642-de47-469e-97ad-1b23e3a04e4d#resource
+ 'vf:target': fablab:c2319469-8e23-4089-8c8a-3eaa45ceba21#resource
+
- '@id': fablab:3d8b31c1-8d5a-4aae-8ff7-f94593c56ac5#event
'@type': vf:IPOEvent
@@ -22,3 +27,4 @@
'vf:atLocation': fablab:efafb2e1-6105-49a4-8f98-a1f6fa6ebdd6#place
'vf:executedIn': fablab:aa80f11f-de89-49d1-a269-2ad5095b7acc#process
'vf:affects': fablab:a7fdb642-de47-469e-97ad-1b23e3a04e4d#resource
+ 'vf:target': fablab:c2319469-8e23-4089-8c8a-3eaa45ceba21#resource