---
title: BQL
summary: The BIM.works Query Language. Selects objects and their features across one or more models; the base of the other BIM.works languages.
part: glossary
see-also: [reference/bql, tutorials/bql, explanation/the-query-languages]
---

# BQL

BQL is the language you write to ask a model something: `GET type, COUNT(qid) GROUP BY type`, `GET qid, attribute.Name WHERE type = IFCDOOR AND property.*.FireRating = null`. A statement is `GET … WHERE … GROUP BY … ORDER BY … LIMIT … OFFSET … USING`, with `UNIT` after a feature to convert it. There is no `FROM`: the versions to query are a parameter of the API call, and one query runs across all of them.

The other languages build on it: [[term:bvl]], [[term:bcl]] and [[term:brl]] use BQL boolean expressions as their conditions, [[term:bul]] as the target of an update, [[term:bcol]] for the features it compares. The JSON query format of older releases ("BimQuery") is deprecated and not documented. See [[page:reference/bql]] and [[page:explanation/the-query-languages]].
