Edge-centric queries are based only on endpoints