commit db5b7f0ba1bf95c20adc2c9be8e4daf0d4374b43
parent 6e8bef4b1a625b48fbb6ab4c23b1873960652a6d
Author: Lynn Foster <foster.j.lynn@gmail.com>
Date: Sat, 26 Jan 2019 12:16:21 -0600
resource example (#417)
Diffstat:
1 file changed, 42 insertions(+), 0 deletions(-)
diff --git a/examples/resource-examples.yaml b/examples/resource-examples.yaml
@@ -0,0 +1,42 @@
+# Example: Resources
+
+'@context':
+ - https://git.io/vf-examples-jsonld-context
+ - farm: https://farm.example/
+ ose: https://www.opensourceecology.org/
+
+'@id': rgh:valueflows/valueflows/master/examples/resource-examples.yaml
+'@graph':
+
+ - '@id': ose:822b6baf-d66f-45a0-98f2-57450e2aec23
+ '@type': ResourceSpecification
+ name: Tractor - LifeTrac 6
+ url: https://www.opensourceecology.org/portfolio/tractor/
+ image: https://www.opensourceecology.org/wp-content/uploads/2014/02/Tractor_gray.png
+ resourceClassifiedAs: https://www.wikidata.org/wiki/Q39495
+ skos:note: A versatile, 4-wheel drive, hydraulically-driven tractor with 18 to 200 horsepower capacity for agriculture, construction and other utility duties.
+
+ - '@id': farm:fbff9852-36ca-4364-a943-bc0b49e1cab5
+ '@type': EconomicResource
+ name: Tractor - LifeTrac 6
+ trackingIdentifier: 889jcd00s # the serial number assigned by the manufacturer
+ resourceConformsTo: ose:822b6baf-d66f-45a0-98f2-57450e2aec23
+ currentQuantity:
+ qudt:unit: unit:Number
+ qudt:numericValue: 1
+
+ - '@id': farm:07819789-dd51-44c3-b35c-9210165bc832
+ '@type': EconomicResource
+ name: Loose organic carrots
+ trackingIdentifier: 54988 # the lot number assigned by the farm
+ classifiedAs: https://www.wikidata.org/wiki/Q81 # carrot
+ currentQuantity:
+ qudt:unit: unit:Kilogram
+ qudt:numericValue: 650
+ skos:note: Medium size, clean, harvested after the first frost, will store well.
+
+ - '@id': farm:a7e94dde-2997-451e-a7e1-8d364d5e6dee
+ '@type': EconomicResource
+ name: Intern orientation instructions
+ classifiedAs: https://www.wikidata.org/wiki/Q49848 # document
+ url: https://farm.example/docs/intern-orientation.odt