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(); [ { "startCity" : "Cologne", "connectedCities" : [ { "isCapital" : false, "population" : 80000, "loc" : [ 45.76, 4.84 ], "_id" : "frenchCity/Lyon", "_rev" : "4000292795", "_key" : "Lyon" }, { "isCapital" : true, "population" : 4000000, "loc" : [ 48.856700000000004, 2.3508 ], "_id" : "frenchCity/Paris", "_rev" : "4000489403", "_key" : "Paris" } ] }, { "startCity" : "Hamburg", "connectedCities" : [ { "isCapital" : true, "population" : 4000000, "loc" : [ 48.856700000000004, 2.3508 ], "_id" : "frenchCity/Paris", "_rev" : "4000489403", "_key" : "Paris" }, { "isCapital" : false, "population" : 80000, "loc" : [ 45.76, 4.84 ], "_id" : "frenchCity/Lyon", "_rev" : "4000292795", "_key" : "Lyon" }, { "isCapital" : false, "population" : 1000000, "loc" : [ 50.9364, 6.9528 ], "_id" : "germanCity/Cologne", "_rev" : "3999571899", "_key" : "Cologne" } ] } ]