apache / jena

Apache Jena
https://jena.apache.org/
Apache License 2.0
1.09k stars 646 forks source link

Backward reasoner's graph always filter out functors #1361

Open fabien-anabasis opened 2 years ago

fabien-anabasis commented 2 years ago

In backward mode, it's impossible to retrieve functors, since they are always filtered out: https://github.com/apache/jena/blob/31dc0d328c4858401e5d3fa99702c97eba0383a0/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/LPBackwardRuleInfGraph.java#L172

While in forward and forward rete modes, the filterFunctors options is honored: https://github.com/apache/jena/blob/31dc0d328c4858401e5d3fa99702c97eba0383a0/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/FBRuleInfGraph.java#L562-L567 and https://github.com/apache/jena/blob/31dc0d328c4858401e5d3fa99702c97eba0383a0/jena-core/src/main/java/org/apache/jena/reasoner/rulesys/BasicForwardRuleInfGraph.java#L276-L280

Would it be possible to honor the filterFunctors options in backward mode too?

afs commented 2 years ago

@givors-anabasis - sorry I can't answer your question directly:

You may get an answer if ask on the Jena users list users@jena.apache.org.

Joining list information: https://jena.apache.org/help_and_support/index.html