arangosh> db._query(`FOR startCity IN ........> WITHIN(germanCity, @lat, @long, @radius) ........> LET oneCity = (FOR v, e, p IN 1..1 OUTBOUND startCity ........> GRAPH 'routeplanner' RETURN v) ........> return {startCity: startCity._key, connectedCities: oneCity}`, ........> { ........> lat: bonn[0], ........> long: bonn[1], ........> radius: 400000 ........> } ).toArray(); [ { "connectedCities" : [ { "_id" : "frenchCity/Lyon", "_key" : "Lyon", "_rev" : "102452808", "isCapital" : false, "loc" : [ 45.76, 4.84 ], "population" : 80000 }, { "_id" : "frenchCity/Paris", "_key" : "Paris", "_rev" : "102649416", "isCapital" : true, "loc" : [ 48.856700000000004, 2.3508 ], "population" : 4000000 } ], "startCity" : "Cologne" }, { "connectedCities" : [ { "_id" : "frenchCity/Paris", "_key" : "Paris", "_rev" : "102649416", "isCapital" : true, "loc" : [ 48.856700000000004, 2.3508 ], "population" : 4000000 }, { "_id" : "frenchCity/Lyon", "_key" : "Lyon", "_rev" : "102452808", "isCapital" : false, "loc" : [ 45.76, 4.84 ], "population" : 80000 }, { "_id" : "germanCity/Cologne", "_key" : "Cologne", "_rev" : "101731912", "isCapital" : false, "loc" : [ 50.9364, 6.9528 ], "population" : 1000000 } ], "startCity" : "Hamburg" } ]