For making query builders, it can be very useful to get information about what feature keys are in your model(s).
Grouping property keys
You can group by propertyset/propertyname combinations. This allows you to quickly get an idea of which properties are used in one or more models. You can further filter by using the WHERE clause.
GET property.meta, COUNT(qid) WHERE type = IFCWALL GROUP BY property.meta[{ "property": { "propertyName": "ExtendToStructure", "propertySetName": "Pset_WallCommon" }, "COUNT": { "name": "COUNT", "value": 1, "unit": "UNITLESS", "type": "int" } },... ]Other grouping examples:
GET material.name, COUNT(qid) GROUP BY material.nameGET classification.itemReference, COUNT(qid) GROUP BY classification.itemReferenceGET quantity.meta, COUNT(qid) GROUP BY quantity.metaGET attribute.meta, COUNT(qid) GROUP BY attribute.meta