valueflows

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

exch-retail.yaml (1306B)


      1 # Example: Simple retail exchange without commitments
      2 
      3 '@context':
      4   - https://git.io/vf-examples-jsonld-context
      5   - carol: https://carol.example/
      6     store: https://store.example/
      7 
      8 '@id': rgh:valueflows/valueflows/master/examples/exch-retail.yaml
      9 '@graph':
     10 
     11   - '@id': store:ac9ec98d-db80-44dc-97be-7aa149b2fe5d
     12     '@type': Agreement
     13     skos:note: Carol purchased a new bucket at the hardware store and paid 5 dollars for it.
     14 
     15   - '@id': store:a8356625-bf64-4c16-9099-28aa1b718c4b
     16     '@type': EconomicEvent
     17     realizationOf: store:ac9ec98d-db80-44dc-97be-7aa149b2fe5d
     18     action: transfer
     19     provider: https://store.example/
     20     receiver: https://carol.example/
     21     resourceClassifiedAs: https://www.wikidata.org/wiki/Q47107 # bucket
     22     resourceQuantity:
     23       om2:hasUnit: om2:one
     24       om2:hasNumericalValue: 1
     25 
     26   - '@id': store:2342d456-5d6f-46d5-a7ed-3ac7bfd5a86c
     27     '@type': EconomicEvent
     28     realizationOf: store:ac9ec98d-db80-44dc-97be-7aa149b2fe5d
     29     action: transfer
     30     provider: https://carol.example/
     31     receiver: https://store.example/
     32     resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US dollar
     33     resourceInventoriedAs: carol:e56fd654-7b94-4d96-8e60-de39e08329a7 # Carol's bank account
     34     resourceQuantity:
     35       om2:hasUnit: om2:one
     36       om2:hasNumericalValue: 5