Can I use Jena Reasoners in Fuseki through SPARQL Endpoint? #1297
-
I want to use Jena Reasoners in Fuseki through SPARQL Endpoint, such as JAVA API InfModel:
But I didn't find a suitable method in RDFConnection. Like Virtuoso, it provides VirtGraph:
I know Fuseki can use Reasoners through modifying config.ttl, but I want to use JAVA API because my rules are dynamic. I wonder if I missed something about Jena? Can I use Jena Reasoners in Fuseki through SPARQL Endpoint? Best Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
So you want to modify the rules in a running Fuseki? Fuseki is the server so the modification will have to be java code running in Fuseki. This is possible but not simple. This only applies to the "Fuseki main" form of the server; the war file form would need repacking to add code. war files, by design, are effectively sealed. Fuseki Modules is the way to add code into a Fuseki server. It can modify the server being built to add code and additional servlets for interacting with the server. Or you can run a java program that builds and runs a Fuseki server. See The other way is missing from Fuseki - the ability to cause a running server to reload its configuration and seamlessly switchover. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your reply ! This is what I want. I can start Fuseki through FusekiServer and modify the rules. |
Beta Was this translation helpful? Give feedback.
So you want to modify the rules in a running Fuseki?
Fuseki is the server so the modification will have to be java code running in Fuseki. This is possible but not simple.
This only applies to the "Fuseki main" form of the server; the war file form would need repacking to add code. war files, by design, are effectively sealed.
Fuseki Modules is the way to add code into a Fuseki server. It can modify the server being built to add code and additional servlets for interacting with the server.
Or you can run a java program that builds and runs a Fuseki server. See
FusekiServer.create()
for the builder of servers that allows adding servlets/servlet filters and custom data services.The other w…