Skip to content

Commit

Permalink
fix queries
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Dec 14, 2023
1 parent 10a7f4f commit ce60077
Show file tree
Hide file tree
Showing 9 changed files with 25,956 additions and 25,952 deletions.
4 changes: 2 additions & 2 deletions examples/G36-4-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ and illustrated in Figure A-1.

## Downloads

- <a href="/G36-4-1.ttl">Turtle file</a>
- <a href="/G36-4-1.jsonld">JSON-LD file</a>
- <a href="/g36-4-1.ttl">Turtle file</a>
- <a href="/g36-4-1.jsonld">JSON-LD file</a>

## Model Components
| Parent Class | Class | Instances |
Expand Down
9 changes: 7 additions & 2 deletions examples/NREL-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ This is an example building provided by the National Renewable Energy Laboratory

## Downloads

- <a href="/NREL-example.ttl">Turtle file</a>
- <a href="/NREL-example.jsonld">JSON-LD file</a>
- <a href="/nrel-example.ttl">Turtle file</a>
- <a href="/nrel-example.jsonld">JSON-LD file</a>

## Queries
| Description | Query URL |
|-------------|-----------|
| Zone/room temperature sensors | [Query Link](https://query.open223.info/?query=PREFIX+s223%3A+%3Chttp%3A%2F%2Fdata.ashrae.org%2Fstandard223%23%3E+PREFIX+unit%3A+%3Chttp%3A%2F%2Fqudt.org%2Fvocab%2Funit%2F%3E+PREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+PREFIX+quantitykind%3A+%3Chttp%3A%2F%2Fqudt.org%2Fvocab%2Fquantitykind%2F%3E+PREFIX+qudt%3A+%3Chttp%3A%2F%2Fqudt.org%2Fschema%2Fqudt%2F%3E+PREFIX+sh%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23%3E+PREFIX+owl%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E+SELECT+%3Flocation+%3Fsensor+WHERE+%7B+++++%3Fsensor+rdf%3Atype%2Frdfs%3AsubClassOf%2A+s223%3ASensor+.+++++%3Fsensor+s223%3Aobserves+%3Fproperty+.+++++%3Fproperty+qudt%3AhasQuantityKind+quantitykind%3ATemperature+.+++++%3Fsensor+s223%3AhasObservationLocation+%3Flocation+%7D+&url=https://models.open223.info/models/nrel-example.ttl) |

## Model Components
| Parent Class | Class | Instances |
|------------|-------|----------------|
Expand Down
1 change: 0 additions & 1 deletion examples/lbnl-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ This is an example building provided by Lawrence Berkeley National Laboratory
## Queries
| Description | Query URL |
|-------------|-----------|
| Zone/room temperature sensors | [Query Link](https://query.open223.info/?query=PREFIX+s223%3A+%3Chttp%3A%2F%2Fdata.ashrae.org%2Fstandard223%23%3E+PREFIX+unit%3A+%3Chttp%3A%2F%2Fqudt.org%2Fvocab%2Funit%2F%3E+PREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+PREFIX+quantitykind%3A+%3Chttp%3A%2F%2Fqudt.org%2Fvocab%2Fquantitykind%2F%3E+PREFIX+qudt%3A+%3Chttp%3A%2F%2Fqudt.org%2Fschema%2Fqudt%2F%3E+PREFIX+sh%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23%3E+PREFIX+owl%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E+SELECT+%3Flocation+%3Fsensor+WHERE+%7B+++++%3Fsensor+rdf%3Atype%2Frdfs%3AsubClassOf%2A+s223%3ASensor+.+++++%3Fsensor+s223%3Aobserves+%3Fproperty+.+++++%3Fproperty+qudt%3AhasQuantityKind+quantitykind%3ATemperature+.+++++%3Fsensor+s223%3AhasObservationLocation+%3Flocation+%7D+&url=https://models.open223.info/models/NREL-example.ttl) |
| Zone/room temperature sensors | [Query Link](https://query.open223.info/?query=PREFIX+s223%3A+%3Chttp%3A%2F%2Fdata.ashrae.org%2Fstandard223%23%3E+PREFIX+unit%3A+%3Chttp%3A%2F%2Fqudt.org%2Fvocab%2Funit%2F%3E+PREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+PREFIX+quantitykind%3A+%3Chttp%3A%2F%2Fqudt.org%2Fvocab%2Fquantitykind%2F%3E+PREFIX+qudt%3A+%3Chttp%3A%2F%2Fqudt.org%2Fschema%2Fqudt%2F%3E+PREFIX+sh%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23%3E+PREFIX+owl%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E+SELECT+%3Flocation+%3Fsensor+WHERE+%7B+++++%3Fsensor+rdf%3Atype%2Frdfs%3AsubClassOf%2A+s223%3ASensor+.+++++%3Fsensor+s223%3Aobserves+%3Fproperty+.+++++%3Fproperty+qudt%3AhasQuantityKind+quantitykind%3ATemperature+.+++++%3Fsensor+s223%3AhasObservationLocation+%3Flocation+%7D+&url=https://models.open223.info/models/lbnl-example.ttl) |

## Model Components
Expand Down
202 changes: 101 additions & 101 deletions models/G36-4-1.jsonld
Original file line number Diff line number Diff line change
@@ -1,187 +1,214 @@
[
{
"@id": "urn:ex/vav-cooling-only",
"@id": "urn:ex/duct-before-damper",
"@type": [
"http://data.ashrae.org/standard223#SingleDuctTerminal",
"http://data.ashrae.org/standard223/1.0/extensions/g36#VAV"
],
"http://data.ashrae.org/standard223#cnx": [
{
"@id": "urn:ex/in"
},
{
"@id": "urn:ex/out"
}
"http://data.ashrae.org/standard223#Connection",
"http://data.ashrae.org/standard223#Duct"
],
"http://data.ashrae.org/standard223#contains": [
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "urn:ex/damper"
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
]
},
{
"@id": "urn:ex/damper-out",
"@id": "urn:ex/",
"@type": [
"http://www.w3.org/2002/07/owl#Ontology"
]
},
{
"@id": "urn:ex/out",
"@type": [
"http://data.ashrae.org/standard223#OutletConnectionPoint"
],
"http://data.ashrae.org/standard223#cnx": [
{
"@id": "urn:ex/duct-after-damper"
"@id": "urn:ex/out-connection"
}
],
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
],
"http://data.ashrae.org/standard223#mapsTo": [
"http://data.ashrae.org/standard223#hasProperty": [
{
"@id": "urn:ex/out"
"@id": "urn:ex/discharge-air-flow"
}
]
},
{
"@id": "urn:ex/in",
"@id": "urn:ex/in-connection",
"@type": [
"http://data.ashrae.org/standard223#Connection"
],
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
]
},
{
"@id": "urn:ex/damper-in",
"@type": [
"http://data.ashrae.org/standard223#InletConnectionPoint"
],
"http://data.ashrae.org/standard223#cnx": [
{
"@id": "urn:ex/in-connection"
"@id": "urn:ex/duct-before-damper"
}
],
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
],
"http://data.ashrae.org/standard223#mapsTo": [
{
"@id": "urn:ex/in"
}
]
},
{
"@id": "urn:ex/damper-position",
"@id": "urn:ex/damper-out",
"@type": [
"http://data.ashrae.org/standard223#QuantifiableObservableProperty"
"http://data.ashrae.org/standard223#OutletConnectionPoint"
],
"http://qudt.org/schema/qudt/hasQuantityKind": [
"http://data.ashrae.org/standard223#cnx": [
{
"@id": "http://qudt.org/vocab/quantitykind/DimensionlessRatio"
"@id": "urn:ex/duct-after-damper"
}
],
"http://qudt.org/schema/qudt/hasUnit": [
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "http://qudt.org/vocab/unit/PERCENT"
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
],
"http://data.ashrae.org/standard223#mapsTo": [
{
"@id": "urn:ex/out"
}
]
},
{
"@id": "urn:ex/damper-command",
"@id": "urn:ex/discharge-air-flow",
"@type": [
"http://data.ashrae.org/standard223#QuantifiableActuatableProperty"
"http://data.ashrae.org/standard223#QuantifiableObservableProperty"
],
"http://data.ashrae.org/standard223#hasAspect": [
{
"@id": "http://data.ashrae.org/standard223#EnumerationKind-Position"
"@id": "http://data.ashrae.org/standard223#Role-Discharge"
}
],
"http://qudt.org/schema/qudt/hasQuantityKind": [
{
"@id": "http://qudt.org/vocab/quantitykind/DimensionlessRatio"
"@id": "http://qudt.org/vocab/quantitykind/VolumeFlowRate"
}
],
"http://qudt.org/schema/qudt/hasUnit": [
{
"@id": "http://qudt.org/vocab/unit/PERCENT"
"@id": "http://qudt.org/vocab/unit/FT3-PER-MIN"
}
]
},
{
"@id": "urn:ex/duct-before-damper",
"@id": "urn:ex/discharge-air-flow-sensor",
"@type": [
"http://data.ashrae.org/standard223#Connection",
"http://data.ashrae.org/standard223#Duct"
"http://data.ashrae.org/standard223#Sensor"
],
"http://data.ashrae.org/standard223#hasMedium": [
"http://data.ashrae.org/standard223#hasObservationLocation": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
"@id": "urn:ex/out"
}
],
"http://data.ashrae.org/standard223#observes": [
{
"@id": "urn:ex/discharge-air-flow"
}
]
},
{
"@id": "urn:ex/damper-in",
"@id": "urn:ex/damper-command",
"@type": [
"http://data.ashrae.org/standard223#InletConnectionPoint"
"http://data.ashrae.org/standard223#QuantifiableActuatableProperty"
],
"http://data.ashrae.org/standard223#cnx": [
"http://data.ashrae.org/standard223#hasAspect": [
{
"@id": "urn:ex/duct-before-damper"
"@id": "http://data.ashrae.org/standard223#EnumerationKind-Position"
}
],
"http://data.ashrae.org/standard223#hasMedium": [
"http://qudt.org/schema/qudt/hasQuantityKind": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
"@id": "http://qudt.org/vocab/quantitykind/DimensionlessRatio"
}
],
"http://data.ashrae.org/standard223#mapsTo": [
"http://qudt.org/schema/qudt/hasUnit": [
{
"@id": "urn:ex/in"
"@id": "http://qudt.org/vocab/unit/PERCENT"
}
]
},
{
"@id": "urn:ex/discharge-air-flow-sensor",
"@id": "urn:ex/damper-position",
"@type": [
"http://data.ashrae.org/standard223#Sensor"
"http://data.ashrae.org/standard223#QuantifiableObservableProperty"
],
"http://data.ashrae.org/standard223#hasObservationLocation": [
"http://qudt.org/schema/qudt/hasQuantityKind": [
{
"@id": "urn:ex/out"
"@id": "http://qudt.org/vocab/quantitykind/DimensionlessRatio"
}
],
"http://data.ashrae.org/standard223#observes": [
"http://qudt.org/schema/qudt/hasUnit": [
{
"@id": "urn:ex/discharge-air-flow"
"@id": "http://qudt.org/vocab/unit/PERCENT"
}
]
},
{
"@id": "urn:ex/",
"@id": "urn:ex/out-connection",
"@type": [
"http://www.w3.org/2002/07/owl#Ontology"
"http://data.ashrae.org/standard223#Connection"
],
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
]
},
{
"@id": "urn:ex/damper-actuator",
"@id": "urn:ex/vav-cooling-only",
"@type": [
"http://data.ashrae.org/standard223#Actuator"
"http://data.ashrae.org/standard223#SingleDuctTerminal",
"http://data.ashrae.org/standard223/1.0/extensions/g36#VAV"
],
"http://data.ashrae.org/standard223#actuates": [
"http://data.ashrae.org/standard223#cnx": [
{
"@id": "urn:ex/damper"
"@id": "urn:ex/in"
},
{
"@id": "urn:ex/out"
}
],
"http://data.ashrae.org/standard223#commandedByProperty": [
"http://data.ashrae.org/standard223#contains": [
{
"@id": "urn:ex/damper-command"
"@id": "urn:ex/damper"
}
]
},
{
"@id": "urn:ex/discharge-air-flow",
"@id": "urn:ex/in",
"@type": [
"http://data.ashrae.org/standard223#QuantifiableObservableProperty"
],
"http://data.ashrae.org/standard223#hasAspect": [
{
"@id": "http://data.ashrae.org/standard223#Role-Discharge"
}
"http://data.ashrae.org/standard223#InletConnectionPoint"
],
"http://qudt.org/schema/qudt/hasQuantityKind": [
"http://data.ashrae.org/standard223#cnx": [
{
"@id": "http://qudt.org/vocab/quantitykind/VolumeFlowRate"
"@id": "urn:ex/in-connection"
}
],
"http://qudt.org/schema/qudt/hasUnit": [
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "http://qudt.org/vocab/unit/FT3-PER-MIN"
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
]
},
Expand All @@ -198,24 +225,18 @@
]
},
{
"@id": "urn:ex/in-connection",
"@id": "urn:ex/damper-actuator",
"@type": [
"http://data.ashrae.org/standard223#Connection"
"http://data.ashrae.org/standard223#Actuator"
],
"http://data.ashrae.org/standard223#hasMedium": [
"http://data.ashrae.org/standard223#actuates": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
"@id": "urn:ex/damper"
}
]
},
{
"@id": "urn:ex/out-connection",
"@type": [
"http://data.ashrae.org/standard223#Connection"
],
"http://data.ashrae.org/standard223#hasMedium": [
"http://data.ashrae.org/standard223#commandedByProperty": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
"@id": "urn:ex/damper-command"
}
]
},
Expand All @@ -241,26 +262,5 @@
"@id": "urn:ex/damper-position"
}
]
},
{
"@id": "urn:ex/out",
"@type": [
"http://data.ashrae.org/standard223#OutletConnectionPoint"
],
"http://data.ashrae.org/standard223#cnx": [
{
"@id": "urn:ex/out-connection"
}
],
"http://data.ashrae.org/standard223#hasMedium": [
{
"@id": "http://data.ashrae.org/standard223#Medium-Air"
}
],
"http://data.ashrae.org/standard223#hasProperty": [
{
"@id": "urn:ex/discharge-air-flow"
}
]
}
]
Loading

0 comments on commit ce60077

Please sign in to comment.