Description
Minigraf is an embedded graph database with Datalog queries and bi-temporal time travel. It is a single-file database, described as the SQLite of bi-temporal graph databases. You query relationships with Datalog, which supports recursive rules for multi-hop traversals. Bi-temporal queries let you look at data by transaction time and valid time. Window functions such as sum, count, rank and row-number work in find clauses with partition-by and order-by. Prepared statements use $slot bind tokens, so a query is parsed and planned once and can run thousands of times. The README says it can be embedded natively, in WebAssembly, on mobile and on IoT devices, with each database stored as one .graph file. It needs no configuration: you open a file path with Minigraf::open. The README explains that Datalog suits graphs better than SQL-like languages, because it is recursive by design and treats time as another dimension. The site links to a browser playground and a visualizer where you can scrub transaction and valid time and watch the graph change. Status and planned work are in the ROADMAP file.…
Highlights
- Datalog queries with recursive rules
- Bi-temporal time travel over transaction and valid time
- Window functions in find clauses
- Prepared statements with bind slots
- Runs natively, in WebAssembly, on mobile and IoT
Ratings & Reviews
No ratings yet
Be the first to rate Minigraf.
People also visit
Minigraf FAQ
What is Minigraf?
An embedded graph database with Datalog queries and bi-temporal time travel, stored in a single file.
How do I start?
You open a database file with Minigraf::open and no configuration is needed. You can also try it in the browser without installing anything.
Why Datalog?
The README says Datalog is recursive by design for multi-hop traversals, simpler to implement, and treats time as just another dimension.
Where can it run?
Natively, in WebAssembly, on mobile devices and on IoT devices, according to the README.
What are the best Minigraf alternatives?
Popular alternatives to Minigraf include GrayMatter, Basic Memory and Memvid. See all Minigraf alternatives





