reteplayground
Aggregate

Bill of parts — elements by IFC class

TypeCount
IfcMember42
IfcOpeningElement17
IfcAnnotation14
IfcWallStandardCase13
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 11 rows · 19 ms · no server, no download — the query runs in your browser.

The query

PREFIX bot: <https://w3id.org/bot#> PREFIX cad: <https://w3id.org/rete/cad#> SELECT ?type (COUNT(?e) AS ?count) WHERE { ?e a bot:Element ; cad:ifcClass ?type . } GROUP BY ?type ORDER BY DESC(?count)

rete playground · documentation · github.com/caviri/rete