Just use RDF/knowledge graphs. Yes, easier said than done.
But you own your claims on your facts. It's interoperable. You then need a tool chain for trust/provenance when mixing data locally or remote.
Also, the author has created the most popular client-side database in the Clojure community (Datascript) which happens to be for making knowledge graphs, so I'm sure he's familiar with it.