BQL
The BIM.works Query Language. Selects objects and their features across one or more models; the base of the other BIM.works languages.
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: BVL, BCL and BRL use BQL boolean expressions as their conditions, BUL as the target of an update, BCOL for the features it compares. The JSON query format of older releases ("BimQuery") is deprecated and not documented. See BQL and The query languages.