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:
- seed triples -> write counts
- RDFS inference -> inferred triples + human-readable provenance
- SPARQL -> SELECT tables, property paths, subquery, ASK
- SHACL -> a real violation report, then a clean pass
- Turtle / TriG export -> the serialized text itself
- round-trip into a new DB-> proof the serialization re-imports & queries
- tool / MCP layer -> the same query driven by a JSON tool call
Run: go run ./examples/kg_e2e
Click to show internal directories.
Click to hide internal directories.