Example: use of drills (shared tools)
From the UC https://github.com/valueflows/valueflows/wiki/Use-Cases-and-Requirements#shared-tools
Local community maintains a shed where they keep shared tools. They maintain each category of tools as one resource with certain number of items in it. People can use those tools, for example: Use 5 electric drills (out of 23 in total) for 3 hours
(Doing this as an issue, as it is a bit obscure for a published example and may have many opinions.)
'@context':
'@vocab': https://w3id.org/valueflows#
xsd: http://www.w3.org/2001/XMLSchema#
qudt: http://qudt.org/schema/qudt/
unit: http://qudt.org/vocab/unit/
time: http://www.w3.org/2006/time#
time:inXSDDateTimeStamp:
'@type': xsd:dateTimeStamp
alice: https://alce.example/
bob: https://bob.example/
carpenters: https://local-carpenters.example/
community: https://community-tools.example/
'@graph':
- '@id': community:60f4204e-b8d2-4026-8577-102c3f82c0af
'@type': EconomicResource
skos:note: Drills
currentQuantity:
qudt:unit: unit:Unitless
qudt:numericValue: 23
- '@id': community:6405b8ad-0ac2-4d58-abdb-08089342abcd
'@type': Transfer
skos:note: carpenters borrow drills from community tool lending library
- '@id': community:6405b8ad-0ac2-4d58-abdb-0808903c78ad
'@type': EconomicEvent
inputOf: community:6405b8ad-0ac2-4d58-abdb-08089342abcd
action: give
provider: community
receiver: carpenters
affects:community:60f4204e-b8d2-4026-8577-102c3f82c0af
observedQuantity:
qudt:unit: unit:Unitless
qudt:numericValue: 5
observedTime:
time:intervalStarts:
time:inXSDDateTimeStamp: 2019-01-02T02:10:43.003-5:00
time:intervalEnds:
time:inXSDDateTimeStamp: 2019-01-02T02:10:43.003-5:00
- '@id': carpenters:6453b8ad-0ac2-4d58-abdb-0808903c78ad
'@type': EconomicEvent
outputOf: community:6405b8ad-0ac2-4d58-abdb-08089342abcd
action: receive
provider: community
receiver: carpenters
affects: carpenters:6453b8ad-b8d2-4026-8577-102c3f934877
observedQuantity:
qudt:unit: unit:Unitless
qudt:numericValue: 5
observedTime:
time:intervalStarts:
time:inXSDDateTimeStamp: 2019-01-02T02:10:43.003-5:00
time:intervalEnds:
time:inXSDDateTimeStamp: 2019-01-02T02:10:43.003-5:00
- '@id': carpenters:6453b8ad-b8d2-4026-8577-102c3f934877
'@type': EconomicResource
skos:note: Borrowed drills
currentQuantity:
qudt:unit: unit:Unitless
qudt:numericValue: 5
- '@id': carpenters:60f4204e-b8d2-4026-8577-42998fe0922a
'@type': EconomicResource
skos:note: Usage of 5 borrowed drills
underlyingResource: carpenters:60f4204e-b8d2-4026-8577-102c3f82c0af
- '@id': carpenters:8e5fe80d-a769-4bd5-89e5-2136d33eab9f
'@type': Process
skos:note: Make wooden cart
- '@id': carpenters:6405b8ad-0ac2-4d58-abdb-23987320002
'@type': EconomicEvent
action: use
affects: carpenters:60f4204e-b8d2-4026-8577-102c3f82c0af
inputOf: carpenters:8e5fe80d-a769-4bd5-89e5-2136d33eab9f
observedQuantity:
qudt:unit: unit:Hour
qudt:numericValue: 3
# .....
- '@id': community:6405b8ad-0ac2-4d58-abdb-080893429876
'@type': Transfer
skos:note: carpenters return drills to community tool lending library
- '@id': carpenters:6405b8ad-0ac2-4d58-abdb-0808903c7453
'@type': EconomicEvent
inputOf: community:6405b8ad-0ac2-4d58-abdb-080893429876
action: give
provider: carpenters
receiver: community
affects:carpenters:6453b8ad-b8d2-4026-8577-102c3f934877
observedQuantity:
qudt:unit: unit:Unitless
qudt:numericValue: 5
observedTime:
time:intervalStarts:
time:inXSDDateTimeStamp: 2019-01-02T05:10:43.003-5:00
time:intervalEnds:
time:inXSDDateTimeStamp: 2019-01-02T05:10:43.003-5:00
- '@id': community:6453b8ad-0ac2-4d58-abdb-0808903cd34a
'@type': EconomicEvent
outputOf: community:6405b8ad-0ac2-4d58-abdb-080893429876
action: receive
provider: carpenters
receiver: community
affects: community:60f4204e-b8d2-4026-8577-102c3f82c0af
observedQuantity:
qudt:unit: unit:Unitless
qudt:numericValue: 5
observedTime:
time:intervalStarts:
time:inXSDDateTimeStamp: 2019-01-02T05:10:43.003-5:00
time:intervalEnds:
time:inXSDDateTimeStamp: 2019-01-02T05:10:43.003-5:00