Published November 23, 2026 | Version 0.2.1
Book Open

Knowledge Graphs: Semantic Graphs and Property Graphs

Authors/Creators

Description

An illustrated, practical guide to semantic knowledge graphs and labeled property graphs, progressing from graph fundamentals to ontology modeling, querying, validation, and architectural decisions.

A running learning-catalog example connects RDF, RDFS, OWL, SPARQL, and SHACL with Neo4j and Cypher. Readers explore identity, relationships, constraints, inference, and events, then apply these ideas to recommendation policies, interoperability, graph RAG, performance, and governance.

This 179-page edition includes 18 original diagrams, worked examples, 183 explained review questions, exercises and a glossary.

Version 0.2.1 improves the visual explanation of the same learning catalog: a visual key, inference versus validation, recommendation bindings and a changed-fact counterexample, semantic evolution, event evidence and reconciliation. Class memberships, literal/property mappings, prerequisite direction, validation targets, labels and contrast are clarified. Editable SVG sources are separate from generated exports. Baseline lab fixtures, query listings and retained research inputs are unchanged.

Validation combines document and structural checks with isolated executable exercises. Retained paired query results cover 145 cases: 143 aligned cases agree and two boundary counterexamples intentionally differ. Independent paired reproduction remains open. These results do not establish general equivalence of RDF and property graphs, performance superiority, or personal suitability.

Original book text, illustrations, and synthetic example data are licensed under CC BY 4.0. Original companion code is licensed separately under MIT; third-party notices are retained. Technical corrections and feedback on clarity are welcome.

Files

Knowledge-Graphs-v0.2.1.pdf

Files (5.0 MB)

Name Size
md5:d81d1bd729905420be83de74792f6fc3
4.3 MB Preview Download
md5:93d9dc0ffde2f353501a1883cec2b14c
666.7 kB Preview Download

Additional details

Related works

Is supplemented by
Software: https://github.com/mdhabibi/one-graph-two-worlds (URL)