Project(Filter(exists((select, (bgp, (triple, ?z, , ?y)), (?z))) , BGP( ?x ?y)), {?x})