What does HackerNews think of mentat?
UNMAINTAINED A persistent, relational store inspired by Datomic and DataScript.
Language:
Rust
There is (now unmaintained) project called Mentat [0] from Mozilla.
Mozilla was working on the opposite, a Datalog of SQLite, with Mentat, now abandoned: https://github.com/mozilla/mentat
Strikes me as a basically sound idea and it would be lovely if someone picked up the ball.
Obligatory link to Project Mentat:
https://github.com/mozilla/mentat
No longer actively maintained, but maybe a nice starting point for hacking on your dream!
You might be interested in the now defunct Mentat project from Mozilla. They made an EAV store with syncing on top of sqlite. It ran datalog queries by translating them into sql.