commit cb3d853a8567c50719025d516b30c5a15b8e1757
parent bdd99dfb1b3b7d4e19625740b4ddec7638d674e8
Author: elf Pavlik <elf-pavlik@hackers4peace.net>
Date: Sun, 2 Oct 2016 13:52:12 -0500
initial snippets for codining and cohousing
Diffstat:
6 files changed, 96 insertions(+), 1 deletion(-)
diff --git a/snippets/bikes/transport-process.yaml b/snippets/bikes/transport-process.yaml
@@ -1,4 +1,3 @@
-
'@context':
- https://w3id.org/valueflows/v1
- bkitchen: https://bike-kitchen.example/
diff --git a/snippets/codining/dine-processes.yaml b/snippets/codining/dine-processes.yaml
@@ -0,0 +1,34 @@
+'@context':
+ - https://w3id.org/valueflows/v1
+ - cokitchen: https://cokitchen.example/
+ elf: https://elf.example/
+ boonil: https://boonil.example/
+
+'@graph':
+ - '@id': elf:485bf4af-c466-4c8f-8bea-17c2d0c62814#process
+ '@type': vf:Process
+ 'skos:note': elf's metabolism
+
+ - '@id': boonil:c6cb7e10-4694-4fa7-a8b0-8483ef33ff08#process
+ '@type': vf:Process
+ 'skos:note': boonil's metabolism
+
+ - '@id': elf:5150c40b-5944-4b31-80cf-7d19be05c11c#event
+ '@type': vf:IPOEvent
+ 'vf:action': vf:consume
+ 'vf:executedIn': elf:485bf4af-c466-4c8f-8bea-17c2d0c62814#process
+ 'vf:affects': cokitchen:48dfecae-8364-4b6a-a374-35f36207ea70#resource
+ 'vf:affectedQuantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 1
+
+ - '@id': boonil:f8c554e2-8a40-45ef-b2b7-d7672aa1c919#event
+ '@type': vf:IPOEvent
+ 'vf:action': vf:consume
+ 'vf:executedIn': boonil:c6cb7e10-4694-4fa7-a8b0-8483ef33ff08#process
+ 'vf:affects': cokitchen:48dfecae-8364-4b6a-a374-35f36207ea70#resource
+ 'vf:affectedQuantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 1
diff --git a/snippets/codining/resources-after-cook.yaml b/snippets/codining/resources-after-cook.yaml
@@ -0,0 +1,15 @@
+'@context':
+ - https://w3id.org/valueflows/v1
+ - cokitchen: https://cokitchen.example/
+
+'@graph':
+ - '@id': cokitchen:48dfecae-8364-4b6a-a374-35f36207ea70#resource
+ '@type': vf:MaterialResource
+ 'vf:model': cokitchen:porridge#model
+ 'vf:category': prodont:Porridge
+ 'vf:lotIdentifier': cokitchen:83d3ab97
+ # add 'vf:mostRecentEvent' after writing cook-process.yaml
+ 'vf:quantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 2
diff --git a/snippets/codining/resources-after-dine.yaml b/snippets/codining/resources-after-dine.yaml
@@ -0,0 +1,15 @@
+'@context':
+ - https://w3id.org/valueflows/v1
+ - cokitchen: https://cokitchen.example/
+
+'@graph':
+ - '@id': cokitchen:48dfecae-8364-4b6a-a374-35f36207ea70#resource
+ '@type': vf:MaterialResource
+ 'vf:model': cokitchen:porridge#model
+ 'vf:category': prodont:Porridge
+ 'vf:lotIdentifier': cokitchen:83d3ab97
+ 'vf:mostRecentEvent': boonil:f8c554e2-8a40-45ef-b2b7-d7672aa1c919#event
+ 'vf:quantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 0
diff --git a/snippets/cohousing/defecate-process.yaml b/snippets/cohousing/defecate-process.yaml
@@ -0,0 +1,19 @@
+'@context':
+ - https://w3id.org/valueflows/v1
+ - casa: https://casa.example/
+ elf: https://elf.example/
+
+'@graph':
+ - '@id': elf:485bf4af-c466-4c8f-8bea-17c2d0c62814#process
+ '@type': vf:Process
+ 'skos:note': elf's metabolism
+
+ - '@id': elf:3557de4b-b442-4c30-b133-aea05f34ce0e#event
+ '@type': vf:IPOEvent
+ 'vf:action': vf:produce
+ 'vf:executedIn': elf:485bf4af-c466-4c8f-8bea-17c2d0c62814#process
+ 'vf:affects': casa:94bc2e90-773e-4b4d-abde-d692d9fd0c9d#resource
+ 'vf:affectedQuantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 1
diff --git a/snippets/cohousing/resources-after-defecation.yaml b/snippets/cohousing/resources-after-defecation.yaml
@@ -0,0 +1,13 @@
+'@context':
+ - https://w3id.org/valueflows/v1
+ - casa: https://casa.example/
+
+'@graph':
+ - '@id': casa:94bc2e90-773e-4b4d-abde-d692d9fd0c9d#resource
+ '@type': vf:MaterialResource
+ 'vf:category': prodont:Feces
+ 'vf:mostRecentEvent': elf:3557de4b-b442-4c30-b133-aea05f34ce0e#event
+ 'vf:quantity':
+ '@type': qudt:QuantityValue
+ 'qudt:unit': unit:Each
+ 'qudt:numericValue': 55