trustgraph/trustgraph-base/trustgraph/schema
cybermaggedon 6df7471a55
feat: complete knowledge core storage — named graphs, provenance, source material (#973)
Implements all three changes from the knowledge-core-completeness tech spec:

1. Named graph field preserved through Cassandra storage (7-element tuple),
   enabling provenance triples to retain their graph URIs on round-trip.

2. Provenance triples already arrive on triples-input — no routing change
   needed; Change 1 was sufficient.

3. Source material (library documents) streamed alongside triples and
   embeddings during core download/upload. The knowledge manager fetches
   the document hierarchy from the librarian on download and recreates it
   on upload, preserving the full provenance chain across instances.
2026-06-03 10:46:52 +01:00
..
core Per-workspace queue routing for workspace-scoped services (#862) 2026-05-04 10:30:03 +01:00
knowledge feat: complete knowledge core storage — named graphs, provenance, source material (#973) 2026-06-03 10:46:52 +01:00
services Per-workspace queue routing for workspace-scoped services (#862) 2026-05-04 10:30:03 +01:00
__init__.py Schema structure refactor (#451) 2025-08-04 21:42:57 +01:00
README.flows Schema structure refactor (#451) 2025-08-04 21:42:57 +01:00

                                  pdf-
                                decoder

                                   |
                                   v

                                chunker

                                   |
                ,------------------+----------- . . .
                |                  |
                v                  v

             extract-           extract-
           relationships      definitions

                |                |   |
                +----------------'   |
                |                    v
                v
                                 vectorize
             triple-
              store                  |
                                     v

                                  ge-write

Refactor:

[] Change vectorize
[] Re-route chunker to extract-*
[] Re-route vectorize to ge-write*
[] Re-route extract-definitions to ge-write*
[] Remove extract-relationships to ge-write routing