(select (leftjoin (bgp (triple ?:x ?:v)) (bgp (triple ?:y ?:w)) :TEST (exprlist (= ?:v 2) (= ?:w 3))) (?:x ?:v ?:y ?:w))