asami

simongray 2022-09-05T08:33:47.504599Z

Is there a built-in way to make a unified graph that is both in-memory, but with certain triples persisted on disk? I need to store some user-generated content, but most of the data is generated afresh from an input dataset of XML files on restarts and only exists in-memory.

quoll 2022-09-05T11:39:09.471749Z

Such a thing is written but is not yet exposed in any way (I was actually working on it last night). It's a graph that is a Union of in-memory and on disk data. It's in: https://github.com/quoll/asami/blob/main/src/asami/wrapgraph.cljc

🙏 1
quoll 2022-09-05T11:40:28.624399Z

You COULD insert data into a database, get the graph out of it, wrap it, and then build a new connection to that graph

quoll 2022-09-05T11:41:01.505189Z

It would actually only be a few function calls

quoll 2022-09-05T11:42:46.832249Z

The Database history won't work properly yet. This is part of what I hope to do today

quoll 2022-09-05T11:44:11.227219Z

Another feature I’d like to have is the ability to query graph unions, like in SPARQL (I use this feature a lot, and I want it for Asami too)

quoll 2022-09-05T11:44:41.430519Z

But… I don't have the resources to get that done soon

simongray 2022-09-05T11:46:54.336829Z

Thank you, Paula!

simongray 2022-09-05T11:47:19.782239Z

I’ll experiment with it

quoll 2022-09-05T22:35:20.736389Z

Have you ever written code that took you far too long to get done, and when you've got to that "it compiles!" point you have a sense of relief, and you just want to celebrate, even though you have yet to run and test it?

quoll 2022-09-05T22:35:38.128609Z

Well... that's where the with function is now.

quoll 2022-09-05T22:35:44.066469Z

at long last

🙌 1
🙌🏻 1
quoll 2022-09-05T22:35:57.471929Z

tests will be forthcoming, and then I can make a release

💯 2