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