IFC → semantic knowledge graph
Buy me a coffee
Open sourceRuns entirely in your browser

From IFC model to knowledge graph.

BIM2KnowledgeGraph turns an IFC model into a knowledge graph you can trace back to the file: every node keeps its GlobalId and STEP id, every relationship names the IFC relationship it came from, and everything the tool derives (hosting, flow, space adjacency, access, geometric contact) records its rule, parameters and verification state. Query it with SPARQL, check it with SHACL, see it next to the 3D model, and export RDF or a property graph. Files never leave your machine.

IFC2x3IFC4IFC4x3.ifc.ifczip
  1. 1 · Index

    Every STEP instance indexed by byte range; arguments decode on demand.

  2. 2 · Model

    IfcRel* become typed edges; psets, units, materials and layers resolve.

  3. 3 · Enrich

    Hosting, flow, adjacency, access and geometric contact, each with its rule and verification state.

  4. 4 · Query & check

    SPARQL, plain-language questions, network analytics, SHACL and IFC quality checks.

  5. 5 · Export

    Six RDF formats, GraphML, GEXF, CSV, JSON, Cypher, ML datasets and a validated export package.

Sample models

Open one to see every lens populated. Each sample is plain IFC; the office blocks model is an unmodified Revit 2021 IFC2x3 export.

Seoul Exchange Tower

IFC4 · 3.5 MB

Multidisciplinary office tower: 104 spaces with space boundaries, 17 distribution systems and 7,352 connected ports, so MEP flow and space syntax have real data.

Riverside Community Hub

IFC4 · 140 kB

Compact semantic model with types, materials, Uniclass references, ports and systems, plus deliberate data-quality issues for the model-health audit.

Office blocks (Revit export)

IFC2x3 · 1.3 MB

A real Revit IFC export with CAD presentation layers, wall types and classification references. Try the breakdown tree by Storey → Layer.

BIM Whale samples by André Wisén, MIT licence.

BEM demo office

IFC4 · 114 kB

Two-storey office with second-level space boundaries: a small, readable space-adjacency graph.

Lenses on one semantic model

Each lens projects the same knowledge graph onto a question. Every node opens an inspector with IFC attributes, property sets, materials, ontology IRIs and relationships.

Standards and formats

Take the graph to a triple store, a graph database, network-analysis software or a paper figure.

Ontologies

BOTDefault topology profile: Site, Building, Storey, Space, Zone, Element with domain-checked BOT relations.
ifcOWLClass alignment to IFC2X3_TC1 or IFC4_ADD2_TC1, only for classes that exist in that ontology.
QUDT · PROV-OQuantities with units and quantity kinds; source file, conversion activity and statement provenance.
OptionalBrick 1.4 + RealEstateCore, BEO, OPM, SOSA/SSN, GeoSPARQL, OMG, SAREF4BLDG, LBD PROPS.

Exports

RDFTurtle, JSON-LD, TriG, N-Quads, N-Triples and RDF/XML, with named graphs for extracted, derived and provenance statements.
Property graphGraphML, GEXF, nodes / edges CSV, JSON and Neo4j Cypher, with provenance on every relationship.
Graph profilesFrom the full-fidelity L0 graph to spatial, MEP, material, process, digital-twin and robot-navigation graphs.
ResearchExport package with validation report, ML datasets, material passport, SVG / PNG figures.

Using BIM2KnowledgeGraph in your work?

The project is MIT-licensed. If it supports research or a project, please cite it, and open an issue with feedback or results.

SR
Saddiq Ur RehmanPhD in Architecture · Kyung Hee University
@software{rehman_BIM2KG_2026,
  author       = {Saddiq Ur Rehman},
  title        = {BIM2KnowledgeGraph (BIM2KG): IFC to traceable knowledge graphs},
  year         = {2026},
  version      = {2.0.0},
  publisher    = {GitHub},
  howpublished = {\url{https://github.com/isaddiq/BIM2KnowledgeGraph}},
}

Processing…