valueflows

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

plan-from-recipe.yaml (4334B)


      1 # Example: Simple plan from recipe
      2 
      3 '@context':
      4   - https://git.io/vf-examples-jsonld-context
      5   - alice: https://alice.example/
      6     sensor: https://sensorica.example/
      7     open: https://openhardware.example
      8 
      9 '@id': rgh:valueflows/valueflows/master/examples/plan-from-recipe.yaml
     10 '@graph':
     11 
     12   # the recipe
     13 
     14   - '@id': urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3
     15     '@type': ResourceSpecification
     16     name: Delivery fiber
     17     uri: https://openhardware.example/delivery-fiber
     18     skos:note: Optical fiber that connects 2 devices.
     19 
     20   - '@id': urn:uuid:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172
     21     '@type': RecipeResource
     22     resourceConformsTo: urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3 # the spec
     23     name: Delivery fiber
     24     skos:note: Optical fiber that makes the connection between the device and the transducer. An adapter can also be used between the transducer and the delivery fiber.
     25 
     26   - '@id': urn:uuid:33e8933b-ff73-4a01-964a-ca7a98893083
     27     '@type': RecipeFlow
     28     recipeOutputOf: urn:uuid:e1721a61-cd47-4556-84b9-8b1b81da15bf
     29     action: produce
     30     recipeFlowResource: urn:uuid:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172 # delivery fiber
     31     resourceQuantity:
     32       om2:hasUnit: om2:metre
     33       om2:hasNumericalValue: .5
     34 
     35   - '@id': urn:uuid:e1721a61-cd47-4556-84b9-8b1b81da15bf
     36     '@type': RecipeProcess
     37     name: Make delivery fiber component
     38     skos:note: The delivery fiber makes the optical connection between an optical transducer and the sensor [electro-photonics device]. Requires cutting a piece of optical fiber and connectorizing it
     39 
     40   - '@id': urn:uuid:9bd19194-a36d-4a1f-896b-8082887962cb
     41     '@type': RecipeFlow
     42     recipeInputOf: urn:uuid:e1721a61-cd47-4556-84b9-8b1b81da15bf
     43     action: consume
     44     resourceClassifiedAs: wd:Q162 # optical fiber
     45     resourceQuantity:
     46       om2:hasUnit: om2:metre
     47       om2:hasNumericalValue: .5
     48     skos:note: Optical guide, can be of glass of polymer. Usually it comes in a cylindrical shape. Can be MM (multimode) or SM (single mode)
     49 
     50   - '@id': urn:uuid:60f4204e-b8d2-4026-8577-102c3f82c0af
     51     '@type': RecipeFlow
     52     recipeInputOf: urn:uuid:e1721a61-cd47-4556-84b9-8b1b81da15bf
     53     action: work
     54     resourceClassifiedAs: wd:Q640621 # optical engineering
     55     effortQuantity:
     56       om2:hasUnit: om2:hour
     57       om2:hasNumericalValue: 2
     58 
     59   # the plan
     60 
     61   - '@id': sensor:8e5fe80d-a769-4bd5-89e5-2136d33eab9f
     62     '@type': Plan
     63     name: Delivery fiber
     64     skos:note: Make the optical fiber that makes the connection between the device and the transducer. 
     65     due: 2019-04-08T17:00:00-5:00
     66     dcterms:created: 2019-04-01T10:35:00-5:00
     67 
     68   - '@id': sensor:a8236bbb-81e0-422d-9861-56d2417db0fb
     69     '@type': Commitment
     70     independentDemandOf: sensor:8e5fe80d-a769-4bd5-89e5-2136d33eab9f
     71     outputOf: sensor:02b39a30-3e04-4305-9656-7f261aa63c84
     72     action: produce
     73     provider: https://sensorica.example/
     74     receiver: https://sensorica.example/
     75     resourceConformsTo: urn:uuid:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172 # delivery fiber
     76     resourceQuantity:
     77       om2:hasUnit: om2:metre
     78       om2:hasNumericalValue: .5
     79 
     80   - '@id': sensor:02b39a30-3e04-4305-9656-7f261aa63c84
     81     '@type': Process
     82     name: Make optical fiber component
     83     plannedWithin: sensor:8e5fe80d-a769-4bd5-89e5-2136d33eab9f
     84     skos:note: The delivery fiber makes the optical connection between an optical transducer and the sensor [electro-photonics device]. Requires cutting a piece of optical fiber and connectorizing it
     85 
     86   - '@id': sensor:b52a5815-fae9-43bf-be95-833b95dc0adb
     87     '@type': Commitment
     88     inputOf: sensor:02b39a30-3e04-4305-9656-7f261aa63c84
     89     action: consume
     90     provider: https://sensorica.example/
     91     receiver: https://sensorica.example/
     92     resourceClassifiedAs: wd:Q162 # optical fiber
     93     resourceQuantity:
     94       om2:hasUnit: om2:metre
     95       om2:hasNumericalValue: .5
     96     skos:note: Optical guide, can be of glass of polymer. Usually it comes in a cylindrical shape. Can be MM (multimode) or SM (single mode)
     97 
     98   - '@id': sensor:52f0e212-3c4f-4d27-b345-5e964c135824
     99     '@type': Commitment
    100     inputOf: sensor:02b39a30-3e04-4305-9656-7f261aa63c84
    101     action: work
    102     provider: https://alice.example/
    103     receiver: https://sensorica.example/
    104     resourceClassifiedAs: wd:Q640621 # optical engineering
    105     effortQuantity:
    106       om2:hasUnit: om2:hour
    107       om2:hasNumericalValue: 2