---
title: Spatial structure
summary: The IFC hierarchy project, site, building, building storey, space, in which every element is contained. BQL walks it with project, site, building, buildingStorey, space, containedIn and decomposes.
part: glossary
see-also: [glossary/building-storey, reference/bql/sub-features]
---

# Spatial structure

An IFC model decomposes an `IfcProject` into sites, buildings, storeys and spaces; elements are then *contained in* one of those, and elements can *decompose* other elements (a curtain wall into its panels). [[term:bql]] exposes both directions as [[term:sub-feature|sub-features]]: `site`, `building`, `buildingStorey`, `space`, `containedIn`, `decomposes` and `parent` go up, `children`, `containmentChildren`, `decompositionChildren` and `allChildren` go down. Spatial elements are hidden by default in the viewers and in report viewports, and shown when a query or a [[term:bvl]] script names them.
