How it works
Theupstream and downstream fields follow feeds relationships transitively, from a starting entity through the full chain of equipment, regardless of depth.
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
maxDepth | Int | unlimited | Maximum number of hops to traverse |
medium | String | all | Filter by distribution medium (AIR, CHILLED_WATER, HOT_WATER, CONDENSER_WATER) |
is | String | all | Filter results to a specific Brick class (resolves subtypes) |
Return type
Bothupstream and downstream return [Equipment!]!, a flat list of equipment entities in traversal order (nearest first).
Examples
Basic upstream
With sensor data
Filtered by medium
Filtered by type
Depth-limited
Equivalent SPARQL
Theupstream field replaces this SPARQL pattern:
downstream field replaces:
