Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

docs(cookbook): fix stale RDFExporter claim, pin oxigraph install version

KaifAhmad1796f181c7511
diff --git a/cookbook/introduction/26_Semantic_Layer_Basics.ipynb b/cookbook/introduction/26_Semantic_Layer_Basics.ipynb
index 05419411..23269f63 100644
--- a/cookbook/introduction/26_Semantic_Layer_Basics.ipynb
+++ b/cookbook/introduction/26_Semantic_Layer_Basics.ipynb
@@ -33,10 +33,10 @@
"\n",
"## Installation\n",
"\n",
- "The triplet-store step uses the embedded Oxigraph backend, so install with that extra:\n",
+ "The triplet-store step uses the embedded Oxigraph backend, so install with that extra. Pin at least 0.6.7: earlier releases could generate ontology classes with no URI (#1103), which silently breaks the mappings below instead of failing loudly.\n",
"\n",
"```bash\n",
- "pip install \"semantica[tripletstore-oxigraph]\"\n",
+ "pip install \"semantica[tripletstore-oxigraph]>=0.6.7\"\n",
"```\n",
"\n",
"---\n",
@@ -50,7 +50,7 @@
"cell_type": "code",
"metadata": {},
"source": [
- "!pip install \"semantica[tripletstore-oxigraph]\"\n"
+ "!pip install \"semantica[tripletstore-oxigraph]>=0.6.7\"\n"
],
"execution_count": null,
"outputs": []
@@ -385,7 +385,7 @@
"1. **Knowledge graph** — `GraphBuilder` from explicit entities and relationships\n",
"2. **Ontology** — `OntologyGenerator` with your `base_uri`\n",
"3. **Explicit mappings** — entity types, relationship types, and properties, each tied to an ontology term\n",
- "4. **Ontology-aligned RDF** — the mappings applied to the graph, exported with `RDFExporter`\n",
+ "4. **Ontology-aligned RDF** — the mappings applied to the graph, materialized with `TripletStore`, and serialized to Turtle from the store's own triples\n",
"5. **Queryable store** — `TripletStore` (embedded Oxigraph) answering a SPARQL question over the shared vocabulary\n",
"\n",
"### Where to go next\n",