GraphRAG Knowledge Graph Consistency Checker
A multi-tenant Knowledge Graph system using GraphRAG + Neo4j AuraDB for Swedish construction tender audits, with full MLOps lifecycle from design to production.
Client: Swedish Construction Procurement Client (Confidential)
01 Overview
Construction procurement in regulated markets involves thousands of interdependent clauses, technical specifications, and legal requirements. Manual consistency checking across large tender packages is error-prone and scales poorly.
We developed a Knowledge Graph-powered LLM consistency checker that maps the relationships between requirements, specifications, and submitted documents, then uses GraphRAG to surface inconsistencies and compliance gaps with precise provenance.
02 The Challenge
• Swedish-language documents with domain-specific legal and technical terminology requiring specialized NLP processing
• Multi-tenant isolation: different procurement agencies needed separate knowledge graphs within a shared infrastructure
• Relationships between requirements are non-obvious and deeply nested - a flat RAG approach consistently missed cross-document inconsistencies
• The system needed to explain why something was inconsistent, not just flag it - requiring full provenance tracing through the knowledge graph
• Production rollout with zero-downtime deployment and schema migration support
03 Our Solution
We led the full lifecycle from system design through production deployment:
• **Knowledge Graph modeling**: Designed a Neo4j AuraDB schema capturing entities (requirements, specifications, clauses, parties) and their relationships (requires, contradicts, supersedes, references)
• **GraphRAG pipeline**: Rather than flat vector search, queries traverse the graph to surface multi-hop relationships - e.g., identifying when a sub-clause inherited from a referenced standard contradicts a project-specific requirement
• **Ingestion pipeline**: Documents are parsed, entities extracted via NER, embeddings generated, and nodes/edges upserted into Neo4j in a single idempotent pipeline
• **Multi-tenant isolation**: Per-tenant graph namespaces with role-based access control at the Neo4j layer
• **FastAPI deployment**: Async API with streamed graph traversal results and structured inconsistency reports with clause-level citations
• **MLOps practices**: DVC for data versioning, MLflow for embedding model tracking, GitHub Actions CI/CD for zero-downtime deploys
04 Results & Impact
Project Details
- Category
- AI/ML
- Client
- Swedish Construction Procurement Client (Confidential)
Technologies Used
Related Projects
AI Accountability Coach - Multi-Channel Coaching System
A LangGraph multi-agent coaching system on GCP with Twilio and Make.com integration, delivering personalized reminders and motivational coaching across multiple channels.
Read case study →AuditMind: Multi-Agent Document Intelligence, From Days to Minutes
A scalable asynchronous multi-agent system that audits construction documents using parallel AI agents, real-time result streaming, and a production-grade backend.
Read case study →AI Competitor Intelligence & Battlecard Generator
An automated competitor analysis system using SpyFu API, GPT, and Claude to generate structured PDF battlecards and dashboards for marketing teams.
Read case study →