3.17: query all connected nodes