Skip to main content
Challenge

Build an IFC Spatial Topology Query Locator

Extract exact containment hierarchies connecting localized equipment to parent site plots using the ifcquery utility. Traverse the spatial decomposition tree to map building components for facility management operations.

EngineeringHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Extract exact containment hierarchies connecting localized equipment to parent site plots using the ifcquery utility. Traverse the spatial decomposition tree to map building components for facility management operations.

Facility manager and BIM technician

Load IFC representations of commercial facilities via the ifcquery utility.

Traverse the spatial decomposition tree from IfcSite down to IfcSpace using a recursive function.

Identify disconnected equipment components lacking valid spatial containment relationships.

Output a flattened JSON topology map for facility management asset importing.

Command-line interface with a tabular preview of spatial hierarchies and JSON export capabilities.

Utilize open buildingSMART sandbox IFC models or mock JSON hierarchy graphs representing spatial containment. Starter examples below are synthetic. They are not downloaded records.

IfcOpenShell Utilizes the ifcquery CLI tool from the IfcOpenShell suite to inspect building model topologies.

agno, ifcopenshell, pydantic. Agno manages the workflow execution and maps graph traversal outputs into structured Pydantic data schemas. General-purpose LLM for mapping complex spatial naming conventions to standard facility asset categories.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Correctly traverses the containment tree to find the parent path of an asset.

Accurately flags orphaned elements lacking spatial containment parents.

Exports a strictly typed JSON topology dictionary representing the containment.

```json [ { "input": { "query_target": "Pump-01", "relationships": [ { "parent": "Room-A", "child": "Pump-01" }, { "parent": "Level-1", "child": "Room-A" } ] }, "expected_output": { "asset_id": "Pump-01", "spatial_path": "Level-1/Room-A/Pump-01", "is_orphaned": false, "record_note": "simplified synthetic app record" } }, { "input": { "query_target": "Chiller-99", "relationships": [] }, "expected_output": { "asset_id": "Chiller-99", "spatial_path": null, "is_orphaned": true, "record_note": "simplified synthetic app record" } } ] ```

Performs read-only spatial inspections without altering original source IFC models. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Performs read-only spatial inspections without altering original source IFC models. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Correctly traverses the containment tree to find the parent path of an asset. Accurately flags orphaned elements lacking spatial containment parents. Exports a strictly typed JSON topology dictionary representing the containment.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Load IFC representations of commercial facilities via the ifcquery utility. Traverse the spatial decomposition tree from IfcSite down to IfcSpace using a recursive function. Identify disconnected equipment components lacking valid spatial containment relationships. Output a flattened JSON topology map for facility management asset importing.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Correctly traverses the containment tree to find the parent path of an asset. Accurately flags orphaned elements lacking spatial containment parents. Exports a strictly typed JSON topology dictionary representing the containment.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Command-line interface with a tabular preview of spatial hierarchies and JSON export capabilities.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Performs read-only spatial inspections without altering original source IFC models.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Load IFC representations of commercial facilities via the ifcquery utility.

  • Traverse the spatial decomposition tree from IfcSite down to IfcSpace using a recursive function.

  • Identify disconnected equipment components lacking valid spatial containment relationships.

  • Output a flattened JSON topology map for facility management asset importing.

Resources and assets

Reference links and supporting material

Dataset notes

Utilize open buildingSMART sandbox IFC models or mock JSON hierarchy graphs representing spatial containment. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Agno

Framework for multimodal agents.

Evaluated output

No output checks are configured.

Evaluation checks
  • Load IFC representations of commercial facilities via the ifcquery utility. Traverse the spatial decomposit...
  • Correctly traverses the containment tree to find the parent path of an asset. Accurately flags orphaned ele...
  • Command-line interface with a tabular preview of spatial hierarchies and JSON export capabilities.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 2 configured tools

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • Agno · Optional
Orchestration
  • Agno · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build an IFC Spatial Topology Query Locator