Examples¶
These examples were run against the current Python extension with uv run
python.
- Property Graph Basics: label indexes, outgoing neighbor lookup, two-hop traversal, frontier extraction, and probability transfer.
- Structured Query Layer: typed path matching, property filters, snapshots, and the provider-neutral natural-language query hook.
- Cypher Compatibility: embedded
Graph.cypher(), result records, parameters, snapshots, and staged transactions. - Runtime Algorithms And Batch Compute: BFS, weighted
shortest path, connected components, PageRank, random walk, and
compute_batch. - Local Probability Transfer: global sparse propagation compared with radius-limited local propagation.
- SQLite Reopen: SQLite persistence, segment sidecars, and reopened indexes.
- Belief Propagation: CPDs, active subgraph compilation, evidence, persisted posteriors, and traces.
- Benchmarks: JSON benchmark artifacts from
tests/benchmarkfor traversal, query, GraphRAG, persistence, and inference workloads.