Skip to content

SimaIm/GraphRAG4IFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natural Language Question Answering over IFC Building Models using LLMs and Graph-RAG

This project demonstrates how to use Large Language Models (LLMs) with Graph Retrieval-Augmented Generation to parse and query Industry Foundation Classes (IFC) files. It allows users to ask plain-language questions about BIM data and get accurate answers powered by GPT-4o and a Neo4j graph database.

This repository is part of our paper accepted at EC³ 2025 (European Conference on Computing in Construction).
🔗 Read the paper on arXiv


Project Overview

The system has two main stages:

  1. Graph Generation – Converts an IFC file into a graph format using IFCOpenShell and stores it in Neo4j.
  2. LLM-based QA System – Uses GPT-4o with prompt engineering to answer questions about the IFC model using Cypher queries.

Requirements

This project requires Python 3.8 or higher. To install all necessary dependencies, run:

pip install -r requirements.txt

You will also need:

  • Neo4j Desktop or Neo4j Aura Cloud
  • An OpenAI API key

About

Natural language question-answering over IFC building models using LLMs and Graph-RAG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages