add edges method on query to only get edges with a given label