balhoff / arachne

RDF rule engine
BSD 3-Clause "New" or "Revised" License
21 stars 6 forks source link

Integration with RDF4J #109

Open kenwenzel opened 2 years ago

kenwenzel commented 2 years ago

Is it possible - with limited effort - to integrate arachne with RDF4J? I think it would be useful to have a forward chaining reasoner for RDF4J SAILs.

balhoff commented 2 years ago

I'm not too familiar with what would be involved, but I would be happy to provide any guidance on Arachne. As an alternative, Jena's forward chaining reasoner provides some functors in addition to triple matching. The original motivation for Arachne was that it handles huge numbers of rules better than Jena's reasoner. I know Jena is separate from RDF4J, but both it and Arachne would require translation back and forth to their own triple models.

kenwenzel commented 2 years ago

Thank you for your quick response. Do you have any figures regarding the performance of Arachne? Is it faster than Jena's implementation.

balhoff commented 2 years ago

Thank you for your quick response. Do you have any figures regarding the performance of Arachne? Is it faster than Jena's implementation.

I don't really have any formal comparisons, but there is a little bit in here: https://doi.org/10.5281/zenodo.2397192 In general I think performance is similar, or Jena is slightly faster for common numbers of rules, but as the number of rules grow into the hundreds of thousands, Arachne is much faster.