naive impl of simple vertex-local queries reusing queries over edges