You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Groundwork for meta-lokf, a registry that aggregates independent lokf bundles
into one cross-repo graph without a central database.
`lokf export` now additively writes two artifacts a registry harvests:
- graph.nt — the whole bundle as N-Triples (the SPARQL harvest source)
- concepts.jsonld — every concept's frontmatter + body under one @context/@graph
(offline access to a concept's source document)
alongside the existing graph.json + datasets.jsonld. The two are isomorphic
(86 triples on the acme example); concepts.jsonld additionally carries the raw
frontmatter+body so a consumer can read a foreign concept without refetching
markdown. Both new outputs are gitignored under web/public/.
SPEC gains §11 "Federation: registries of bundles" (Versioning → §12): the
producer contract, the lokf-registry.yaml DCAT/VoID manifest, owner(iri)
longest-base_iri-prefix resolution as the inverse of §7 IRI minting plus its
three guards, the forthcoming lazy named-graph traversal + agent surface, and
governance (public/local-only membership, metadata-not-rows, best-effort
freshness). Adds the void: prefix to Appendix B.
135 tests pass; docs site builds and renders §11.
| `graph.nt` | The whole bundle as N-Triples — the RDF a registry loads for SPARQL. |
412
+
| `concepts.jsonld` | Every concept's frontmatter + body under one `@context`/`@graph` — offline access to a concept's *source document* without re-fetching markdown. |
413
+
| `graph.json` | cytoscape.js elements — drives the (multi-bundle) graph explorer. |
414
+
| `datasets.jsonld` | schema.org `Dataset` docs — discovery via Google Dataset Search. |
415
+
416
+
### 11.2 The registry manifest
417
+
418
+
A registry is a git-committed `lokf-registry.yaml` — a `dcat:Catalog` of
419
+
`void:Dataset`entries, one per member bundle, keyed by `base_iri`
420
+
(== `void:uriSpace`). Each entry records where the member's artifacts live, a
421
+
lightweight `void` planning index (triple and per-type counts, so an agent can
422
+
pick a bundle *without* dereferencing it), and harvest `status`. It parses with a
423
+
plain YAML reader — no LinkML on the read path — and round-trips to a crawlable
0 commit comments