Neil Irving
Back to Projects
In Progress

ProjectGraph

A Neo4j knowledge graph and deterministic rules engine for NEC4-style construction change management—evaluating Early Warning Notices against baseline clauses, drawing revisions, and programme float for an auditable commercial verdict.

Stack & Focus

  • Neo4j
  • FastAPI
  • React
  • NEC4
  • Knowledge Graphs

The Problem

Evaluating an Early Warning Notice (EWN) or Compensation Event under a construction contract rarely fails because the individual facts don’t exist—it fails because those facts live in separate silos. Contract clauses sit in the commercial pack, drawing revisions live in the CDE, and critical-path float sits inside the programme.

Handing that problem to a general-purpose LLM produces fluent summaries, but commercial teams cannot rely on probabilistic guesses for time-bars or Extension of Time entitlement. Change management needs deterministic multi-hop reasoning with an auditable trail back to exact source records.

How It Works (Architecture & Stack)

ProjectGraph models a construction project in Neo4j as connected entities—Project, ContractClause, Drawing, Activity, and EWN—and runs a deterministic Python rules engine in FastAPI rather than letting an LLM guess commercial entitlement.

  [EWN] ──REFERENCES──► [Drawing Rev B] ──SUPERSEDES──► [Baseline Rev A]
    │                          │
    │ CITES                    │ IMPACTS
    ▼                          ▼
  [ContractClause]       [Programme Activity]
  (CL-60.1(1) / CL-61.3) (critical path + total float)
                │
                ▼
  ┌────────────────────────────────────────────────────────┐
  │            Deterministic Rules Engine (Python)         │
  │  1. Baseline scope change (post-baseline revision)     │
  │  2. CL-61.3 56-day notification time-bar check         │
  │  3. Critical-path / total float EoT calculation        │
  └──────────────────────────┬─────────────────────────────┘
                             ▼
  Verdict + Rule-by-Rule Math + Traversed Subgraph + Verbatim Citations

What I Learned