A configurable, provenance-preserving pipeline for transforming curriculum PDFs into validated knowledge graphs aligned to the Learning Commons ontology.
The pipeline separates document reconstruction from curriculum-semantic interpretation so that intermediate decisions can be inspected, validated, and audited.
Curriculum PDF
|
v
Page IR Extraction
|
v
Page IR Verification
|
v
Document IR
|
v
Academic Standards KG
|
v
+ Learning Components nodes
|
v
+ Learning Progressions relationships
Six conceptual stages use four CLI entry points. The final entry point builds Academic
Standards (AS), then Learning Components (LC), and followed by Learning Progressions
(LP). LP adds SFI-to-SFI buildsTowards and symmetric relatesTo relationships to the
AS graph.
Follow the local setup guide, create or adapt a
runtime config, and run the pipeline from backend/:
python src/kgfeg/entries/extract_page_ir.py <config.json>
python src/kgfeg/entries/verify_page_ir_continuity.py <config.json>
python src/kgfeg/entries/stitch_document_ir.py <config.json>
python src/kgfeg/entries/create_kgs.py <config.json>Example curriculum profiles are available under examples/. If you are
adapting the system to a new source, start with the
Add a New Curriculum guide rather than editing
the backend for source-specific conventions.
The run preserves intermediate evidence for debugging and auditability while producing three additive KG handoffs:
kgs/as_kg_bundle.json— Academic Standards framework, items, hierarchy, and provenance;kgs/as_lc_kg_bundle.json— the combined Academic Standards + Learning Components graph withhasChildandsupportsrelationships; andkgs/as_lc_lp_kg_bundle.json— the combined graph with Learning Progressions relationships.
See the pipeline overview for the full artifact map and stage contracts. Downstream consumers should also read the output artifacts and integration contract before building against the exported JSON/JSONL shapes.
- Official documentation
- Architecture
- Pipeline overview
- Learning Progressions
- Learning Progression evaluation
- Add a new curriculum
- Run, resume, and debug
- Output artifacts and integration contract
- Local development setup
- Contributing
- Source grounded: final standards and skills remain traceable to source evidence.
- Stage separated: PageIR and DocumentIR reconstruct the document before curriculum semantics are inferred.
- Validated: higher-risk LLM assertions use explicit deterministic checks and, where appropriate, independent producer/checker flows.
- Deterministic where possible: identity construction, graph constraints, reconciliation checks, and final compilation are enforced in Python.
- Configuration driven: curriculum-specific taxonomy, hierarchy, codes, extraction policy, LC policy, and LP policy belong in document profiles rather than source-specific backend branches.
See Contact us for project and team contact information.