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" : [ { "_key" : "Lyon", "_id" : "frenchCity/Lyon", "_rev" : "_V8R06z---D", "population" : 80000, "isCapital" : false, "loc" : [ 45.76, 4.84 ] }, { "_key" : "Paris", "_id" : "frenchCity/Paris", "_rev" : "_V8R06zC--_", "population" : 4000000, "isCapital" : true, "loc" : [ 48.8567, 2.3508 ] } ] }, { "startCity" : "Hamburg", "connectedCities" : [ { "_key" : "Cologne", "_id" : "germanCity/Cologne", "_rev" : "_V8R06z---_", "population" : 1000000, "isCapital" : false, "loc" : [ 50.9364, 6.9528 ] }, { "_key" : "Paris", "_id" : "frenchCity/Paris", "_rev" : "_V8R06zC--_", "population" : 4000000, "isCapital" : true, "loc" : [ 48.8567, 2.3508 ] }, { "_key" : "Lyon", "_id" : "frenchCity/Lyon", "_rev" : "_V8R06z---D", "population" : 80000, "isCapital" : false, "loc" : [ 45.76, 4.84 ] } ] } ]