-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Since buildingMOTIF is compatible with more than brick, would it be possible to provide example templates with the other schemas on the tutorial for templates page.
For the tutorial, the dependencies use the pattern:
body> ...
brick:hasPoint p:sa-flow
...
.
.
.
template: https://brickschema.org/schema/Brick#Supply_Air_Flow_Sensor
^ overall link ^ specific equipment name
# or manually
template: other_manually_written_template
I found a few template examples inside the github folder BuildingMOTIF/.../ashrae/223p/nrel-templates, and I was wondering if it was possible to put these into the official documentation for others to reference.
One thing I noticed in these examples is that the dependencies never get template from url.
For example:
pipe:
body: >
@prefix P: <urn:___param___#> .
@prefix s223: <http://data.ashrae.org/standard223#> .
P:name a s223:Pipe ;
s223:hasMedium s223:Fluid-Water ;
s223:cnx P:a, P:b .
- From the yml I've skimmed, all of the dependencies' template are manually written elsewhere, rather than grabbing from an url/pre-existing template. Why does the tutorial with brickschema In one, I saw this, but it is obviously commented out:
sensor:
body: >
@prefix P: <urn:___param___#> .
@prefix s223: <http://data.ashrae.org/standard223#> .
P:name a s223:Sensor ;
s223:hasObservationLocation P:where ;
s223:observes P:property .
#dependencies:
# - template: http://data.ashrae.org/standard223#Property
# library: http://data.ashrae.org/standard223/1.0/model/all
# args: {"name": "property"}
# - template: http://data.ashrae.org/standard223#Connectable
# library: http://data.ashrae.org/standard223/1.0/model/all
# args: {"name": "where"}
# #optional: ["where"]
- Does the above work? Or does ashrae s223 not have templates?
Metadata
Metadata
Assignees
Labels
No labels