-
Notifications
You must be signed in to change notification settings - Fork 173
Description
Current Behavior
We found that the FedX query engine currently fails with the following exception when the query contains a zero length path (e.g. ?myClass rdfs:subClassOf* ?parentClass
)
The exact exception message is:
Federation Strategy does not support org.openrdf.query.algebra.evaluation.TripleSource#getStatements. If you encounter this exception, please report it.
This is because the federation engine falls back to the DefaultEvaluationStrategy
implementation for property paths, which in case of zero-path is not tailored to the use in federation.
Note that path with length minimum 1 (i.e. the + operator) are working fine.
Expected Behavior
The federation engine should support correct semantics of zero-length path
Steps To Reproduce
Can be reproduced with a query like (assuming data being present)
SELECT * WHERE {
?subClass (rdfs:subClassOf*) ?myClass
Version
4.3.x
Are you interested in contributing a solution yourself?
Yes
Anything else?
We would like to see this addressed in 4.3.x and eventually in in the 5.0 release