Concept

It would be nice if BimQL was able to calculate certain things for you, for example the amount of concrete needed or the total floor area. The next BimQL code snippets show two different methods for calculating the total floor area. The first one is most similar to the existing BimQL grammar, the second one introduces brackets.

Select ?Var1
Where ?Var1.EntityType = “IfcSpace”
Select ?Var2 := ?Var1.Property.NetFloorArea
Select ?Var3 := ?Var2.Sum

Select ?Var1
Where ?Var1.EntityType = “IfcSpace”
Select ?Var2 := Sum (?Var1.Property.NetFloorArea)

Implementation

The examples above are probably not that difficult to implement. However, I believe it is required to first design the overall concept of calculating with BimQL before this functionality can be implemented.