Closed flyingsilverfin closed 2 years ago
Another query which leads to unexpected behavior is:
match
$x sub thing;
not {$x type thing;};
not {$x type entity;};
not {$x type attribute;};
not {$x type relation;};
offset 0;
limit 1000;
Here thing, entity, attribute and relation shouldn't be visible.
Fixed with #6483
Description
Including two negations of IIDs will return answers that includes one of those IIDs, even though they should have been excluded by the negation.
Environment
Any platform TypeDB 2.5.0
Reproducible Steps
Schema:
insert data:
try the following queries:
The same happens when going through reasoning.
Expected Output
Alice and Bob should have been excluded in the answer, only returning the person with name Catherine.
Actual Output
Returns all people only excluding Bob.
Additional information
succeeds as expected!