rdf

tmprd 2023-04-25T20:02:40.731809Z

Is anyone working with RDF client-side in a ClojureScript app? I wrote something that translates RDF into a DataScript graph and it works well enough for querying (kinda looks like SPARQL). I know there are far more efficient ways of working with RDF. I'm just looking for fun ways to explore schema(s) and data in a visual interface.

quoll 2023-04-26T10:54:42.122259Z

It wasn’t RDF, but Cisco was using Asami in the browser, so that was my focus for a long time

👍 1
2023-04-26T12:57:29.834399Z

ont-app/igraph defines a set of protocols which are ported to both clj and cljs, but to be honest I really don't visit the cljs side very much. There is the ont-app/datascript-graph library which ports those protocols to datascript, and I'm looking to give that library a long-overdue sprucing up in the near future. But ont-app/igraph has no ports to a cljs RDF implementation so far. I gather the operative basis for this would be https://www.npmjs.com/package/rdflib .

🙌 1
2023-04-26T13:00:51.992959Z

Or maybe this? https://github.com/rdfjs/data-model-spec

tmprd 2023-04-26T14:25:05.062509Z

Thanks! I've used rdflib.js before (and n3.js for parsing), so it sounds like I'm on the right track. I'm excited to try out all of these 🤩

quoll 2023-04-26T18:03:50.247669Z

Now that I have the data structures workshop out of the way, I’ll have to integrate Donatello and Raphael into Asami (parsing and emitting RDF)

👍 1
👏 1
tmprd 2023-04-25T20:24:36.832589Z

I think Asami or Ont-App might offer better ways for what I'm trying to do here...

🤞 1