valueflows

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

proposal-list.yaml (3163B)


      1 # Example: Simple price list
      2 
      3 '@context':
      4   - https://git.io/vf-examples-jsonld-context
      5   - farm: https://farm.example/
      6     map: https://mapping.service/
      7 
      8 '@id': rgh:valueflows/valueflows/master/examples/proposal-list.yaml
      9 '@graph':
     10 
     11   # Price list
     12 
     13   - '@id': farm:da7bfa38-a1b2-4f6f-a896-b9bf1ec8807a
     14     '@type': Proposal
     15     hasBeginning: 2019-03-01T00:00:00-5:00
     16     hasEnd: 2019-03-31T00:00:00-5:00
     17     eligibleLocation: map:566a2c01-96f8-4b3c-adcf-f197eced3092 # Madison, WI
     18     unitBased: true # often currently called 'unit pricing'
     19 
     20   - '@id': farm:c7897c39-7f05-4a5d-a487-80e130a24345
     21     '@type': Intent
     22     name: Carrots case 25#
     23     action: transfer
     24     provider: https://farm.example/
     25     resourceClassifiedAs: wd:Q81 # carrot
     26     resourceSpecifiedAs: farm:2402b57c-1c45-423a-acb2-f50961c97d65 # 25 pound case organic carrots seconds
     27     resourceQuantity:
     28       om2:hasUnit: om2:one
     29       om2:hasNumericalValue: 1
     30 
     31   - '@id': farm:a8236bbb-81e0-422d-9861-56d2417db0fb
     32     '@type': ProposedIntent
     33     publishedIn: farm:da7bfa38-a1b2-4f6f-a896-b9bf1ec8807a # the proposal
     34     publishes: farm:c7897c39-7f05-4a5d-a487-80e130a24345 # the intent
     35     reciprocal: false
     36 
     37   - '@id': farm:0f563083-7f05-4a5d-a487-80e130a24345
     38     '@type': Intent
     39     name: Payment
     40     action: transfer
     41     receiver: https://farm.example/
     42     resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US Dollar
     43     resourceQuantity:
     44       om2:hasUnit: om2:one
     45       om2:hasNumericalValue: 18
     46 
     47   - '@id': farm:f325a950-5737-488d-b122-8f21114d0eb0
     48     '@type': ProposedIntent
     49     publishedIn: farm:da7bfa38-a1b2-4f6f-a896-b9bf1ec8807a # the proposal
     50     publishes: farm:0f563083-7f05-4a5d-a487-80e130a24345 # the intent
     51     reciprocal: true
     52 
     53   - '@id': farm:f47064eb-7120-4b31-b882-770165901fe6
     54     '@type': Proposal
     55     hasBeginning: 2019-03-01T00:00:00-5:00
     56     hasEnd: 2019-03-31T00:00:00-5:00
     57     eligibleLocation: map:566a2c01-96f8-4b3c-adcf-f197eced3092 # Madison, WI
     58     unitBased: true
     59 
     60   - '@id': farm:54b814ee-62dc-40c1-bb96-f8582aa4f771
     61     '@type': Intent
     62     name: Beets case 25#
     63     action: transfer
     64     provider: https://farm.example/
     65     resourceClassifiedAs: wd:Q165437 # beet root
     66     resourceSpecifiedAs: farm:8baa8ff7-9c1e-4586-ae7b-79d620a3cac9 # 25 pound case organic beets
     67     resourceQuantity:
     68       om2:hasUnit: om2:one
     69       om2:hasNumericalValue: 1
     70 
     71   - '@id': farm:98c2bfeb-9c70-4801-896c-4646b975a7d9
     72     '@type': ProposedIntent
     73     publishedIn: farm:f47064eb-7120-4b31-b882-770165901fe6 # the proposal
     74     publishes: farm:54b814ee-62dc-40c1-bb96-f8582aa4f771 # the intent
     75     reciprocal: false
     76 
     77   - '@id': farm:21f361a6-2375-46bb-b192-c21b5ba833bf
     78     '@type': Intent
     79     name: Payment
     80     action: transfer
     81     receiver: https://farm.example/
     82     resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US Dollar
     83     resourceQuantity:
     84       om2:hasUnit: om2:one
     85       om2:hasNumericalValue: 32
     86 
     87   - '@id': farm:b75d8f6a-e2df-4e52-b36d-1a22a66f4ead
     88     '@type': ProposedIntent
     89     publishedIn: farm:f47064eb-7120-4b31-b882-770165901fe6 # the proposal
     90     publishes: farm:21f361a6-2375-46bb-b192-c21b5ba833bf5 # the intent
     91     reciprocal: true