wipOct 2026 – present
LexGraph
Temporal, citation-constrained Q&A over Pakistan's constitution
result85/85 dated graph-query cases and 36/36 relation checks passing
LexGraph answers questions about Pakistan’s constitution as it stood on a given date. Constitutional text changes through amendments, orders, and schedules, so a question about Article 175 in 2017 can have a different answer than the same question today. A flat RAG index can’t tell those versions apart.
The core is a versioned provision graph in Postgres. Every source is snapshotted with a SHA-256 hash and provenance: constitutional chapters, schedules, amendments, and the primary Gazette PDFs. Articles, clauses, and provisos become dated nodes. A deterministic query layer answers questions like “what were the children of Article 175 on this date” or “which exemptions applied to Article 8” without calling a model.
Generation sits on top of that graph and is only allowed to cite provisions the graph returns, with a verifier checking each answer. Development is spec-driven, and I evaluate against a hand-approved gold set of questions with held-out baselines. I’m deliberately cautious about claiming coverage: anything that hasn’t been reconciled against primary sources stays marked unverified.