valueflows

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

fulfill-satisfy.yaml (3064B)


      1 # Example: Intent - satisfied by - Commitment - fulfilled by - EconomicEvent
      2 
      3 '@context':
      4   - https://git.io/vf-examples-jsonld-context
      5   - bob: https://bob.example/
      6     mfg: https://manufacturer.example/
      7 
      8 '@id': rgh:valueflows/valueflows/master/examples/fulfill-satisfy.yaml
      9 '@graph':
     10 
     11   # A manufacturer makes a plan that includes an intent for some work which 
     12   # they want someone in their network to commit to doing on Oct. 14 - 15
     13 
     14   - '@id': mfg:e1721a61-cd47-4556-84b9-8b1b81da15bf
     15     '@type': Intent
     16     action: work
     17     receiver: https://manufacturing.example/
     18     resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining
     19     effortQuantity:
     20       om2:hasUnit: om2:hour
     21       om2:hasNumericalValue: 8
     22     hasBeginning: 2018-10-14T8:00:00-0:00
     23     hasEnd: 2018-10-15T18:00:00-0:00
     24 
     25   # Bob commits to doing the work on Oct. 14
     26 
     27   - '@id': mfg:02b39a30-3e04-4305-9656-7f261aa63c84
     28     '@type': Commitment
     29     action: work
     30     provider: https://bob.example/
     31     receiver: https://manufacturing.example/
     32     resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining
     33     effortQuantity:
     34       om2:hasUnit: om2:hour
     35       om2:hasNumericalValue: 8
     36     hasBeginning: 2018-10-14T8:00:00-0:00
     37     hasEnd: 2018-10-14T17:00:00-0:00
     38 
     39   - '@id': mfg:b52a5815-fae9-43bf-be95-833b95dc0adb
     40     '@type': Satisfaction
     41     satisfies: mfg:e1721a61-cd47-4556-84b9-8b1b81da15bf # the intent
     42     satisfiedBy: mfg:02b39a30-3e04-4305-9656-7f261aa63c84 # the commitment
     43     effortQuantity:
     44       om2:hasUnit: om2:hour
     45       om2:hasNumericalValue: 8
     46 
     47   # Bob does the work in two 4-hour shifts on Oct. 14
     48 
     49   - '@id': mfg:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59
     50     '@type': EconomicEvent
     51     action: work
     52     provider: https://bob.example/
     53     receiver: https://manufacturing.example/
     54     resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining
     55     effortQuantity:
     56       om2:hasUnit: om2:hour
     57       om2:hasNumericalValue: 4
     58     hasBeginning: 2018-10-14T8:00:00-0:00
     59     hasEnd: 2018-10-14T12:00:00-0:00
     60 
     61   - '@id': mfg:6f438393-7f87-4914-806c-e23a4fd15e89
     62     '@type': Fulfillment
     63     fulfills: mfg:02b39a30-3e04-4305-9656-7f261aa63c84 # the commitment
     64     fulfilledBy: mfg:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59 # the economic event
     65     effortQuantity:
     66       om2:hasUnit: om2:hour
     67       om2:hasNumericalValue: 4
     68 
     69   - '@id': mfg:c7897c39-7f05-4a5d-a487-80e130a2414b
     70     '@type': EconomicEvent
     71     action: work
     72     provider: https://bob.example/
     73     receiver: https://manufacturing.example/
     74     resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining
     75     effortQuantity:
     76       om2:hasUnit: om2:hour
     77       om2:hasNumericalValue: 4
     78     hasBeginning: 2018-10-14T13:00:00-0:00
     79     hasEnd: 2018-10-14T17:00:00-0:00
     80 
     81   - '@id': mfg:0f563083-8da4-46fe-adc3-68b05ba06320
     82     '@type': Fulfillment
     83     fulfills: mfg:02b39a30-3e04-4305-9656-7f261aa63c84 # the commitment
     84     fulfilledBy: mfg:c7897c39-7f05-4a5d-a487-80e130a2414b # the second economic event
     85     effortQuantity:
     86       om2:hasUnit: om2:hour
     87       om2:hasNumericalValue: 4