Fixes SPARQL-star patterns evaluation

Some nested triples filtering where not done
pull/190/head
Tpt 3 years ago
parent c2668ff881
commit ec1720f018
  1. 8
      lib/src/sparql/eval.rs

@ -3011,7 +3011,13 @@ fn put_pattern_value(
tuple: &mut EncodedTuple,
) -> Option<()> {
match selector {
PatternValue::Constant(_) => Some(()),
PatternValue::Constant(c) => {
if *c == value {
Some(())
} else {
None
}
}
PatternValue::Variable(v) => {
if let Some(old) = tuple.get(*v) {
if value == *old {

Loading…
Cancel
Save