---
title: Properties
summary: Property sets and properties — property.Pset.Name, the set and name wildcards, quoted names, the fields of a property, list, enumerated, bounded and complex properties, origin, and property.meta.
order: 120
terms: [pset]
see-also: [reference/bql/quantities, reference/bql/attributes, reference/bql/type-objects, reference/bql/meta]
---

# Properties

A property belongs to a property set ([[term:pset]]): `Pset_WallCommon.IsExternal`, `Pset_DoorCommon.FireRating`. BQL addresses a property by set and name, with a wildcard for either.

## property.Pset.Name {#property}

```text {#property-syntax}
property.<Pset>.<Name>
property.*.<Name>            // the property in any set
property.<Pset>.*            // every property of the set
property.*                   // every property of the object
property.<Pset>.<Name>.<field>
```

Set and property names are identifiers or quoted strings; quote a name with spaces, dashes or a leading digit (`property."AR_Ruum"."115_Kategooria"`). A property path always needs a property name: `property.Pset_WallCommon` on its own is a syntax error.

```bql {#property-basic}
GET qid, attribute.Name, property.Pset_WallCommon.IsExternal, property.Pset_WallCommon.FireRating WHERE type = IFCWALL
```

```bql {#property-wildcard-set}
GET qid, property.*.FireRating WHERE type = IFCDOOR AND property.*.FireRating
```

```bql {#property-all-of-set}
GET qid, property.Pset_SpaceCommon.* WHERE type = IFCSPACE
```

```bql {#property-quoted}
GET qid, property."AR_Ruum"."115_Kategooria" WHERE type = IFCSPACE
```

## In WHERE {#where}

Properties compare with the comparators of [[bql:where]]: booleans with `= true`/`= false`, numbers with `<`, `BETWEEN`, tolerances and unit literals, strings with `CONTAINS`, `STARTS_WITH`, `MATCHES_REGEX`, and any of them with `= null` or the bare has-value form.

```bql {#property-where}
GET qid WHERE type = IFCSPACE AND property.Pset_SpaceCommon.HandicapAccessible = false
```

```bql {#property-where-number}
GET qid, property.Pset_SpaceThermalRequirements.SpaceTemperatureMax WHERE type = IFCSPACE AND property.*.SpaceTemperatureMax >= 20
```

## Fields {#fields}

A property in the result is an object with `name`, `propertySetName`, `type` (the basic type of the value), `value`, `classType` (the IFC value type, such as `IFCLABEL` or `IFCBOOLEAN`), an optional `description`, and `unit` and `symbol` when the value has a unit. Each field can be selected explicitly: `property.Pset_WallCommon.FireRating.value`, `.name`, `.description`, `.type`, `.classType`, `.propertySetName`, `.oid`, `.unit`, `.symbol`.

```bql {#property-field}
GET property.Pset_WallCommon.FireRating.value, COUNT(qid) WHERE type = IFCWALL GROUP BY property.Pset_WallCommon.FireRating.value
```

## Property kinds {#kinds}

| IFC property | `classType` | Result |
|---|---|---|
| Single value | The value type (`IFCLABEL`, `IFCBOOLEAN`, `IFCLENGTHMEASURE`, …) | `value` |
| List value | `IFCPROPERTYLISTVALUE` | `values`, a list of typed values |
| Enumerated value | `IFCPROPERTYENUMERATEDVALUE` | `values`, the selected enumeration items |
| Bounded value | `IFCPROPERTYBOUNDEDVALUE` | `lowerBoundValue`, `upperBoundValue`, `pointSetValue` |
| Complex property | `IFCCOMPLEXPROPERTY` | The nested properties under the complex property's name |

A nested member of a complex property is addressed by extending the path: `property.<Pset>.<Complex>.<Member>`.

## Origin: properties from the type {#origin}

Properties an object inherits from its type object are returned with `origin: "type"`; a property defined on the occurrence itself has no `origin`. The merging rule and the `own` relation that restricts a query to the occurrence's own data are on [[bql:type-objects#merging]].

## property.meta {#meta}

`property.meta` returns the names of the property sets and properties the object has, without their values. Grouping on it is the way to survey which properties exist in a model before writing a query ([[bql:meta]]).

```bql {#property-meta}
GET property.meta, COUNT(qid) WHERE type = IFCSPACE GROUP BY property.meta
```

## Used in {#used-in}

- [[page:tutorials/bql/properties-and-quantities]] — reading and filtering on properties.
- [[page:how-to/query/run-a-bql-query]] — a property survey before the real query.
