valueflows

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

commit 72ec60454cc5568e7dd92ea0bf21f14dc2325e95
parent 24c24e72a61b6182f8f86d42a3d7a58e4bc7467a
Author: Lynn Foster <foster.j.lynn@gmail.com>
Date:   Tue,  6 Aug 2019 13:27:29 -0500

example links and service example (#545)


Diffstat:
Mdocs/examples/ex-agent.md | 2+-
Mdocs/examples/ex-exchange.md | 7+++++++
Mdocs/examples/ex-planning.md | 9+++++++--
Mdocs/examples/ex-production.md | 14++++++++++++--
Mdocs/examples/ex-resource.md | 2+-
Aexamples/process-service.yaml | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 142 insertions(+), 6 deletions(-)

diff --git a/docs/examples/ex-agent.md b/docs/examples/ex-agent.md @@ -1,6 +1,6 @@ # Agent Examples -These examples include agents (people and organizations) and their relationships. +This example include agents (people and organizations) and their relationships. [import, lang:"yaml"](../../examples/agent.yaml) diff --git a/docs/examples/ex-exchange.md b/docs/examples/ex-exchange.md @@ -1,5 +1,12 @@ # Transfer and Exchange Examples +[Exchange Agreements](#exchange-agreements) +[Crypto-currency transfer](#crypto-currency-transfer) +[Crypto-currency move](#moving-crypto-currency) +[Checkout library book](#checkout-book) +[Claim](#claim) + + #### Exchange agreements An exchange agreement with commitments and an exchange without prior agreement. diff --git a/docs/examples/ex-planning.md b/docs/examples/ex-planning.md @@ -1,5 +1,10 @@ # Planning Examples +[Simple plan](#simple-plan) +[Fulfillment and satisfaction](#fulfillment-and-satisfaction) +[Proposals with intents](#proposals-with-intents) +[Budgeting](#budgeting) + #### Simple plan A plan for creating some different resources needed for one campaign. @@ -8,13 +13,13 @@ A plan for creating some different resources needed for one campaign. #### Fulfillment and satisfaction -Examples of commitments satisfying intents, and economic events satisfying commitments. +Commitments satisfying intents, and economic events satisfying commitments. [import, lang:"yaml"](../../examples/fulfill-satisfy.yaml) #### Proposals with intents -Several simple examples of proposals, including requests and offers with and without expected reciprocity. Also timebank intents, price lists, requests for help with a planned production process. +Several simple proposals, including requests and offers with and without expected reciprocity, timebank intents, price lists, requests for help with a planned production process. [import, lang:"yaml"](../../examples/simple-proposals.yaml) diff --git a/docs/examples/ex-production.md b/docs/examples/ex-production.md @@ -1,14 +1,24 @@ # Production Examples +[Manufacturing](#manufacturing) +[Service](#service) +[Workflow production](#workflow-production) + #### Manufacturing -Execution of simple one-process manufacturing with typical inputs and outputs. +Simple one-process manufacturing with typical inputs and outputs. + +[import, lang:"yaml"](../../examples/process-manufacturing.yaml) + +#### Service + +Simple delivery of a service with typical inputs and outputs. [import, lang:"yaml"](../../examples/process-manufacturing.yaml) #### Workflow production -A simple repair process with typical inputs and outputs. +Simple repair process with typical inputs and outputs. The same economic resource goes into and out of the process(es). [import, lang:"yaml"](../../examples/process-workflow.yaml) diff --git a/docs/examples/ex-resource.md b/docs/examples/ex-resource.md @@ -1,5 +1,5 @@ # Economic Resource Examples -These examples include economic resources, classified and with a resource specification. +This example includes economic resources, with a resource specification. [import, lang:"yaml"](../../examples/resource.yaml) diff --git a/examples/process-service.yaml b/examples/process-service.yaml @@ -0,0 +1,114 @@ +# Example: Simple service process + +'@context': + - https://git.io/vf-examples-jsonld-context + - alice: https://alice.example/ + bob: https://bob.example/ + carol: https://carol.example/ + training: https://training.example/ + +'@id': rgh:valueflows/valueflows/master/examples/process-service.yaml +'@graph': + + # Economic resources and specifications + + - '@id': training:3129ca8b-fcda-45be-bbda-294dc924d3b9 + '@type': ResourceSpecification + name: 3D printing 1 day hands-on workshop + classifiedAs: [ https://www.wikidata.org/wiki/Q27556165, https://www.wikidata.org/wiki/Q229367 ] # workshop, 3d printing + + - '@id': training:52f0e212-3c4f-4d27-b345-5e964c135824 + '@type': ResourceSpecification + name: 3D printing workshop handout + skos:note: 3D printing class handout for the one day hands-on class, including exercises and review + + - '@id': training:f438393-7f87-4914-806c-e23a4fd15e89 + '@type': ResourceSpecification + name: 3D printing training + skos:note: In-house certified training on 3D printing + + - '@id': training:e1721a61-cd47-4556-84b9-8b1b81da15bf + '@type': EconomicResource + classifiedAs: https://www.wikidata.org/wiki/Q53953506 # 3D printer + currentQuantity: + qudt:unit: unit:Number + qudt:numericValue: 1 + + - '@id': training:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 + '@type': EconomicResource + conformsTo: training:52f0e212-3c4f-4d27-b345-5e964c135824 # 3D printing class handout + currentQuantity: + qudt:unit: unit:Number + qudt:numericValue: 100 + + # Service delivery + + - '@id': training:02b39a30-3e04-4305-9656-7f261aa63c84 + '@type': Process + name: Give the 3D printing workshop + + - '@id': training:b90b0b77-09a2-42e2-8bd4-e9ae2c1c617 + '@type': EconomicEvent + inputOf: training:02b39a30-3e04-4305-9656-7f261aa63c84 + action: consume + provider: https://training.example/ + receiver: https://training.example/ + involves: training:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 # workshop handout + flowQuantity: + qudt:unit: unit:Number + qudt:numericValue: 3 + + - '@id': training:b52a5815-fae9-43bf-be95-833b95dc0adb + '@type': EconomicEvent + inputOf: training:02b39a30-3e04-4305-9656-7f261aa63c84 + action: use + provider: https://training.example/ + receiver: https://training.example/ + involves: training:e1721a61-cd47-4556-84b9-8b1b81da15bf # 3D printer + flowQuantity: + qudt:unit: unit:Hour + qudt:numericValue: 8 + + - '@id': training:a8236bbb-81e0-422d-9861-56d2417db0fb + '@type': EconomicEvent + inputOf: training:02b39a30-3e04-4305-9656-7f261aa63c84 + action: work + provider: https://training.example/ + receiver: https://training.example/ + resourceConformsTo: training:f438393-7f87-4914-806c-e23a4fd15e89 # 3D printer training + flowQuantity: + qudt:unit: unit:Hour + qudt:numericValue: 8 + + - '@id': training:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59 + '@type': EconomicEvent + outputOf: training:02b39a30-3e04-4305-9656-7f261aa63c84 + action: service + provider: https://training.example/ + receiver: https://alice.example/ + resourceConformsTo: training:3129ca8b-fcda-45be-bbda-294dc924d3b9 # one day 3D printing workshop + flowQuantity: + qudt:unit: unit:Number + qudt:numericValue: 1 + + - '@id': training:583e83d9-a46d-44ff-bd71-88513a1d83c0 + '@type': EconomicEvent + outputOf: training:02b39a30-3e04-4305-9656-7f261aa63c84 + action: service + provider: https://training.example/ + receiver: https://bob.example/ + resourceConformsTo: training:3129ca8b-fcda-45be-bbda-294dc924d3b9 # one day 3D printing workshop + flowQuantity: + qudt:unit: unit:Number + qudt:numericValue: 1 + + - '@id': training:e4783bef-9006-490c-9c03-389272c7444d + '@type': EconomicEvent + outputOf: training:02b39a30-3e04-4305-9656-7f261aa63c84 + action: service + provider: https://training.example/ + receiver: https://carol.example/ + resourceConformsTo: training:3129ca8b-fcda-45be-bbda-294dc924d3b9 # one day 3D printing workshop + flowQuantity: + qudt:unit: unit:Number + qudt:numericValue: 1