kg_e2e

command
v2.20.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command kg_e2e is a runnable, fully-printed end-to-end walkthrough of the CortexDB RDF / Knowledge Graph stack through the public pkg/cortexdb facade.

Unlike the unit tests, this prints the ACTUAL text and effects at every stage so you can see what each capability produces:

  1. seed triples -> write counts
  2. RDFS inference -> inferred triples + human-readable provenance
  3. SPARQL -> SELECT tables, property paths, subquery, ASK
  4. SHACL -> a real violation report, then a clean pass
  5. Turtle / TriG export -> the serialized text itself
  6. round-trip into a new DB-> proof the serialization re-imports & queries
  7. tool / MCP layer -> the same query driven by a JSON tool call

Run: go run ./examples/kg_e2e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL