arangosh> var examples = require("@arangodb/graph-examples/example-graph.js"); arangosh> var graph = examples.loadGraph("social"); arangosh> var query = graph._vertices([{name: "Alice"}, {name: "Bob"}]); arangosh> query.outEdges([{type: "married"}, {type: "friend"}]).toArray(); [ { "_key" : "aliceAndBob", "_id" : "relation/aliceAndBob", "_from" : "female/alice", "_to" : "male/bob", "_rev" : "20339", "type" : "married" }, { "_key" : "aliceAndCharly", "_id" : "relation/aliceAndCharly", "_from" : "female/alice", "_to" : "male/charly", "_rev" : "20343", "type" : "friend" }, { "_key" : "bobAndDiana", "_id" : "relation/bobAndDiana", "_from" : "male/bob", "_to" : "female/diana", "_rev" : "20349", "type" : "friend" } ]