Project(Filter(exists((select, (bgp, (triple, ?child, , ?parent)), (?child))) , BGP( ?parent )), {?parent})