Quickstart: zero to a query
The shortest path from a fresh install to a graph you can query — schema, init, load, query, branch — entirely on a local file-backed graph, no server.
4. Query
Write a query (.gq) — save as queries.gq:
query find_people($title: String) {
match { $p: Person { title: $title } }
return { $p.name }
}
Run it:
omnigraph query find_people --query queries.gq \
--params '{"title":"Engineer"}' --format table --store graph.omni
The query name is positional; --query points at the .gq source and
--store addresses the graph's storage directly.
The query language covers match/return/order, and
search covers vector and full-text search.