valueflows

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

process-workflow.yaml (1865B)


      1 # Example: Simple workflow process
      2 
      3 '@context':
      4   - https://git.io/vf-examples-jsonld-context
      5   - alice: https://alice.example/
      6     repair: https://auto-repair.example/
      7 
      8 '@id': rgh:valueflows/valueflows/master/examples/process-workflow.yaml
      9 '@graph':
     10 
     11   # Economic resource before
     12 
     13   - '@id': alice:e1721a61-cd47-4556-84b9-8b1b81da15bf
     14     '@type': EconomicResource
     15     resourceConformsTo: http://opensourceecology.org/wiki/Wikispeed_SGT01 # car
     16     trackingIdentifier: JHMCD38698S061469
     17     accountingQuantity:
     18       om2:hasUnit: om2:one
     19       om2:hasNumericalValue: 1
     20 
     21   # Repair process
     22 
     23   - '@id': repair:02b39a30-3e04-4305-9656-7f261aa63c84
     24     '@type': Process
     25     name: Oil change JHMCD38698S061469
     26     skos:note: Check over car, change oil (standard quantity).
     27 
     28   - '@id': repair:a8236bbb-81e0-422d-9861-56d2417db0fb
     29     '@type': EconomicEvent
     30     inputOf: repair:02b39a30-3e04-4305-9656-7f261aa63c84
     31     action: accept
     32     provider: https://alice.example/
     33     receiver: https://auto-repair.example/
     34     resourceInventoriedAs: alice:e1721a61-cd47-4556-84b9-8b1b81da15bf
     35     resourceQuantity:
     36       om2:hasUnit: om2:one
     37       om2:hasNumericalValue: 1
     38 
     39   - '@id': repair:52f0e212-3c4f-4d27-b345-5e964c135824
     40     '@type': EconomicEvent
     41     inputOf: repair:02b39a30-3e04-4305-9656-7f261aa63c84
     42     action: modify
     43     provider: https://auto-repair.example/
     44     receiver: https://alice.example/
     45     resourceInventoriedAs: alice:e1721a61-cd47-4556-84b9-8b1b81da15bf
     46     resourceQuantity:
     47       om2:hasUnit: om2:one
     48       om2:hasNumericalValue: 1
     49 
     50   # Economic resource after
     51 
     52   - '@id': alice:e1721a61-cd47-4556-84b9-8b1b81da15bf
     53     '@type': EconomicResource
     54     resourceConformsTo: http://opensourceecology.org/wiki/Wikispeed_SGT01 # car
     55     trackingIdentifier: JHMCD38698S061469
     56     accountingQuantity:
     57       om2:hasUnit: om2:one
     58       om2:hasNumericalValue: 1