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.inEdges([{type: "married"}, {type: "friend"}]).toArray(); [ { "_key" : "aliceAndBob", "_id" : "relation/aliceAndBob", "_from" : "female/alice", "_to" : "male/bob", "_rev" : "19897", "type" : "married" } ]