Skip to content
Domain-Agnostic Knowledge Graph Server
Returns only disease entities matching "breast cancer"
Search
graphwright/kgraph
Domain-Agnostic Knowledge Graph Server
graphwright/kgraph
Home
Live tools
Live tools
Medical literature chat
OpenAPI spec
Graph visualization
GraphQL GUI
Manifesto
Overview
Architecture
Identity
Identity
Canonical IDs
Deduplication
Trust
Trust
Provenance
Conflicting Claims
Ingestion
Ingestion
Pipeline
Chunking
Error Handling
LLM Integration
LLM Integration
MCP Server
MCP Troubleshooting
Querying with LLMs
Embeddings
Extraction Prompts
Schema
Schema
Schema Design Guide
Adapting to Your Domain
Storage and Export
Deployment and Operations
Examples
Examples
Medlit
Sherlock
Contributing
The Identity Server
The Identity Server
Preface
Part I: The Problem of Identity
Part I: The Problem of Identity
Overview
Chapter 1: What Is Canonical Identity and Why Does It Matter?
Chapter 2: The Scale of the Problem
Chapter 3: The Epistemic Commons
Part II: The Typed Graph
Part II: The Typed Graph
Overview
Chapter 4: What a Typed Graph Is
Chapter 5: The Domain Service and the Schema
Chapter 6: The Base Identity Server
Chapter 7: Entity Lifecycle
Part III: Integration
Part III: Integration
Overview
Chapter 8: Identity During Extraction
Chapter 9: Identity During Querying
Part IV: Trustworthiness
Part IV: Trustworthiness
Overview
Chapter 10: Provenance as Architecture
Chapter 11: Making Bad Ideas Inexpressible
Chapter 12: The Graph Linter
Chapter 13: Bias, Limits, and Responsibility
Chapter 14: What This Makes Possible
Appendix A: Identity Server Specification
Appendix A: Identity Server Specification
Overview
Abstract Interface
Domain Plugin HTTP Contract
Entity Status Rules
Idempotency Contract
Appendix B: The Domain Spec Schema
Appendix C: Reference Implementation Details
Appendix C: Reference Implementation Details
Overview
Postgres Schema
Docker Compose Setup
Confidence Aggregation
Knowledge Graphs from Unstructured Text
Knowledge Graphs from Unstructured Text
Preface
Part I: The Landscape
Part I: The Landscape
Overview
Chapter 1: Why do we want to build Knowledge Graphs?
Chapter 2: A Brief History of Knowledge Representation
Chapter 3: What Is a Knowledge Graph, Really?
Chapter 4: Representation Is Reasoning
Chapter 5: The Extraction Problem
Part II: LLMs Change the Equation
Part II: LLMs Change the Equation
Overview
Chapter 6: LLMs Make This Practical Now
Chapter 7: The Free KG Cases
Chapter 8: Designing Your Schema
Part III: Building It
Part III: Building It
Overview
Chapter 9: Diagnostic Tools
Chapter 10: Design Priorities
Chapter 11: The Identity Server
Chapter 12: The Ingestion Pipeline
Part IV: What It Makes Possible
Part IV: What It Makes Possible
Overview
Chapter 13: What Your Graph Can Do
Chapter 14: The Augmented Researcher
Chapter 15: Consequences
Appendix A: Reference Implementation Notes
Run all four stages over a named list of papers
Stage 1: vocabulary
Stage 2: extraction
Stage 3: ingest (identity-server deduplication)
Stage 4: build bundle
BFS-QL
BFS-QL
Preface
Part I: The Interface Problem
Part I: The Interface Problem
Overview
Chapter 1: Graphs Are Hard for Language Models
Chapter 2: Why Not SPARQL?
Chapter 3: The Right Abstraction
Part II: The Protocol
Part II: The Protocol
Overview
Chapter 4: Six Tools
Chapter 5: `describe_schema` -- Self-Orienting Graphs
Chapter 6: The Query Model
Returns only disease entities matching "breast cancer"
Papers are excluded before ranking
Papers are excluded before ranking
Overview
Chapter 7: MCP as the Delivery Mechanism
Part III: Building a Backend
Part III: Building a Backend
Overview
Chapter 8: The GraphDbInterface ABC
Chapter 9: The Postgres Backend\index{PostgresBackend}
Chapter 10: The SPARQL Backend\index{SPARQL backend}
Chapter 11: The Neo4j Backend\index{Neo4j backend}
Chapter 12: Writing Your Own Backend\index{custom backend}
Part IV: The Bigger Picture
Part IV: The Bigger Picture
Overview
Chapter 13: Composing Graphs\index{graph composition}
Chapter 14: The Server Is Not the Point\index{BFS-QL!as active contract}
Chapter 15: Open Source and the SaaS Layer\index{open source}\index{SaaS}
Chapter 16: What Comes Next\index{future work}
Appendix A: BFS-QL Protocol Reference
Books
Returns only disease entities matching "breast cancer"
¶