rdf

quoll 2020-10-21T14:03:32.189100Z

Naga actually just wraps a store. The idea was that it could wrap any graph at all, starting with Datomic and SPARQL. But then I was asked to do something myself (before I got to the SPARQL implementation) and that’s how Asami got started

👍 1
2020-10-21T14:21:54.197600Z

@quoll: One other thing; is it necessary for asami/naga to provide a registry and connection strings etc? Is there an interface where I can just provide a db as a value? Also that way if I wanted mutability or a registry; I could provide my own atoms, rather than you encapsulating them behind an identifier etc?

quoll 2020-10-21T14:22:53.198200Z

You’re talking about the Graph interface (well… protocol)

quoll 2020-10-21T14:23:07.198500Z

Connection/Database is just a wrapper around this

quoll 2020-10-21T14:23:23.198900Z

Connections associate a URI with the Graph instance

quoll 2020-10-21T14:23:51.199400Z

and then provide a history as a series of databases. Databases are VERY thin wrappers around a graph

quoll 2020-10-21T14:24:25.200Z

Until a couple of months ago, there was only the Graph. But everyone loves Datomic, so I wrapped it to look like Datomic 🙂

quoll 2020-10-21T14:25:44.201200Z

Naga wrapped the graph, but only does so in order to manage transactions. The functions attached to the wrapper were useful for Datomic as well, so I kept them at that level

quoll 2020-10-21T14:27:15.202900Z

Asami Graph instances can be inserted into, deleted from, and queried. And until recently, that was everything we did with them. I made it messy by giving it a Connection. But you can still pull the graph out. And if you want to build a connection around a graph, then you can do that too

quoll 2020-10-21T14:27:47.203500Z

It just occurred to me… This is all VERY Asami specific. Maybe it’s better to talk about this in #asami

2020-10-21T14:28:08.204Z

:thumbsup: sure didn’t realise there was an #asami 🙂 thanks

quoll 2020-10-21T14:28:32.204100Z

It’s only been around a short time

2020-10-21T14:41:06.205Z

🙇 forgot to say thanks a million for all the answers @quoll

👍 1
quoll 2020-10-21T14:43:18.205200Z

You’re welcome