Details
Description
:dataset a ja:InfModel ; ja:baseModel ..... ; ja:reasoner [ ja:reasonerURL <http://jena.hpl.hp.com/2003/GenericRuleReasoner> ; ja:rulesFrom <file:///rules-1> ; ja:rulesFrom <file:///rules-2> ; ] .
If one of the files ja:rulesFrom contain syntax errors, Fuseki stops working. It would be useful to have a way for "loading or ignoring" rules, for example ja:rulesOrIgnoreFrom <...>
My use case is that I'm accepting inference rules from users, and the only way to update inference rules is by writing them to a file, append a new ja:rulesFrom in the configuration, and reload Fuseki. Even though this process is pretty cumbersome for updating rules, at least it's doable and I'm OK with that. The major stopper is that there isn't a way to validate rules, so when I ask Fuseki to load a broken file it will refuse to work until I fix the file manually.
A different option could be a new "ja:rulesFromDirectory" that will automatically load all files inside a directory ignoring any file that raise an exception.