Fork me on GitHub
#rdf
<
2022-07-01
>
quoll13:07:47

I don’t know how many people may have heard of my old project “Naga”. It’s a production rules engine for graph databases that creates new data based on existing data and rules. It works on Datomic and Asami. I’d always planned on building an adapter to allow it to talk to SPARQL, but hadn’t got around to it before now. Well, it turns out that I may need this for real. Unfortunately, for the rules I need I either have to expand the rules vocabulary, or parse SPARQL so I can do a SPIN-style system. That’s a lot of work, so I figured I’d ask… are there any general SPARQL production rules engines already? I guess SPIN would work, but I’m thinking that only works on Jena, or am I wrong about that?

mlad.vladimir15:07:37

@quoll there (deprecated) RDF4J SPIN implementation https://rdf4j.org/documentation/programming/spin/ as well. SHACL rules are often suggested as substitution for SPIN.

quoll19:07:09

Yeah, SHACL is a long way short of what I need

quoll19:07:03

Incidentally, you can implement SHACL with SPIN. You can’t implement SPIN functionality with SHACL

quoll19:07:25

Besides, we already have SHACL

quoll19:07:28

I did wonder about trying to update the RDF4J implementation of SPIN to talk to SPARQL. I haven’t done Sesame in a long, long time 🙂

quoll19:07:19

(When I said “Jena” I was thinking about TopQuadrant. I don’t know if SPIN actually works on public Jena)