Bug #120
Repeated variables are not handled correctly
Status:
Closed
Priority:
Immediate
Assignee:
Category:
Mulgara
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
Basic graph patterns with repeated variables are not available in graphs defined with a variable.
Use the following mapping patterns (actual positions are variable):
($x $x * *) -> ($x $x1 * *) AND ($x1 $x * *)
($x $x $x *) -> ($x $x1 $x2 *) AND ($x2 $x $x1 *) AND ($x1 $x2 $x *)
($x $x $x $x) -> ($x $x1 $x2 $x3) AND ($x3 $x $x1 $x2) AND ($x2 $x3 $x $x1)