Open consequence graph for source-backed administrative workflows
Clarvia Graph is the technical engine behind Clarvia. It stores all the official rules and steps for bereavement paperwork across Europe — structured so that apps, websites, and public services can use them automatically. For the simple, family-friendly version, see clarvia.org.
📸 Alpha checklist preview
The living demo at clarvia.org/en/checklist consumes a static JSON export generated from this graph. See
exports/example-bereavement-lu.jsonfor the exact shape.
Technically, Clarvia Graph is a structured, versioned, source-backed knowledge graph for cross-border administrative consequences. It models what happens after a life event (starting with bereavement), what steps may be required, which authorities are involved, what documents are needed, and where the official source says so.
This repository contains:
- Schemas — JSON Schema definitions for all canonical record types
- Vocabularies — Controlled vocabularies for jurisdictions, domains, claim types, etc.
- Graph data — Source-backed consequences, task templates, conditions, and deadlines
- Sources — Official source registry, captured snapshots, and extracted assertions
- Validation — CLI tooling to validate, build, and test the graph
- Exports — Generated JSON for web consumers (example), plus JSON-LD, CPSV-AP, and web runtime bundles
🔒 Foundation specification locked — The foundation spec defines the complete data architecture, standards alignment, editorial governance, and extensibility model.
🚧 Early implementation in progress — Proof-of-concept, alpha, and beta work is proceeding with internal resources to validate the foundation before funded hardening, validation, and scale-up phases.
Clarvia Graph is being developed as the technical foundation for source-backed bereavement checklists and related administrative workflows across Europe.
The project is moving through rapid proof-of-concept, alpha, and beta phases. Early versions are built with internal resources so that the data model, graph structure, validation approach, and export pipeline can be tested before larger funding cycles conclude.
This early implementation work is not intended to replace funded development. It is intended to de-risk the technical foundation and demonstrate that the architecture can move from specification to working infrastructure.
Future funded phases will focus on raising the foundation to production quality: schema refinement, validation tooling, source provenance, test coverage, interoperability, documentation, governance, security hardening, maintainability, and support for multiple jurisdictions.
The intended path is to build quickly, learn from real implementation, and then use funded phases to validate, harden, document, and scale the graph responsibly.
source → snapshot → assertion → consequence → task_template → checklist_item
Every checklist item traces back to an official source. No legal consequence publishes without an approved source assertion.
- Source-backed: Every published claim traces to a captured official source
- Three-valued logic: Conditions evaluate to
true,false, orunknown— never hides uncertainty - Cross-border: Jurisdiction roles (death_place, habitual_residence, work_state, asset_situs) compose layered checklists
- Static exports: Consumer apps load generated JSON at build time — no runtime API dependency
- Privacy-first: Client-side condition evaluation, no user data sent to servers
Clarvia maintains internal Clarvia-native schemas and generates compatibility views for:
- CPSV-AP — Core Public Service Vocabulary Application Profile
- CCCEV — Core Criterion and Core Evidence Vocabulary
- ELI — European Legislation Identifier
- PROV-O — W3C Provenance Ontology
Future export dependencies: The PROV-O export pipeline considers using the excellent
provPython library.
v0.1 technical validation scope: Bereavement workflows, Luxembourg proof dataset, and minimal cross-border fixtures for France/Germany/EU concepts where needed to test jurisdiction composition.
Designed for extension to: Additional jurisdictions (Belgium, Netherlands, ...) and life events (birth, relocation, ...) without schema changes.
- Code & tooling: EUPL-1.2
- Graph data: CC-BY-4.0
- Schemas & vocabularies: CC0 or Apache-2.0
- Source snapshots: Not relicensed (follow original source terms)
See CONTRIBUTING.md for how to get involved.
- workflow-web — Consumer web application
- workflow-data — Legacy checklist data (migration source)