Fork me on GitHub
#rdf
<
2020-10-21
>
quoll14:10:32

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

👍 3
rickmoynihan14:10:54

@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?

quoll14:10:53

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

quoll14:10:07

Connection/Database is just a wrapper around this

quoll14:10:23

Connections associate a URI with the Graph instance

quoll14:10:51

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

quoll14:10:25

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

quoll14:10:44

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

quoll14:10:15

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

quoll14:10:47

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

rickmoynihan14:10:08

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

quoll14:10:32

It’s only been around a short time

rickmoynihan14:10:06

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

👍 3
quoll14:10:18

You’re welcome