Skip to content

Sources have no way to materialise their Subjects into the graph #1370

Description

@JeroenDeDauw

Follows-up to #1265.

ADR 23 says a sourced Subject becomes queryable once it is materialised in the graph, and the Source contract states that materialisation is the only query gate. But every projection surface (GraphDatabasePlugin, PageProjector, the rebuild machinery) is Page-scoped: a Source has no path to materialise anything, so today the gate cannot be passed by anything but a local page.

This blocks the queryability half of the first real Sources (on-wiki SMW/Wikibase store, farm sibling — planning doc sequencing step 3). Design question to settle before building one: a Source-scoped projection entry point, synthesized page nodes, or leaving materialisation to the Source's own extension writing to the graph store directly (which then has to survive rebuilds, which only visit pages).

AI-authored — Claude Code, Fable 5 (max); surfaced by the consumer-vantage review of #1265, filed on Jeroen's behalf; issue text not human-reviewed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions