valueflows

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

commit 94de7895a9d36b4753e00c2badb93cb846d9c456
parent da6aa880d21a02fd62355170a9c0a667fd87d14c
Author: Lynn Foster <foster.j.lynn@gmail.com>
Date:   Sat,  2 Nov 2019 08:15:20 -0500

replace qudt with om2 (#592)

* replace qudt with om2

* missed a point in time replacement

Diffstat:
Mdocs/specification/external-terms.md | 19+++++++++++--------
Mexamples/budget.yaml | 9+++++----
Mexamples/checkout-book.yaml | 40++++++++++++++++++++--------------------
Mexamples/claim.yaml | 16++++++++--------
Mexamples/exch-agreement.yaml | 8++++----
Mexamples/exch-retail.yaml | 8++++----
Mexamples/fulfill-satisfy.yaml | 16++++++++--------
Mexamples/move-crypto.yaml | 20++++++++++----------
Mexamples/plan-from-recipe.yaml | 24++++++++++++------------
Mexamples/process-manufacturing.yaml | 52++++++++++++++++++++++++++--------------------------
Mexamples/process-service.yaml | 31++++++++++++++++---------------
Mexamples/process-workflow.yaml | 16++++++++--------
Mexamples/proposal-barter.yaml | 8++++----
Mexamples/proposal-list.yaml | 16++++++++--------
Mexamples/proposal-plan.yaml | 4++--
Mexamples/resource.yaml | 12++++++------
Mexamples/simple-plan.yaml | 28++++++++++++++--------------
Mexamples/simple-proposals.yaml | 4++--
Mexamples/transfer-crypto.yaml | 20++++++++++----------
Mexamples/transport-with-transfer.yaml | 100++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mexamples/workflow-stage-state.yaml | 104++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mrelease-doc-in-process/all_vf.TTL | 20++++++++++++--------
22 files changed, 292 insertions(+), 283 deletions(-)

diff --git a/docs/specification/external-terms.md b/docs/specification/external-terms.md @@ -21,19 +21,22 @@ https://www.w3.org/TR/vocab-org/ * [`org:Organization`](https://www.w3.org/TR/vocab-org/#org:Organization) -## QUDT +## OM2 -http://qudt.org/doc/2016/DOC_SCHEMA-QUDT-v2.0.html +http://www.ontology-of-units-of-measure.org/resource/om-2/ -* [`qudt:QuantityValue`](http://qudt.org/doc/2016/DOC_SCHEMA-QUDT-v2.0.html#Classes) -* [`qudt:unit`](http://qudt.org/doc/2016/DOC_SCHEMA-QUDT-v2.0.html#Properties) -* [`qudt:numericValue`](http://qudt.org/doc/2016/DOC_SCHEMA-QUDT-v2.0.html#Properties) +* [`om2:Measure`](http://www.ontology-of-units-of-measure.org/resource/om-2/Measure) +* [`om2:Unit`](http://www.ontology-of-units-of-measure.org/resource/om-2/Unit) + * A list of units can also be found here. Each subclass on this page has an additional list of units. +* [`om2:hasUnit`](http://www.ontology-of-units-of-measure.org/resource/om-2/hasUnit) +* [`om2:hasNumericalValue`](http://www.ontology-of-units-of-measure.org/resource/om-2/hasNumericalValue) -### UNIT -http://qudt.org/doc/2017/DOC_VOCAB-UNITS-BASE.html +### DTYPE -* [`unit:Number`](http://qudt.org/doc/2017/DOC_VOCAB-UNITS-BASE.html#Instances) +http://www.linkedmodel.org/schema/dtype# + +* [`dtype:numericUnion`](http://www.linkedmodel.org/schema/dtype#numericUnion) ## TIME diff --git a/examples/budget.yaml b/examples/budget.yaml @@ -1,4 +1,5 @@ # Example: Simple operational plan +# Not used, if we do use it, it needs to be upgraded '@context': - https://git.io/vf-examples-jsonld-context @@ -27,7 +28,7 @@ receiver: https://csa.example/ resourceClassifiedAs: csa:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 # seeds flowQuantity: - qudt:unit: unit:Kg + om2:hasUnit: unit:Kg qudt:numericValue: 1000 - '@id': csa:b52a5815-fae9-43bf-be95-833b95dc0adb @@ -38,7 +39,7 @@ receiver: https://csa.example/ resourceInventoriedAs: csa:3129ca8b-fcda-45be-bbda-294dc924d3b9 # paper flowQuantity: - qudt:unit: unit:Number + om2:hasUnit: unit:Number qudt:numericValue: 1020 - '@id': csa:33e8933b-ff73-4a01-964a-ca7a98893083 @@ -50,7 +51,7 @@ receiver: https://csa.example/ resourceInventoriedAs: csa:6078f30a-b15b-4b1c-8e77-797abae11378 # specific posters flowQuantity: - qudt:unit: unit:Number + om2:hasUnit: unit:Number qudt:numericValue: 35 - '@id': csa:60f4204e-b8d2-4026-8577-102c3f82c0af @@ -61,7 +62,7 @@ receiver: https://csa.example/ resourceInventoriedAs: csa:e56fd654-7b94-4d96-8e60-de39e08329a7 # paper flowQuantity: - qudt:unit: unit:Number + om2:hasUnit: unit:Number qudt:numericValue: 35 - '@id': csa:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172 diff --git a/examples/checkout-book.yaml b/examples/checkout-book.yaml @@ -12,11 +12,11 @@ '@type': EconomicResource skos:note: Valueflows cookbook ISBN:1234 copy 2 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 onhandQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 # check out @@ -33,8 +33,8 @@ provider: https://library.example/ receiver: https://bob.example/ resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': urn:uuid:98c2bfeb-9c70-4801-896c-4646b975a7d9 '@type': Commitment @@ -44,8 +44,8 @@ provider: https://bob.example/ receiver: https://library.example/ resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 due: 2019-05-17T18:00:00-5:00 # resource after check out @@ -54,11 +54,11 @@ '@type': EconomicResource skos:note: Valueflows cookbook ISBN:1234 copy 2 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 onhandQuantity: - qudt:unit: unit:Number - qudt:numericValue: 0 + om2:hasUnit: unit:Number + om2:hasNumericalValue: 0 # return @@ -70,8 +70,8 @@ provider: https://bob.example/ receiver: https://library.example/ resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 hasPointInTime: 2019-05-14T10:20:00-5:00 - '@id': urn:uuid:6f438393-7f87-4914-806c-e23a4fd15e89 @@ -79,8 +79,8 @@ fulfills: urn:uuid:98c2bfeb-9c70-4801-896c-4646b975a7d9 # the commitment fulfilledBy: urn:uuid:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59 # the economic event resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 # resource after return @@ -88,8 +88,8 @@ '@type': EconomicResource skos:note: Valueflows cookbook ISBN:1234 copy 2 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 onhandQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 diff --git a/examples/claim.yaml b/examples/claim.yaml @@ -17,8 +17,8 @@ receiver: https://manufacturing.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 7 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 7 hasBeginning: 2018-10-14T8:00:00-0:00 hasEnd: 2018-10-14T15:00:00-0:00 @@ -31,8 +31,8 @@ receiver: https://bob.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q1104069 # Canadian dollar resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 140 + om2:hasUnit: om2:one + om2:hasNumericalValue: 140 dcterms:created: 2018-10-14T15:30:00-0:00 triggeredBy: mfg:02b39a30-3e04-4305-9656-7f261aa63c83 agreedIn: mfg:e1721a61-cd47-4556-84b9-8b1b81da15be # a distribution agreement (not detailed in example) @@ -46,8 +46,8 @@ receiver: https://bob.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q1104069 # Canadian dollar resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 260 # here Bob received income for more than one work event (others not included in the example) + om2:hasUnit: om2:one + om2:hasNumericalValue: 260 # here Bob received income for more than one work event (others not included in the example) hasPointInTime: 2018-10-25T09:30:00-0:00 - '@id': mfg:b52a5815-fae9-43bf-be95-833b95dc0ada @@ -55,5 +55,5 @@ settles: mfg:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 # the claim settlededBy: mfg:c7897c39-7f05-4a5d-a487-80e130a2414a # the economic event resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 70 # half of the original claim for the work + om2:hasUnit: om2:one + om2:hasNumericalValue: 70 # half of the original claim for the work diff --git a/examples/exch-agreement.yaml b/examples/exch-agreement.yaml @@ -22,8 +22,8 @@ receiver: https://bob.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q89 # apples resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 50 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 50 - '@id': bob:fd399b37-0740-4a68-a184-1e655021ca21 '@type': Commitment @@ -33,5 +33,5 @@ receiver: https://alice.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q5977438 # soft apple cider resourceQuantity: - qudt:unit: unit:Liter - qudt:numericValue: 10 + om2:hasUnit: om2:litre + om2:hasNumericalValue: 10 diff --git a/examples/exch-retail.yaml b/examples/exch-retail.yaml @@ -20,8 +20,8 @@ receiver: https://carol.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q47107 # bucket resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': store:2342d456-5d6f-46d5-a7ed-3ac7bfd5a86c '@type': EconomicEvent @@ -32,5 +32,5 @@ resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US dollar resourceInventoriedAs: carol:e56fd654-7b94-4d96-8e60-de39e08329a7 # Carol's bank account resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 5 + om2:hasUnit: om2:one + om2:hasNumericalValue: 5 diff --git a/examples/fulfill-satisfy.yaml b/examples/fulfill-satisfy.yaml @@ -53,8 +53,8 @@ receiver: https://manufacturing.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 4 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 4 hasBeginning: 2018-10-14T8:00:00-0:00 hasEnd: 2018-10-14T12:00:00-0:00 @@ -63,8 +63,8 @@ fulfills: mfg:02b39a30-3e04-4305-9656-7f261aa63c84 # the commitment fulfilledBy: mfg:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59 # the economic event effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 4 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 4 - '@id': mfg:c7897c39-7f05-4a5d-a487-80e130a2414b '@type': EconomicEvent @@ -73,8 +73,8 @@ receiver: https://manufacturing.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 4 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 4 hasBeginning: 2018-10-14T13:00:00-0:00 hasEnd: 2018-10-14T17:00:00-0:00 @@ -83,5 +83,5 @@ fulfills: mfg:02b39a30-3e04-4305-9656-7f261aa63c84 # the commitment fulfilledBy: mfg:c7897c39-7f05-4a5d-a487-80e130a2414b # the second economic event effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 4 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 4 diff --git a/examples/move-crypto.yaml b/examples/move-crypto.yaml @@ -15,16 +15,16 @@ skos:note: Bob's first wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 540 + om2:hasUnit: om2:one + om2:hasNumericalValue: 540 - '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3 '@type': EconomicResource skos:note: Bob's second wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 480 + om2:hasUnit: om2:one + om2:hasNumericalValue: 480 # move between Bob's accounts @@ -37,8 +37,8 @@ provider: https://bob.example receiver: https://bob.example resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 100 + om2:hasUnit: om2:one + om2:hasNumericalValue: 100 hasPointInTime: 2019-04-18T8:30:08-5:00 # accounts after @@ -48,13 +48,13 @@ skos:note: Bob's first wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 440 + om2:hasUnit: om2:one + om2:hasNumericalValue: 440 - '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3 '@type': EconomicResource skos:note: Bob's second wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 580 + om2:hasUnit: om2:one + om2:hasNumericalValue: 580 diff --git a/examples/plan-from-recipe.yaml b/examples/plan-from-recipe.yaml @@ -29,8 +29,8 @@ action: produce recipeFlowResource: urn:uuid:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172 # delivery fiber resourceQuantity: - qudt:unit: unit:Meter - qudt:numericValue: .5 + om2:hasUnit: om2:metre + om2:hasNumericalValue: .5 - '@id': urn:uuid:e1721a61-cd47-4556-84b9-8b1b81da15bf '@type': RecipeProcess @@ -43,8 +43,8 @@ action: consume resourceClassifiedAs: wd:Q162 # optical fiber resourceQuantity: - qudt:unit: unit:Meter - qudt:numericValue: .5 + om2:hasUnit: om2:metre + om2:hasNumericalValue: .5 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) - '@id': urn:uuid:60f4204e-b8d2-4026-8577-102c3f82c0af @@ -53,8 +53,8 @@ action: work resourceClassifiedAs: wd:Q640621 # optical engineering effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 2 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 2 # the plan @@ -74,8 +74,8 @@ receiver: https://sensorica.example/ resourceConformsTo: urn:uuid:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172 # delivery fiber resourceQuantity: - qudt:unit: unit:Meter - qudt:numericValue: .5 + om2:hasUnit: om2:metre + om2:hasNumericalValue: .5 - '@id': sensor:02b39a30-3e04-4305-9656-7f261aa63c84 '@type': Process @@ -91,8 +91,8 @@ receiver: https://sensorica.example/ resourceClassifiedAs: wd:Q162 # optical fiber resourceQuantity: - qudt:unit: unit:Meter - qudt:numericValue: .5 + om2:hasUnit: om2:metre + om2:hasNumericalValue: .5 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) - '@id': sensor:52f0e212-3c4f-4d27-b345-5e964c135824 @@ -103,5 +103,5 @@ receiver: https://sensorica.example/ resourceClassifiedAs: wd:Q640621 # optical engineering effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 2 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 2 diff --git a/examples/process-manufacturing.yaml b/examples/process-manufacturing.yaml @@ -14,30 +14,30 @@ '@type': EconomicResource resourceConformsTo: https://www.opendesk.cc/lean/desk # desk accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 8 + om2:hasUnit: om2:one + om2:hasNumericalValue: 8 - '@id': mfg:3129ca8b-fcda-45be-bbda-294dc924d3b9 '@type': EconomicResource classifiedAs: https://www.wikidata.org/wiki/Q219803 # plywood accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 130 + om2:hasUnit: om2:one + om2:hasNumericalValue: 130 skos:note: 4 x 8 sheet of 1/2 inch plywood - '@id': mfg:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 '@type': EconomicResource classifiedAs: https://www.wikidata.org/wiki/Q2101564 # desk design specification accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': mfg:52f0e212-3c4f-4d27-b345-5e964c135824 '@type': EconomicResource classifiedAs: https://www.wikidata.org/wiki/Q13231055 # CNC machine accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 # Production @@ -53,8 +53,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:3129ca8b-fcda-45be-bbda-294dc924d3b9 # plywood sheets resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 3 + om2:hasUnit: om2:one + om2:hasNumericalValue: 3 - '@id': mfg:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172 '@type': EconomicEvent @@ -64,8 +64,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:52f0e212-3c4f-4d27-b345-5e964c135824 # CNC machine effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 3.5 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 3.5 - '@id': mfg:a8236bbb-81e0-422d-9861-56d2417db0fb '@type': EconomicEvent @@ -75,8 +75,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 # desk design specification resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': mfg:6f438393-7f87-4914-806c-e23a4fd15e89 '@type': EconomicEvent @@ -86,8 +86,8 @@ receiver: https://manufacturing.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q192047 # machining effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 7 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 7 - '@id': mfg:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59 '@type': EconomicEvent @@ -97,8 +97,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:e1721a61-cd47-4556-84b9-8b1b81da15bf # desk resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 # Economic resources after @@ -106,27 +106,27 @@ '@type': EconomicResource resourceConformsTo: https://www.opendesk.cc/lean/desk # desk accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 9 + om2:hasUnit: om2:one + om2:hasNumericalValue: 9 - '@id': mfg:3129ca8b-fcda-45be-bbda-294dc924d3b9 '@type': EconomicResource classifiedAs: https://www.wikidata.org/wiki/Q219803 # plywood accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 127 + om2:hasUnit: om2:one + om2:hasNumericalValue: 127 note: 4 x 8 sheet of 1/2 inch plywood - '@id': mfg:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 '@type': EconomicResource classifiedAs: https://www.wikidata.org/wiki/Q2101564 # desk design specification accountingQuantity: - qudt:unit: unit:Unitless - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': mfg:52f0e212-3c4f-4d27-b345-5e964c135824 '@type': EconomicResource classifiedAs: https://www.wikidata.org/wiki/Q13231055 # CNC machine accountingQuantity: - qudt:unit: unit:Unitless - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 diff --git a/examples/process-service.yaml b/examples/process-service.yaml @@ -32,14 +32,15 @@ classifiedAs: https://www.wikidata.org/wiki/Q53953506 # 3D printer accountingQuantity: qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': training:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 '@type': EconomicResource conformsTo: training:52f0e212-3c4f-4d27-b345-5e964c135824 # 3D printing class handout accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 100 + om2:hasUnit: om2:one + om2:hasNumericalValue: 100 # Service delivery @@ -55,8 +56,8 @@ receiver: https://training.example/ involves: training:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 # workshop handout resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 3 + om2:hasUnit: om2:one + om2:hasNumericalValue: 3 - '@id': training:b52a5815-fae9-43bf-be95-833b95dc0adb '@type': EconomicEvent @@ -66,8 +67,8 @@ receiver: https://training.example/ involves: training:e1721a61-cd47-4556-84b9-8b1b81da15bf # 3D printer effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 8 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 8 - '@id': training:a8236bbb-81e0-422d-9861-56d2417db0fb '@type': EconomicEvent @@ -77,8 +78,8 @@ receiver: https://training.example/ resourceConformsTo: training:f438393-7f87-4914-806c-e23a4fd15e89 # 3D printer training effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 8 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 8 - '@id': training:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59 '@type': EconomicEvent @@ -88,8 +89,8 @@ receiver: https://alice.example/ resourceConformsTo: training:3129ca8b-fcda-45be-bbda-294dc924d3b9 # one day 3D printing workshop resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': training:583e83d9-a46d-44ff-bd71-88513a1d83c0 '@type': EconomicEvent @@ -99,8 +100,8 @@ receiver: https://bob.example/ resourceConformsTo: training:3129ca8b-fcda-45be-bbda-294dc924d3b9 # one day 3D printing workshop resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': training:e4783bef-9006-490c-9c03-389272c7444d '@type': EconomicEvent @@ -110,5 +111,5 @@ receiver: https://carol.example/ resourceConformsTo: training:3129ca8b-fcda-45be-bbda-294dc924d3b9 # one day 3D printing workshop resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 diff --git a/examples/process-workflow.yaml b/examples/process-workflow.yaml @@ -15,8 +15,8 @@ resourceConformsTo: http://opensourceecology.org/wiki/Wikispeed_SGT01 # car trackingIdentifier: JHMCD38698S061469 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 # Repair process @@ -33,8 +33,8 @@ receiver: https://auto-repair.example/ resourceInventoriedAs: alice:e1721a61-cd47-4556-84b9-8b1b81da15bf resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': repair:52f0e212-3c4f-4d27-b345-5e964c135824 '@type': EconomicEvent @@ -44,8 +44,8 @@ receiver: https://alice.example/ resourceInventoriedAs: alice:e1721a61-cd47-4556-84b9-8b1b81da15bf resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 # Economic resource after @@ -54,5 +54,5 @@ resourceConformsTo: http://opensourceecology.org/wiki/Wikispeed_SGT01 # car trackingIdentifier: JHMCD38698S061469 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 diff --git a/examples/proposal-barter.yaml b/examples/proposal-barter.yaml @@ -22,8 +22,8 @@ receiver: https://carol.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q1111 # cider press (fictional) effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 6 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 6 - '@id': carol:9f112621-3f13-4f48-a3e2-fd2ca99493cd '@type': ProposedIntent @@ -39,8 +39,8 @@ provider: https://carol.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q5977438 # apple cider resourceQuantity: - qudt:unit: unit:Gallon - qudt:numericValue: 3 + om2:hasUnit: om2:gallon-US + om2:hasNumericalValue: 3 - '@id': carol:9bd19194-a36d-4a1f-896b-8082887962cb '@type': ProposedIntent diff --git a/examples/proposal-list.yaml b/examples/proposal-list.yaml @@ -25,8 +25,8 @@ resourceClassifiedAs: wd:Q81 # carrot resourceSpecifiedAs: farm:2402b57c-1c45-423a-acb2-f50961c97d65 # 25 pound case organic carrots seconds resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': farm:a8236bbb-81e0-422d-9861-56d2417db0fb '@type': ProposedIntent @@ -41,8 +41,8 @@ receiver: https://farm.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US Dollar resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 18 + om2:hasUnit: om2:one + om2:hasNumericalValue: 18 - '@id': farm:f325a950-5737-488d-b122-8f21114d0eb0 '@type': ProposedIntent @@ -65,8 +65,8 @@ resourceClassifiedAs: wd:Q165437 # beet root resourceSpecifiedAs: farm:8baa8ff7-9c1e-4586-ae7b-79d620a3cac9 # 25 pound case organic beets resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': farm:98c2bfeb-9c70-4801-896c-4646b975a7d9 '@type': ProposedIntent @@ -81,8 +81,8 @@ receiver: https://farm.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US Dollar resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 32 + om2:hasUnit: om2:one + om2:hasNumericalValue: 32 - '@id': farm:b75d8f6a-e2df-4e52-b36d-1a22a66f4ead '@type': ProposedIntent diff --git a/examples/proposal-plan.yaml b/examples/proposal-plan.yaml @@ -25,8 +25,8 @@ receiver: https://fablab.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q2474620 # electrochemical engineering flowQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 16 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 16 hasBeginning: 2019-04-12T08:00:00-5:00 hasEnd: 2019-04-13T17:00:00-5:00 diff --git a/examples/resource.yaml b/examples/resource.yaml @@ -24,8 +24,8 @@ trackingIdentifier: 889jcd00s # the serial number assigned by the manufacturer conformsTo: ose:822b6baf-d66f-45a0-98f2-57450e2aec23 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': farm:8baa8ff7-9c1e-4586-ae7b-79d620a3cac9 '@type': ResourceSpecification @@ -41,8 +41,8 @@ lot: farm:fd399b37-0740-4a68-a184-1e655021ca21 # the lot number assigned by the farm conformsTo: farm:8baa8ff7-9c1e-4586-ae7b-79d620a3cac9 accountingQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 650 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 650 skos:note: Medium size, clean, harvested after the first frost, will store well. - '@id': farm:fd399b37-0740-4a68-a184-1e655021ca21 @@ -63,5 +63,5 @@ conformsTo: farm:68cabaf3-deb8-4bd5-a439-798263abe35a uri: https://farm.example/docs/intern-orientation.odt accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 diff --git a/examples/simple-plan.yaml b/examples/simple-plan.yaml @@ -28,8 +28,8 @@ receiver: https://printer.example/ resourceInventoriedAs: printer:6b97b1be-8e07-44ac-82e5-214f1b2aaf33 # specific brochures resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1000 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1000 - '@id': printer:b52a5815-fae9-43bf-be95-833b95dc0adb '@type': Commitment @@ -39,8 +39,8 @@ receiver: https://printer.example/ resourceInventoriedAs: printer:3129ca8b-fcda-45be-bbda-294dc924d3b9 # paper resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1020 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1020 - '@id': printer:9bd19194-a36d-4a1f-896b-8082887962cb '@type': Process @@ -56,8 +56,8 @@ receiver: https://printer.example/ resourceInventoriedAs: printer:6078f30a-b15b-4b1c-8e77-797abae11378 # specific posters resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 35 + om2:hasUnit: om2:one + om2:hasNumericalValue: 35 - '@id': printer:60f4204e-b8d2-4026-8577-102c3f82c0af '@type': Commitment @@ -67,8 +67,8 @@ receiver: https://printer.example/ resourceInventoriedAs: printer:e56fd654-7b94-4d96-8e60-de39e08329a7 # paper resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 35 + om2:hasUnit: om2:one + om2:hasNumericalValue: 35 - '@id': printer:b90b0b77-09a2-42e2-8bd4-e9ae2c1c6172 '@type': Commitment @@ -78,8 +78,8 @@ receiver: https://printer.example/ resourceInventoriedAs: printer:e4783bef-9006-490c-9c03-389272c7444d # printing plate for the specific posters effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 1.5 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 1.5 - '@id': printer:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da59b '@type': Process @@ -94,8 +94,8 @@ receiver: https://printer.example/ resourceInventoriedAs: printer:e4783bef-9006-490c-9c03-389272c7444d # printing plate for the specific posters resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': printer:ad56a7ed-be3c-4937-a3fb-0f156bcd2c47 '@type': Commitment @@ -105,5 +105,5 @@ receiver: https://printer.example/ resourceInventoriedAs: printer:86ad6e22-7640-4b93-972a-db7177ab2616 # blank printing plate resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 diff --git a/examples/simple-proposals.yaml b/examples/simple-proposals.yaml @@ -38,8 +38,8 @@ receiver: https://alice.example/ resourceClassifiedAs: https://www.wikidata.org/wiki/Q4917 # US Dollar resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 15 + om2:hasUnit: om2:one + om2:hasNumericalValue: 15 - '@id': alice:f325a950-5737-488d-b122-8f21114d0eb0 '@type': ProposedIntent diff --git a/examples/transfer-crypto.yaml b/examples/transfer-crypto.yaml @@ -16,16 +16,16 @@ skos:note: Alice's wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 540 + om2:hasUnit: om2:one + om2:hasNumericalValue: 540 - '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3 '@type': EconomicResource skos:note: Bob's wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 480 + om2:hasUnit: om2:one + om2:hasNumericalValue: 480 # transfer from Alice to Bob @@ -38,8 +38,8 @@ provider: https://alice.example receiver: https://bob.example resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 100 + om2:hasUnit: om2:one + om2:hasNumericalValue: 100 hasPointInTime: 2019-04-18T8:30:08-5:00 # accounts after @@ -49,13 +49,13 @@ skos:note: Alice's wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 440 + om2:hasUnit: om2:one + om2:hasNumericalValue: 440 - '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3 '@type': EconomicResource skos:note: Bob's wallet address classifiedAs: wd:Q21002847 # FairCoin accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 580 + om2:hasUnit: om2:one + om2:hasNumericalValue: 580 diff --git a/examples/transport-with-transfer.yaml b/examples/transport-with-transfer.yaml @@ -17,11 +17,11 @@ trackingIdentifier: lot-alice-apples-2018-10-11 locatedAt: geo:70ee3034-0d15-4471-8ee3-91c60bb1a9c9 accountingQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 230 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 230 onhandQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 230 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 230 # alice commits to transfer some apples to bob @@ -32,8 +32,8 @@ provider: https://alice.example/ receiver: https://bob.example/ resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 # alice and claudia agree on transportation of the apples @@ -48,8 +48,8 @@ provider: https://alice.example/ receiver: https://claudia.example/ resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 10 + om2:hasUnit: om2:one + om2:hasNumericalValue: 10 clauseOf: urn:uuid:f325a950-5737-488d-b122-8f21114d0eb0 # transportation agreement - '@id': urn:uuid:c7897c39-7f05-4a5d-a487-80e130a2414a @@ -60,8 +60,8 @@ provider: https://claudia.example/ receiver: https://alice.example/ resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 clauseOf: urn:uuid:f325a950-5737-488d-b122-8f21114d0eb0 # transportation agreement # alice transfers custody of the apples to claudia for transportation @@ -75,8 +75,8 @@ receiver: https://claudia.example/ toResourceInventoriedAs: claudia:27be5cab-d740-4194-9298-1661a69d9d95 # claudia's bill of lading on the truck resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 # resources snapshot @@ -86,19 +86,19 @@ trackingIdentifier: lot-alice-apples-2018-10-11 locatedAt: geo:70ee3034-0d15-4471-8ee3-91c60bb1a9c9 accountingQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 230 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 230 onhandQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 200 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 200 - '@id': claudia:27be5cab-d740-4194-9298-1661a69d9d95 '@type': EconomicResource classifiedAs: wd:Q41777871 # haralson apples trackingIdentifier: lot-alice-apples-2018-10-11 onhandQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 # claudia transports the apples in two hops @@ -114,8 +114,8 @@ provider: https://claudia.example/ receiver: https://claudia.example/ resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 - '@id': claudia:57f1c1d0-432e-4bfa-9d32-002b8955a708 '@type': EconomicEvent @@ -125,8 +125,8 @@ provider: https://claudia.example/ receiver: https://claudia.example/ resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 - '@id': claudia:c404cff5-19c7-453d-b0d8-d8e96055bd0c '@type': Process @@ -140,8 +140,8 @@ provider: https://claudia.example/ receiver: https://claudia.example/ resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 - '@id': claudia:9cb4944b-d26d-4774-a530-d18f2747c0d8 '@type': EconomicEvent @@ -151,8 +151,8 @@ provider: https://claudia.example/ receiver: https://claudia.example/ resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 - '@id': urn:uuid:68cabaf3-deb8-4bd5-a439-798263abe35a '@type': EconomicEvent @@ -163,16 +163,16 @@ provider: https://claudia.example/ receiver: https://alice.example/ resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 - '@id': urn:uuid:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 '@type': Fulfillment fulfills: urn:uuid:c7897c39-7f05-4a5d-a487-80e130a2414a # the commitment fulfilledBy: urn:uuid:68cabaf3-deb8-4bd5-a439-798263abe35a # the economic event resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 # bob receives the apples @@ -186,8 +186,8 @@ provider: https://claudia.example/ receiver: https://bob.example/ resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 # receipt of the apples triggers finalizing the transfer of ownership @@ -199,8 +199,8 @@ provider: https://alice.example/ receiver: https://bob.example/ resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 triggeredBy: urn:uuid:7a63ea10-b1c3-441a-9a08-fb8630c02614 - '@id': urn:uuid:6f438393-7f87-4914-806c-e23a4fd15e89 @@ -208,8 +208,8 @@ fulfills: urn:uuid:6b5bc786-b9ed-4189-b34f-5ef7d10f1f86 # the commitment fulfilledBy: urn:uuid:ad56a7ed-be3c-4937-a3fb-0f156bcd2c47 # the economic event resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 # resources snapshot @@ -219,11 +219,11 @@ trackingIdentifier: lot-alice-apples-2018-10-11 locatedAt: geo:70ee3034-0d15-4471-8ee3-91c60bb1a9c9 # only the possessed amount accountingQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 200 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 200 onhandQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 200 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 200 - '@id': bob:9bd19194-a36d-4a1f-896b-8082887962cb '@type': EconomicResource @@ -231,18 +231,18 @@ trackingIdentifier: lot-alice-apples-2018-10-11 locatedAt: geo:b52a5815-fae9-43bf-be95-833b95dc0ada # only the possessed amount accountingQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 onhandQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 30 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 30 - '@id': claudia:27be5cab-d740-4194-9298-1661a69d9d95 # claudia's bill of lading on the truck '@type': EconomicResource classifiedAs: wd:Q41777871 # haralson apples onhandQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 0 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 0 # alice pays claudia for the transportation service @@ -255,14 +255,14 @@ provider: https://alice.example/ receiver: https://claudia.example/ resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 10 + om2:hasUnit: om2:one + om2:hasNumericalValue: 10 - '@id': urn:uuid:fbff9852-36ca-4364-a943-bc0b49e1cab5 '@type': Fulfillment fulfills: urn:uuid:33e8933b-ff73-4a01-964a-ca7a98893083 # the commitment fulfilledBy: urn:uuid:8baa8ff7-9c1e-4586-ae7b-79d620a3cac9 # the economic event resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 10 + om2:hasUnit: om2:one + om2:hasNumericalValue: 10 diff --git a/examples/workflow-stage-state.yaml b/examples/workflow-stage-state.yaml @@ -12,20 +12,20 @@ - '@id': urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3 '@type': ResourceSpecification name: Bucket white 5 gallon - unitOfResource: unit:Number + unitOfResource: om2:one substitutable: true - '@id': urn:uuid:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 '@type': ResourceSpecification name: Thermoplastic polymer white - unitOfResource: unit:Kilogram + unitOfResource: om2:kilogram substitutable: true - '@id': urn:uuid:c7897c39-7f05-4a5d-a487-80e130a2414a '@type': ResourceSpecification name: Injection molding machine - unitOfResource: unit:Number - unitOfEffort: unit:Hour + unitOfResource: om2:one + unitOfEffort: om2:hour substitutable: true - '@id': mfg:27be5cab-d740-4194-9298-1661a69d9d95 @@ -43,16 +43,16 @@ name: Bucket white 5 gallon resourceConformsTo: urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 320 + om2:hasUnit: om2:one + om2:hasNumericalValue: 320 - '@id': mfg:6b5bc786-b9ed-4189-b34f-5ef7d10f1f86 '@type': EconomicResource name: Thermoplastic polymer white resourceConformsTo: urn:uuid:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 accountingQuantity: - qudt:unit: unit:Kilograms - qudt:numericValue: 2455 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 2455 - '@id': mfg:23799c14-c368-4653-a584-83bf9ae8b82a '@type': EconomicResource @@ -60,9 +60,9 @@ resourceConformsTo: urn:uuid:c7897c39-7f05-4a5d-a487-80e130a2414a trackingIdentifier: DDE098989099911 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 - unitOfEffort: unit:Hour + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 + unitOfEffort: om2:hour # the recipe (the recipe runs "backwards" from the final product) @@ -76,8 +76,8 @@ action: pass recipeFlowResource: mfg:ac9ec98d-db80-44dc-97be-7aa149b2fe5d resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 500 + om2:hasUnit: om2:one + om2:hasNumericalValue: 500 - '@id': mfg:a3be5259d-10f0-431c-9fec-9c0c15a461d3 '@type': RecipeResource @@ -89,8 +89,8 @@ action: fail recipeFlowResource: mfg:a3be5259d-10f0-431c-9fec-9c0c15a461d3 resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 0 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 0 - '@id': mfg:a8356625-bf64-4c16-9099-28aa1b718c4b '@type': RecipeProcess @@ -107,8 +107,8 @@ recipeFlowResource: mfg:b75d8f6a-e2df-4e52-b36d-1a22a66f4ead stage: mfg:27be5cab-d740-4194-9298-1661a69d9d95 # 'make' process specification resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 500 + om2:hasUnit: om2:one + om2:hasNumericalValue: 500 - '@id': mfg:b75d8f6a-e2df-4e52-b36d-1a22a66f4ead '@type': RecipeResource @@ -120,8 +120,8 @@ action: produce recipeFlowResource: mfg:b75d8f6a-e2df-4e52-b36d-1a22a66f4ead resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 500 + om2:hasUnit: om2:one + om2:hasNumericalValue: 500 - '@id': mfg:e1721a61-cd47-4556-84b9-8b1b81da15bf '@type': RecipeProcess @@ -137,8 +137,8 @@ action: consume recipeFlowResource: mfg:6405b8ad-0ac2-4d58-abdb-0808903c78ad resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 450 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 450 - '@id': mfg:6405b8ad-0ac2-4d58-abdb-0808903c78ad '@type': RecipeResource @@ -150,8 +150,8 @@ action: use recipeFlowResource: mfg:e02e3f6b-420a-4ba8-89b0-909d7363ce07 effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 5.5 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 5.5 - '@id': mfg:e02e3f6b-420a-4ba8-89b0-909d7363ce07 '@type': RecipeResource @@ -172,8 +172,8 @@ receiver: https://manufacturing.example/ resourceConformsTo: urn:uuid:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 # polymer resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 900 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 900 - '@id': mfg:52f0e212-3c4f-4d27-b345-5e964c135824 '@type': Commitment @@ -183,8 +183,8 @@ receiver: https://manufacturing.example/ resourceConformsTo: urn:uuid:c7897c39-7f05-4a5d-a487-80e130a2414a # injection molding machine effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 11 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 11 - '@id': mfg:02b39a30-3e04-4305-9656-7f261aa63c84 '@type': Process @@ -203,8 +203,8 @@ receiver: https://manufacturing.example/ resourceConformsTo: urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3 # bucket resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1000 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1000 - '@id': mfg:fbff9852-36ca-4364-a943-bc0b49e1cab5 '@type': Commitment @@ -215,8 +215,8 @@ resourceConformsTo: urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3 # bucket stage: mfg:27be5cab-d740-4194-9298-1661a69d9d95 # 'make' process specification resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1000 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1000 - '@id': mfg:8baa8ff7-9c1e-4586-ae7b-79d620a3cac9 '@type': Process @@ -236,8 +236,8 @@ receiver: https://manufacturing.example/ resourceConformsTo: urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3 # bucket resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1000 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1000 # manufacture and test the buckets according to plan @@ -249,8 +249,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:6b5bc786-b9ed-4189-b34f-5ef7d10f1f86 # polymer stock resourceQuantity: - qudt:unit: unit:Kilogram - qudt:numericValue: 925 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 925 - '@id': mfg:5d2fe7da-b91b-4dab-91d9-68db80c1feb7 '@type': EconomicEvent @@ -260,8 +260,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:23799c14-c368-4653-a584-83bf9ae8b82a # the machine effortQuantity: - qudt:unit: unit:Hour - qudt:numericValue: 10.7 + om2:hasUnit: om2:hour + om2:hasNumericalValue: 10.7 - '@id': mfg:8791913c-0152-4c32-bb3f-f25d61df736c '@type': EconomicEvent @@ -271,8 +271,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:3129ca8b-fcda-45be-bbda-294dc924d3b9 # buckets resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1000 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1000 - '@id': mfg:a8236bbb-81e0-422d-9861-56d2417db0fb '@type': EconomicEvent @@ -282,8 +282,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:3129ca8b-fcda-45be-bbda-294dc924d3b9 #buckets resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1000 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1000 - '@id': mfg:52f0e212-3c4f-4d27-b345-5e964c135824 '@type': EconomicEvent @@ -293,8 +293,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:3129ca8b-fcda-45be-bbda-294dc924d3b9 # buckets resourceQuantity: - qudt:unit: unit:Number - qudt:numericValue: 998 + om2:hasUnit: om2:one + om2:hasNumericalValue: 998 - '@id': mfg:e1721a61-cd47-4556-84b9-8b1b81da15bf '@type': EconomicEvent @@ -304,8 +304,8 @@ receiver: https://manufacturing.example/ resourceInventoriedAs: mfg:6b5bc786-b9ed-4189-b34f-5ef7d10f1f86 # polymer stock resourceQuantity: - qudt:unit: unit:Kilograms - qudt:numericValue: 1.8 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 1.8 # resources after @@ -314,16 +314,16 @@ name: Bucket white 5 gallon resourceConformsTo: urn:uuid:3be5259d-10f0-431c-9fec-9c0c15a461d3 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1318 + om2:hasUnit: om2:one + om2:hasNumericalValue: 1318 - '@id': mfg:6b5bc786-b9ed-4189-b34f-5ef7d10f1f86 '@type': EconomicResource name: Thermoplastic polymer white resourceConformsTo: urn:uuid:d4d2fd71-34f2-41c3-b1c5-19ad5ed2da58 accountingQuantity: - qudt:unit: unit:Kilograms - qudt:numericValue: 1531.8 + om2:hasUnit: om2:kilogram + om2:hasNumericalValue: 1531.8 - '@id': mfg:23799c14-c368-4653-a584-83bf9ae8b82a '@type': EconomicResource @@ -331,6 +331,6 @@ resourceConformsTo: urn:uuid:c7897c39-7f05-4a5d-a487-80e130a2414a trackingIdentifier: DDE098989099911 accountingQuantity: - qudt:unit: unit:Number - qudt:numericValue: 1 - unitOfEffort: unit:Hour + om2:hasUnit: om2:one + om2:hasNumericalValue: 1 + unitOfEffort: om2:hour diff --git a/release-doc-in-process/all_vf.TTL b/release-doc-in-process/all_vf.TTL @@ -5,11 +5,12 @@ @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix org: <http://www.w3.org/ns/org#> . @prefix dcterms: <http://purl.org/dc/terms/> . -@prefix qudt: <http://qudt.org/schema/qudt/> . +@prefix om2: <http://www.ontology-of-units-of-measure.org/resource/om-2/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix time: <http://www.w3.org/2006/time#> . @prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . @prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> . +@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> . @prefix dfc: <http://www.virtual-assembly.org/DataFoodConsortium/BusinessOntology#> . @prefix skos: <http://www.w3.org/2004/02/skos/core#> . @@ -393,38 +394,41 @@ vf:due a owl:DatatypeProperty ; vf:accountingQuantity a owl:ObjectProperty ; rdfs:label "accounting quantity" ; rdfs:domain vf:EconomicResource ; - rdfs:range qudt:QuantityValue ; + rdfs:range om2:Measure ; vs:term_status "unstable" ; rdfs:comment "The current amount and unit of the economic resource for which the agent has primary rights and responsibilities, sometimes thought of as ownership. This can be either stored or derived from economic events affecting the resource." . vf:onhandQuantity a owl:ObjectProperty ; rdfs:label "onhand quantity" ; rdfs:domain vf:EconomicResource ; - rdfs:range qudt:QuantityValue ; + rdfs:range om2:Measure ; vs:term_status "unstable" ; rdfs:comment "The current amount and unit of the economic resource which is under direct control of the agent. It may be more or less than the accounting quantity. This can be either stored or derived from economic events affecting the resource." . vf:resourceQuantity a owl:ObjectProperty ; rdfs:label "resource quantity" ; rdfs:domain [ owl:unionOf (vf:EconomicEvent vf:Commitment vf:Intent vf:RecipeFlow vf:Fulfillment vf:Satisfaction vf:Claim vf:Settlement) ] ; - rdfs:range qudt:QuantityValue ; + rdfs:range om2:Measure ; vs:term_status "unstable" ; rdfs:comment "The amount and unit of the economic resource counted or inventoried." . vf:effortQuantity a owl:ObjectProperty ; rdfs:label "effort quantity" ; rdfs:domain [ owl:unionOf (vf:EconomicEvent vf:Commitment vf:Intent vf:RecipeFlow vf:Fulfillment vf:Satisfaction vf:Claim vf:Settlement) ] ; - rdfs:range qudt:QuantityValue ; + rdfs:range om2:Measure ; vs:term_status "unstable" ; rdfs:comment "The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness." . vf:availableQuantity a owl:ObjectProperty ; rdfs:label "available quantity" ; rdfs:domain vf:Intent ; - rdfs:range qudt:QuantityValue ; + rdfs:range om2:Measure ; vs:term_status "unstable" ; rdfs:comment "The quantity of the offered resource currently available." . +om2:hasNumericalValue + rdfs:range dtype:numericUnion . + vf:unitBased a owl:DatatypeProperty ; rdfs:label "unit based" ; rdfs:domain vf:Proposal ; @@ -642,14 +646,14 @@ vf:substitutable a owl:DatatypeProperty ; vf:unitOfResource a owl:ObjectProperty ; rdfs:label "unit of resource" ; rdfs:domain vf:RecipeResource ; - rdfs:range qudt:unit ; + rdfs:range om2:Unit ; vs:term_status "unstable" ; rdfs:comment "The unit used for this resource in the recipe." . vf:unitOfEffort a owl:ObjectProperty ; rdfs:label "unit of effort" ; rdfs:domain [ owl:unionOf (vf:RecipeResource vf:EconomicResource) ] ; - rdfs:range qudt:unit ; + rdfs:range om2:Unit ; vs:term_status "unstable" ; rdfs:comment "The unit used for use or work or sometimes cite actions." .