Example graphs
How to use the example graphs built into ArangoDB
ArangoDB comes with a set of easy-to-understand graphs for demonstration purposes.
In the web interface, navigate to the GRAPHS section, click the Add Graph card, go to the Examples tab, and click the Create button of one of the listed graphs.
In arangosh, run
require("@arangodb/graph-examples/example-graph").loadGraph("<name>");
with<name>
substituted by the name of an example graph listed below.
You can visually explore the created graphs in the Graph viewer of the web interface.
You can take a look at the script that creates the example graphs on GitHub for reference about how to manage graphs programmatically.
Knows Graph
The knows
graph is a set of persons knowing each other:
The graph consists of a persons
vertex collection connected via a knows
edge collection.
There are five persons, Alice, Bob, Charlie, Dave, and Eve.
They have the following directed relations:
- Alice knows Bob
- Bob knows Charlie
- Bob knows Dave
- Eve knows Alice
- Eve knows Bob
Example of how to create the graph, inspect its vertices and edges, and delete it again:
var examples = require("@arangodb/graph-examples/example-graph");
var g = examples.loadGraph("knows_graph");
db.persons.toArray()
db.knows.toArray();
examples.dropGraph("knows_graph");
[
{
"_key" : "alice",
"_id" : "persons/alice",
"_rev" : "_ibtxt3m---",
"name" : "Alice"
},
{
"_key" : "bob",
"_id" : "persons/bob",
"_rev" : "_ibtxt3m--_",
"name" : "Bob"
},
{
"_key" : "charlie",
"_id" : "persons/charlie",
"_rev" : "_ibtxt3q---",
"name" : "Charlie"
},
{
"_key" : "dave",
"_id" : "persons/dave",
"_rev" : "_ibtxt3q--_",
"name" : "Dave"
},
{
"_key" : "eve",
"_id" : "persons/eve",
"_rev" : "_ibtxt3q--A",
"name" : "Eve"
}
]
[
{
"_key" : "73069",
"_id" : "knows/73069",
"_from" : "persons/alice",
"_to" : "persons/bob",
"_rev" : "_ibtxt3q--B",
"vertex" : "alice"
},
{
"_key" : "73071",
"_id" : "knows/73071",
"_from" : "persons/bob",
"_to" : "persons/charlie",
"_rev" : "_ibtxt3q--C",
"vertex" : "bob"
},
{
"_key" : "73073",
"_id" : "knows/73073",
"_from" : "persons/bob",
"_to" : "persons/dave",
"_rev" : "_ibtxt3u---",
"vertex" : "bob"
},
{
"_key" : "73075",
"_id" : "knows/73075",
"_from" : "persons/eve",
"_to" : "persons/alice",
"_rev" : "_ibtxt3u--_",
"vertex" : "eve"
},
{
"_key" : "73077",
"_id" : "knows/73077",
"_from" : "persons/eve",
"_to" : "persons/bob",
"_rev" : "_ibtxt3u--A",
"vertex" : "eve"
}
]
Note: With the default traversal depth of 2 of the graph viewer, you may not see all edges of this graph by default.
Traversal Graph
The traversalGraph
has been designed to demonstrate filters in traversals.
It has some labels to filter on it. The graph’s vertices are in a collection
called circles
, and it has an edge collection edges
to connect them.
Circles have unique numeric labels. Edges have two boolean attributes
(theFalse
always being false
, theTruth
always being true
) and a label
sorting B - D to the left side, G - K to the right side.
Left and right side split into paths - at B and G, which are each direct
neighbors of the root-node A. Starting from A, the graph has a depth of 3 on
all its paths.
var examples = require("@arangodb/graph-examples/example-graph");
var g = examples.loadGraph("traversalGraph");
db.circles.toArray();
db.edges.toArray();
examples.dropGraph("traversalGraph");
[
{
"_key" : "A",
"_id" : "circles/A",
"_rev" : "_ibtxt4S---",
"label" : "1"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_ibtxt4S--_",
"label" : "2"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_ibtxt4S--A",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_ibtxt4W---",
"label" : "4"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_ibtxt4W--_",
"label" : "5"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_ibtxt4W--A",
"label" : "6"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_ibtxt4W--B",
"label" : "7"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_ibtxt4W--C",
"label" : "8"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "_ibtxt4a---",
"label" : "9"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_ibtxt4a--_",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_ibtxt4a--A",
"label" : "11"
}
]
[
{
"_key" : "73130",
"_id" : "edges/73130",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_ibtxt4a--B",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "73132",
"_id" : "edges/73132",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_ibtxt4a--C",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "73134",
"_id" : "edges/73134",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_ibtxt4e---",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "73136",
"_id" : "edges/73136",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_ibtxt4e--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "73138",
"_id" : "edges/73138",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_ibtxt4e--A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "73140",
"_id" : "edges/73140",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_ibtxt4e--B",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "73142",
"_id" : "edges/73142",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_ibtxt4e--C",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "73144",
"_id" : "edges/73144",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_ibtxt4e--D",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "73146",
"_id" : "edges/73146",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_ibtxt4i---",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "73148",
"_id" : "edges/73148",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_ibtxt4i--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zup"
}
]
Note: With the default traversal depth of 2 of the graph viewer, you may not see all edges of this graph by default.
k Shortest Paths Graph
The vertices in the kShortestPathsGraph
graph are train stations of cities in
Europe and North America. The edges represent train connections between them,
with the travel time for both directions as edge weight.
See the k Shortest Paths page for query examples.
var examples = require("@arangodb/graph-examples/example-graph");
var g = examples.loadGraph("kShortestPathsGraph");
db.places.toArray();
db.connections.toArray();
examples.dropGraph("kShortestPathsGraph");
[
{
"_key" : "Inverness",
"_id" : "places/Inverness",
"_rev" : "_ibtxt6e---",
"label" : "Inverness"
},
{
"_key" : "Aberdeen",
"_id" : "places/Aberdeen",
"_rev" : "_ibtxt6e--_",
"label" : "Aberdeen"
},
{
"_key" : "Leuchars",
"_id" : "places/Leuchars",
"_rev" : "_ibtxt6e--A",
"label" : "Leuchars"
},
{
"_key" : "StAndrews",
"_id" : "places/StAndrews",
"_rev" : "_ibtxt6i---",
"label" : "StAndrews"
},
{
"_key" : "Edinburgh",
"_id" : "places/Edinburgh",
"_rev" : "_ibtxt6i--_",
"label" : "Edinburgh"
},
{
"_key" : "Glasgow",
"_id" : "places/Glasgow",
"_rev" : "_ibtxt6i--A",
"label" : "Glasgow"
},
{
"_key" : "York",
"_id" : "places/York",
"_rev" : "_ibtxt6i--B",
"label" : "York"
},
{
"_key" : "Carlisle",
"_id" : "places/Carlisle",
"_rev" : "_ibtxt6i--C",
"label" : "Carlisle"
},
{
"_key" : "Birmingham",
"_id" : "places/Birmingham",
"_rev" : "_ibtxt6i--D",
"label" : "Birmingham"
},
{
"_key" : "London",
"_id" : "places/London",
"_rev" : "_ibtxt6m---",
"label" : "London"
},
{
"_key" : "Brussels",
"_id" : "places/Brussels",
"_rev" : "_ibtxt6m--_",
"label" : "Brussels"
},
{
"_key" : "Cologne",
"_id" : "places/Cologne",
"_rev" : "_ibtxt6m--A",
"label" : "Cologne"
},
{
"_key" : "Toronto",
"_id" : "places/Toronto",
"_rev" : "_ibtxt6m--B",
"label" : "Toronto"
},
{
"_key" : "Winnipeg",
"_id" : "places/Winnipeg",
"_rev" : "_ibtxt6m--C",
"label" : "Winnipeg"
},
{
"_key" : "Saskatoon",
"_id" : "places/Saskatoon",
"_rev" : "_ibtxt6m--D",
"label" : "Saskatoon"
},
{
"_key" : "Edmonton",
"_id" : "places/Edmonton",
"_rev" : "_ibtxt6q---",
"label" : "Edmonton"
},
{
"_key" : "Jasper",
"_id" : "places/Jasper",
"_rev" : "_ibtxt6q--_",
"label" : "Jasper"
},
{
"_key" : "Vancouver",
"_id" : "places/Vancouver",
"_rev" : "_ibtxt6q--A",
"label" : "Vancouver"
}
]
[
{
"_key" : "73208",
"_id" : "connections/73208",
"_from" : "places/Inverness",
"_to" : "places/Aberdeen",
"_rev" : "_ibtxt6u---",
"travelTime" : 3
},
{
"_key" : "73210",
"_id" : "connections/73210",
"_from" : "places/Aberdeen",
"_to" : "places/Inverness",
"_rev" : "_ibtxt6y---",
"travelTime" : 2.5
},
{
"_key" : "73212",
"_id" : "connections/73212",
"_from" : "places/Aberdeen",
"_to" : "places/Leuchars",
"_rev" : "_ibtxt6y--_",
"travelTime" : 1.5
},
{
"_key" : "73214",
"_id" : "connections/73214",
"_from" : "places/Leuchars",
"_to" : "places/Aberdeen",
"_rev" : "_ibtxt6y--A",
"travelTime" : 1
},
{
"_key" : "73216",
"_id" : "connections/73216",
"_from" : "places/Leuchars",
"_to" : "places/Edinburgh",
"_rev" : "_ibtxt6y--B",
"travelTime" : 1.5
},
{
"_key" : "73218",
"_id" : "connections/73218",
"_from" : "places/Edinburgh",
"_to" : "places/Leuchars",
"_rev" : "_ibtxt6y--C",
"travelTime" : 3
},
{
"_key" : "73220",
"_id" : "connections/73220",
"_from" : "places/Edinburgh",
"_to" : "places/Glasgow",
"_rev" : "_ibtxt62---",
"travelTime" : 1
},
{
"_key" : "73222",
"_id" : "connections/73222",
"_from" : "places/Glasgow",
"_to" : "places/Edinburgh",
"_rev" : "_ibtxt62--_",
"travelTime" : 1
},
{
"_key" : "73224",
"_id" : "connections/73224",
"_from" : "places/Edinburgh",
"_to" : "places/York",
"_rev" : "_ibtxt62--A",
"travelTime" : 3.5
},
{
"_key" : "73226",
"_id" : "connections/73226",
"_from" : "places/York",
"_to" : "places/Edinburgh",
"_rev" : "_ibtxt62--B",
"travelTime" : 4
},
{
"_key" : "73228",
"_id" : "connections/73228",
"_from" : "places/Glasgow",
"_to" : "places/Carlisle",
"_rev" : "_ibtxt62--C",
"travelTime" : 1
},
{
"_key" : "73230",
"_id" : "connections/73230",
"_from" : "places/Carlisle",
"_to" : "places/Glasgow",
"_rev" : "_ibtxt66---",
"travelTime" : 1
},
{
"_key" : "73232",
"_id" : "connections/73232",
"_from" : "places/Carlisle",
"_to" : "places/York",
"_rev" : "_ibtxt66--_",
"travelTime" : 2.5
},
{
"_key" : "73234",
"_id" : "connections/73234",
"_from" : "places/York",
"_to" : "places/Carlisle",
"_rev" : "_ibtxt66--A",
"travelTime" : 3.5
},
{
"_key" : "73236",
"_id" : "connections/73236",
"_from" : "places/Carlisle",
"_to" : "places/Birmingham",
"_rev" : "_ibtxt66--B",
"travelTime" : 2
},
{
"_key" : "73238",
"_id" : "connections/73238",
"_from" : "places/Birmingham",
"_to" : "places/Carlisle",
"_rev" : "_ibtxt66--C",
"travelTime" : 1
},
{
"_key" : "73240",
"_id" : "connections/73240",
"_from" : "places/Birmingham",
"_to" : "places/London",
"_rev" : "_ibtxt7----",
"travelTime" : 1.5
},
{
"_key" : "73242",
"_id" : "connections/73242",
"_from" : "places/London",
"_to" : "places/Birmingham",
"_rev" : "_ibtxt7---_",
"travelTime" : 2.5
},
{
"_key" : "73244",
"_id" : "connections/73244",
"_from" : "places/Leuchars",
"_to" : "places/StAndrews",
"_rev" : "_ibtxt7---A",
"travelTime" : 0.2
},
{
"_key" : "73246",
"_id" : "connections/73246",
"_from" : "places/StAndrews",
"_to" : "places/Leuchars",
"_rev" : "_ibtxt7---B",
"travelTime" : 0.2
},
{
"_key" : "73248",
"_id" : "connections/73248",
"_from" : "places/York",
"_to" : "places/London",
"_rev" : "_ibtxt7---C",
"travelTime" : 1.8
},
{
"_key" : "73250",
"_id" : "connections/73250",
"_from" : "places/London",
"_to" : "places/York",
"_rev" : "_ibtxt7C---",
"travelTime" : 2
},
{
"_key" : "73252",
"_id" : "connections/73252",
"_from" : "places/London",
"_to" : "places/Brussels",
"_rev" : "_ibtxt7C--_",
"travelTime" : 2.5
},
{
"_key" : "73254",
"_id" : "connections/73254",
"_from" : "places/Brussels",
"_to" : "places/London",
"_rev" : "_ibtxt7C--A",
"travelTime" : 3.5
},
{
"_key" : "73256",
"_id" : "connections/73256",
"_from" : "places/Brussels",
"_to" : "places/Cologne",
"_rev" : "_ibtxt7C--B",
"travelTime" : 2
},
{
"_key" : "73258",
"_id" : "connections/73258",
"_from" : "places/Cologne",
"_to" : "places/Brussels",
"_rev" : "_ibtxt7C--C",
"travelTime" : 1.5
},
{
"_key" : "73260",
"_id" : "connections/73260",
"_from" : "places/Toronto",
"_to" : "places/Winnipeg",
"_rev" : "_ibtxt7C--D",
"travelTime" : 36
},
{
"_key" : "73262",
"_id" : "connections/73262",
"_from" : "places/Winnipeg",
"_to" : "places/Toronto",
"_rev" : "_ibtxt7G---",
"travelTime" : 35
},
{
"_key" : "73264",
"_id" : "connections/73264",
"_from" : "places/Winnipeg",
"_to" : "places/Saskatoon",
"_rev" : "_ibtxt7G--_",
"travelTime" : 12
},
{
"_key" : "73266",
"_id" : "connections/73266",
"_from" : "places/Saskatoon",
"_to" : "places/Winnipeg",
"_rev" : "_ibtxt7G--A",
"travelTime" : 5
},
{
"_key" : "73268",
"_id" : "connections/73268",
"_from" : "places/Saskatoon",
"_to" : "places/Edmonton",
"_rev" : "_ibtxt7G--B",
"travelTime" : 12
},
{
"_key" : "73270",
"_id" : "connections/73270",
"_from" : "places/Edmonton",
"_to" : "places/Saskatoon",
"_rev" : "_ibtxt7G--C",
"travelTime" : 17
},
{
"_key" : "73272",
"_id" : "connections/73272",
"_from" : "places/Edmonton",
"_to" : "places/Jasper",
"_rev" : "_ibtxt7K---",
"travelTime" : 6
},
{
"_key" : "73274",
"_id" : "connections/73274",
"_from" : "places/Jasper",
"_to" : "places/Edmonton",
"_rev" : "_ibtxt7K--_",
"travelTime" : 5
},
{
"_key" : "73276",
"_id" : "connections/73276",
"_from" : "places/Jasper",
"_to" : "places/Vancouver",
"_rev" : "_ibtxt7K--A",
"travelTime" : 12
},
{
"_key" : "73278",
"_id" : "connections/73278",
"_from" : "places/Vancouver",
"_to" : "places/Jasper",
"_rev" : "_ibtxt7K--B",
"travelTime" : 13
}
]
Mps Graph
The mps_graph
has been created to demonstrate shortest path algorithms and
the abbreviation stands for multiple path search.
The example graph consists of vertices in the mps_verts
collection and edges
in the mps_edges
collection. It is a simple traversal graph with start node
A and end node C.
With the Shortest Path algorithm, you either get the shortest path A - B - C or A - D - C. With the All Shortest Paths algorithm, both shortest paths are returned.
Example of how to create the graph, inspect its vertices and edges, and delete it again:
var examples = require("@arangodb/graph-examples/example-graph");
var g = examples.loadGraph("mps_graph");
db.mps_verts.toArray();
db.mps_edges.toArray();
examples.dropGraph("mps_graph");
[
{
"_key" : "A",
"_id" : "mps_verts/A",
"_rev" : "_ibtxt8i---"
},
{
"_key" : "B",
"_id" : "mps_verts/B",
"_rev" : "_ibtxt8m---"
},
{
"_key" : "C",
"_id" : "mps_verts/C",
"_rev" : "_ibtxt8m--_"
},
{
"_key" : "D",
"_id" : "mps_verts/D",
"_rev" : "_ibtxt8m--A"
},
{
"_key" : "E",
"_id" : "mps_verts/E",
"_rev" : "_ibtxt8m--B"
},
{
"_key" : "F",
"_id" : "mps_verts/F",
"_rev" : "_ibtxt8m--C"
}
]
[
{
"_key" : "73326",
"_id" : "mps_edges/73326",
"_from" : "mps_verts/A",
"_to" : "mps_verts/B",
"_rev" : "_ibtxt8m--D",
"vertex" : "A"
},
{
"_key" : "73328",
"_id" : "mps_edges/73328",
"_from" : "mps_verts/A",
"_to" : "mps_verts/E",
"_rev" : "_ibtxt8q---",
"vertex" : "A"
},
{
"_key" : "73330",
"_id" : "mps_edges/73330",
"_from" : "mps_verts/A",
"_to" : "mps_verts/D",
"_rev" : "_ibtxt8q--_",
"vertex" : "A"
},
{
"_key" : "73332",
"_id" : "mps_edges/73332",
"_from" : "mps_verts/B",
"_to" : "mps_verts/C",
"_rev" : "_ibtxt8q--A",
"vertex" : "B"
},
{
"_key" : "73334",
"_id" : "mps_edges/73334",
"_from" : "mps_verts/D",
"_to" : "mps_verts/C",
"_rev" : "_ibtxt8q--B",
"vertex" : "D"
},
{
"_key" : "73336",
"_id" : "mps_edges/73336",
"_from" : "mps_verts/E",
"_to" : "mps_verts/F",
"_rev" : "_ibtxt8u---",
"vertex" : "E"
},
{
"_key" : "73338",
"_id" : "mps_edges/73338",
"_from" : "mps_verts/F",
"_to" : "mps_verts/C",
"_rev" : "_ibtxt8u--_",
"vertex" : "F"
}
]
World Graph
The worldCountry
graph has as node structure as follows:
world → continent → country → capital
In some cases, edge directions aren’t forward. Therefore, it may get displayed disjunct in the graph viewer.
You can create the graph as a named graph using the name worldCountry
, or as
an anonymous graph (vertex and edge collections only) using the name
worldCountryUnManaged
.
var examples = require("@arangodb/graph-examples/example-graph");
var g = examples.loadGraph("worldCountry");
db.worldVertices.toArray();
db.worldEdges.toArray();
examples.dropGraph("worldCountry");
var g = examples.loadGraph("worldCountryUnManaged");
examples.dropGraph("worldCountryUnManaged");
[
{
"_key" : "world",
"_id" : "worldVertices/world",
"_rev" : "_ibtxt9y---",
"name" : "World",
"type" : "root"
},
{
"_key" : "continent-africa",
"_id" : "worldVertices/continent-africa",
"_rev" : "_ibtxt9y--_",
"name" : "Africa",
"type" : "continent"
},
{
"_key" : "continent-asia",
"_id" : "worldVertices/continent-asia",
"_rev" : "_ibtxt9y--A",
"name" : "Asia",
"type" : "continent"
},
{
"_key" : "continent-australia",
"_id" : "worldVertices/continent-australia",
"_rev" : "_ibtxt9y--B",
"name" : "Australia",
"type" : "continent"
},
{
"_key" : "continent-europe",
"_id" : "worldVertices/continent-europe",
"_rev" : "_ibtxt92---",
"name" : "Europe",
"type" : "continent"
},
{
"_key" : "continent-north-america",
"_id" : "worldVertices/continent-north-america",
"_rev" : "_ibtxt92--_",
"name" : "North America",
"type" : "continent"
},
{
"_key" : "continent-south-america",
"_id" : "worldVertices/continent-south-america",
"_rev" : "_ibtxt92--A",
"name" : "South America",
"type" : "continent"
},
{
"_key" : "country-afghanistan",
"_id" : "worldVertices/country-afghanistan",
"_rev" : "_ibtxt92--B",
"name" : "Afghanistan",
"type" : "country",
"code" : "AFG"
},
{
"_key" : "country-albania",
"_id" : "worldVertices/country-albania",
"_rev" : "_ibtxt96---",
"name" : "Albania",
"type" : "country",
"code" : "ALB"
},
{
"_key" : "country-algeria",
"_id" : "worldVertices/country-algeria",
"_rev" : "_ibtxt96--_",
"name" : "Algeria",
"type" : "country",
"code" : "DZA"
},
{
"_key" : "country-andorra",
"_id" : "worldVertices/country-andorra",
"_rev" : "_ibtxt96--A",
"name" : "Andorra",
"type" : "country",
"code" : "AND"
},
{
"_key" : "country-angola",
"_id" : "worldVertices/country-angola",
"_rev" : "_ibtxt96--B",
"name" : "Angola",
"type" : "country",
"code" : "AGO"
},
{
"_key" : "country-antigua-and-barbuda",
"_id" : "worldVertices/country-antigua-and-barbuda",
"_rev" : "_ibtxt96--C",
"name" : "Antigua and Barbuda",
"type" : "country",
"code" : "ATG"
},
{
"_key" : "country-argentina",
"_id" : "worldVertices/country-argentina",
"_rev" : "_ibtxu-----",
"name" : "Argentina",
"type" : "country",
"code" : "ARG"
},
{
"_key" : "country-australia",
"_id" : "worldVertices/country-australia",
"_rev" : "_ibtxu----_",
"name" : "Australia",
"type" : "country",
"code" : "AUS"
},
{
"_key" : "country-austria",
"_id" : "worldVertices/country-austria",
"_rev" : "_ibtxu----A",
"name" : "Austria",
"type" : "country",
"code" : "AUT"
},
{
"_key" : "country-bahamas",
"_id" : "worldVertices/country-bahamas",
"_rev" : "_ibtxu----B",
"name" : "Bahamas",
"type" : "country",
"code" : "BHS"
},
{
"_key" : "country-bahrain",
"_id" : "worldVertices/country-bahrain",
"_rev" : "_ibtxu----C",
"name" : "Bahrain",
"type" : "country",
"code" : "BHR"
},
{
"_key" : "country-bangladesh",
"_id" : "worldVertices/country-bangladesh",
"_rev" : "_ibtxu----D",
"name" : "Bangladesh",
"type" : "country",
"code" : "BGD"
},
{
"_key" : "country-barbados",
"_id" : "worldVertices/country-barbados",
"_rev" : "_ibtxu-C---",
"name" : "Barbados",
"type" : "country",
"code" : "BRB"
},
{
"_key" : "country-belgium",
"_id" : "worldVertices/country-belgium",
"_rev" : "_ibtxu-C--_",
"name" : "Belgium",
"type" : "country",
"code" : "BEL"
},
{
"_key" : "country-bhutan",
"_id" : "worldVertices/country-bhutan",
"_rev" : "_ibtxu-C--A",
"name" : "Bhutan",
"type" : "country",
"code" : "BTN"
},
{
"_key" : "country-bolivia",
"_id" : "worldVertices/country-bolivia",
"_rev" : "_ibtxu-C--B",
"name" : "Bolivia",
"type" : "country",
"code" : "BOL"
},
{
"_key" : "country-bosnia-and-herzegovina",
"_id" : "worldVertices/country-bosnia-and-herzegovina",
"_rev" : "_ibtxu-C--C",
"name" : "Bosnia and Herzegovina",
"type" : "country",
"code" : "BIH"
},
{
"_key" : "country-botswana",
"_id" : "worldVertices/country-botswana",
"_rev" : "_ibtxu-C--D",
"name" : "Botswana",
"type" : "country",
"code" : "BWA"
},
{
"_key" : "country-brazil",
"_id" : "worldVertices/country-brazil",
"_rev" : "_ibtxu-G---",
"name" : "Brazil",
"type" : "country",
"code" : "BRA"
},
{
"_key" : "country-brunei",
"_id" : "worldVertices/country-brunei",
"_rev" : "_ibtxu-G--_",
"name" : "Brunei",
"type" : "country",
"code" : "BRN"
},
{
"_key" : "country-bulgaria",
"_id" : "worldVertices/country-bulgaria",
"_rev" : "_ibtxu-O---",
"name" : "Bulgaria",
"type" : "country",
"code" : "BGR"
},
{
"_key" : "country-burkina-faso",
"_id" : "worldVertices/country-burkina-faso",
"_rev" : "_ibtxu-O--_",
"name" : "Burkina Faso",
"type" : "country",
"code" : "BFA"
},
{
"_key" : "country-burundi",
"_id" : "worldVertices/country-burundi",
"_rev" : "_ibtxu-O--A",
"name" : "Burundi",
"type" : "country",
"code" : "BDI"
},
{
"_key" : "country-cambodia",
"_id" : "worldVertices/country-cambodia",
"_rev" : "_ibtxu-O--B",
"name" : "Cambodia",
"type" : "country",
"code" : "KHM"
},
{
"_key" : "country-cameroon",
"_id" : "worldVertices/country-cameroon",
"_rev" : "_ibtxu-O--C",
"name" : "Cameroon",
"type" : "country",
"code" : "CMR"
},
{
"_key" : "country-canada",
"_id" : "worldVertices/country-canada",
"_rev" : "_ibtxu-O--D",
"name" : "Canada",
"type" : "country",
"code" : "CAN"
},
{
"_key" : "country-chad",
"_id" : "worldVertices/country-chad",
"_rev" : "_ibtxu-S---",
"name" : "Chad",
"type" : "country",
"code" : "TCD"
},
{
"_key" : "country-chile",
"_id" : "worldVertices/country-chile",
"_rev" : "_ibtxu-S--_",
"name" : "Chile",
"type" : "country",
"code" : "CHL"
},
{
"_key" : "country-colombia",
"_id" : "worldVertices/country-colombia",
"_rev" : "_ibtxu-S--A",
"name" : "Colombia",
"type" : "country",
"code" : "COL"
},
{
"_key" : "country-cote-d-ivoire",
"_id" : "worldVertices/country-cote-d-ivoire",
"_rev" : "_ibtxu-S--B",
"name" : "Cote d'Ivoire",
"type" : "country",
"code" : "CIV"
},
{
"_key" : "country-croatia",
"_id" : "worldVertices/country-croatia",
"_rev" : "_ibtxu-S--C",
"name" : "Croatia",
"type" : "country",
"code" : "HRV"
},
{
"_key" : "country-czech-republic",
"_id" : "worldVertices/country-czech-republic",
"_rev" : "_ibtxu-S--D",
"name" : "Czech Republic",
"type" : "country",
"code" : "CZE"
},
{
"_key" : "country-denmark",
"_id" : "worldVertices/country-denmark",
"_rev" : "_ibtxu-S--E",
"name" : "Denmark",
"type" : "country",
"code" : "DNK"
},
{
"_key" : "country-ecuador",
"_id" : "worldVertices/country-ecuador",
"_rev" : "_ibtxu-W---",
"name" : "Ecuador",
"type" : "country",
"code" : "ECU"
},
{
"_key" : "country-egypt",
"_id" : "worldVertices/country-egypt",
"_rev" : "_ibtxu-W--_",
"name" : "Egypt",
"type" : "country",
"code" : "EGY"
},
{
"_key" : "country-eritrea",
"_id" : "worldVertices/country-eritrea",
"_rev" : "_ibtxu-W--A",
"name" : "Eritrea",
"type" : "country",
"code" : "ERI"
},
{
"_key" : "country-finland",
"_id" : "worldVertices/country-finland",
"_rev" : "_ibtxu-W--B",
"name" : "Finland",
"type" : "country",
"code" : "FIN"
},
{
"_key" : "country-france",
"_id" : "worldVertices/country-france",
"_rev" : "_ibtxu-W--C",
"name" : "France",
"type" : "country",
"code" : "FRA"
},
{
"_key" : "country-germany",
"_id" : "worldVertices/country-germany",
"_rev" : "_ibtxu-W--D",
"name" : "Germany",
"type" : "country",
"code" : "DEU"
},
{
"_key" : "country-people-s-republic-of-china",
"_id" : "worldVertices/country-people-s-republic-of-china",
"_rev" : "_ibtxu-W--E",
"name" : "People's Republic of China",
"type" : "country",
"code" : "CHN"
},
{
"_key" : "capital-algiers",
"_id" : "worldVertices/capital-algiers",
"_rev" : "_ibtxu-W--F",
"name" : "Algiers",
"type" : "capital"
},
{
"_key" : "capital-andorra-la-vella",
"_id" : "worldVertices/capital-andorra-la-vella",
"_rev" : "_ibtxu-a---",
"name" : "Andorra la Vella",
"type" : "capital"
},
{
"_key" : "capital-asmara",
"_id" : "worldVertices/capital-asmara",
"_rev" : "_ibtxu-a--_",
"name" : "Asmara",
"type" : "capital"
},
{
"_key" : "capital-bandar-seri-begawan",
"_id" : "worldVertices/capital-bandar-seri-begawan",
"_rev" : "_ibtxu-a--A",
"name" : "Bandar Seri Begawan",
"type" : "capital"
},
{
"_key" : "capital-beijing",
"_id" : "worldVertices/capital-beijing",
"_rev" : "_ibtxu-a--B",
"name" : "Beijing",
"type" : "capital"
},
{
"_key" : "capital-berlin",
"_id" : "worldVertices/capital-berlin",
"_rev" : "_ibtxu-a--C",
"name" : "Berlin",
"type" : "capital"
},
{
"_key" : "capital-bogota",
"_id" : "worldVertices/capital-bogota",
"_rev" : "_ibtxu-a--D",
"name" : "Bogota",
"type" : "capital"
},
{
"_key" : "capital-brasilia",
"_id" : "worldVertices/capital-brasilia",
"_rev" : "_ibtxu-a--E",
"name" : "Brasilia",
"type" : "capital"
},
{
"_key" : "capital-bridgetown",
"_id" : "worldVertices/capital-bridgetown",
"_rev" : "_ibtxu-e---",
"name" : "Bridgetown",
"type" : "capital"
},
{
"_key" : "capital-brussels",
"_id" : "worldVertices/capital-brussels",
"_rev" : "_ibtxu-e--_",
"name" : "Brussels",
"type" : "capital"
},
{
"_key" : "capital-buenos-aires",
"_id" : "worldVertices/capital-buenos-aires",
"_rev" : "_ibtxu-e--A",
"name" : "Buenos Aires",
"type" : "capital"
},
{
"_key" : "capital-bujumbura",
"_id" : "worldVertices/capital-bujumbura",
"_rev" : "_ibtxu-e--B",
"name" : "Bujumbura",
"type" : "capital"
},
{
"_key" : "capital-cairo",
"_id" : "worldVertices/capital-cairo",
"_rev" : "_ibtxu-e--C",
"name" : "Cairo",
"type" : "capital"
},
{
"_key" : "capital-canberra",
"_id" : "worldVertices/capital-canberra",
"_rev" : "_ibtxu-i---",
"name" : "Canberra",
"type" : "capital"
},
{
"_key" : "capital-copenhagen",
"_id" : "worldVertices/capital-copenhagen",
"_rev" : "_ibtxu-i--_",
"name" : "Copenhagen",
"type" : "capital"
},
{
"_key" : "capital-dhaka",
"_id" : "worldVertices/capital-dhaka",
"_rev" : "_ibtxu-i--A",
"name" : "Dhaka",
"type" : "capital"
},
{
"_key" : "capital-gaborone",
"_id" : "worldVertices/capital-gaborone",
"_rev" : "_ibtxu-i--B",
"name" : "Gaborone",
"type" : "capital"
},
{
"_key" : "capital-helsinki",
"_id" : "worldVertices/capital-helsinki",
"_rev" : "_ibtxu-i--C",
"name" : "Helsinki",
"type" : "capital"
},
{
"_key" : "capital-kabul",
"_id" : "worldVertices/capital-kabul",
"_rev" : "_ibtxu-m---",
"name" : "Kabul",
"type" : "capital"
},
{
"_key" : "capital-la-paz",
"_id" : "worldVertices/capital-la-paz",
"_rev" : "_ibtxu-m--_",
"name" : "La Paz",
"type" : "capital"
},
{
"_key" : "capital-luanda",
"_id" : "worldVertices/capital-luanda",
"_rev" : "_ibtxu-m--A",
"name" : "Luanda",
"type" : "capital"
},
{
"_key" : "capital-manama",
"_id" : "worldVertices/capital-manama",
"_rev" : "_ibtxu-m--B",
"name" : "Manama",
"type" : "capital"
},
{
"_key" : "capital-nassau",
"_id" : "worldVertices/capital-nassau",
"_rev" : "_ibtxu-m--C",
"name" : "Nassau",
"type" : "capital"
},
{
"_key" : "capital-n-djamena",
"_id" : "worldVertices/capital-n-djamena",
"_rev" : "_ibtxu-m--D",
"name" : "N'Djamena",
"type" : "capital"
},
{
"_key" : "capital-ottawa",
"_id" : "worldVertices/capital-ottawa",
"_rev" : "_ibtxu-q---",
"name" : "Ottawa",
"type" : "capital"
},
{
"_key" : "capital-ouagadougou",
"_id" : "worldVertices/capital-ouagadougou",
"_rev" : "_ibtxu-q--_",
"name" : "Ouagadougou",
"type" : "capital"
},
{
"_key" : "capital-paris",
"_id" : "worldVertices/capital-paris",
"_rev" : "_ibtxu-q--A",
"name" : "Paris",
"type" : "capital"
},
{
"_key" : "capital-phnom-penh",
"_id" : "worldVertices/capital-phnom-penh",
"_rev" : "_ibtxu-q--B",
"name" : "Phnom Penh",
"type" : "capital"
},
{
"_key" : "capital-prague",
"_id" : "worldVertices/capital-prague",
"_rev" : "_ibtxu-q--C",
"name" : "Prague",
"type" : "capital"
},
{
"_key" : "capital-quito",
"_id" : "worldVertices/capital-quito",
"_rev" : "_ibtxu-u---",
"name" : "Quito",
"type" : "capital"
},
{
"_key" : "capital-saint-john-s",
"_id" : "worldVertices/capital-saint-john-s",
"_rev" : "_ibtxu-u--_",
"name" : "Saint John's",
"type" : "capital"
},
{
"_key" : "capital-santiago",
"_id" : "worldVertices/capital-santiago",
"_rev" : "_ibtxu-u--A",
"name" : "Santiago",
"type" : "capital"
},
{
"_key" : "capital-sarajevo",
"_id" : "worldVertices/capital-sarajevo",
"_rev" : "_ibtxu-u--B",
"name" : "Sarajevo",
"type" : "capital"
},
{
"_key" : "capital-sofia",
"_id" : "worldVertices/capital-sofia",
"_rev" : "_ibtxu-u--C",
"name" : "Sofia",
"type" : "capital"
},
{
"_key" : "capital-thimphu",
"_id" : "worldVertices/capital-thimphu",
"_rev" : "_ibtxu-u--D",
"name" : "Thimphu",
"type" : "capital"
},
{
"_key" : "capital-tirana",
"_id" : "worldVertices/capital-tirana",
"_rev" : "_ibtxu-y---",
"name" : "Tirana",
"type" : "capital"
},
{
"_key" : "capital-vienna",
"_id" : "worldVertices/capital-vienna",
"_rev" : "_ibtxu-y--_",
"name" : "Vienna",
"type" : "capital"
},
{
"_key" : "capital-yamoussoukro",
"_id" : "worldVertices/capital-yamoussoukro",
"_rev" : "_ibtxu-y--A",
"name" : "Yamoussoukro",
"type" : "capital"
},
{
"_key" : "capital-yaounde",
"_id" : "worldVertices/capital-yaounde",
"_rev" : "_ibtxu-y--B",
"name" : "Yaounde",
"type" : "capital"
},
{
"_key" : "capital-zagreb",
"_id" : "worldVertices/capital-zagreb",
"_rev" : "_ibtxu-y--C",
"name" : "Zagreb",
"type" : "capital"
}
]
[
{
"_key" : "73467",
"_id" : "worldEdges/73467",
"_from" : "worldVertices/continent-africa",
"_to" : "worldVertices/world",
"_rev" : "_ibtxu-y--D",
"type" : "is-in"
},
{
"_key" : "73469",
"_id" : "worldEdges/73469",
"_from" : "worldVertices/continent-asia",
"_to" : "worldVertices/world",
"_rev" : "_ibtxu-y--E",
"type" : "is-in"
},
{
"_key" : "73471",
"_id" : "worldEdges/73471",
"_from" : "worldVertices/continent-australia",
"_to" : "worldVertices/world",
"_rev" : "_ibtxu-2---",
"type" : "is-in"
},
{
"_key" : "73473",
"_id" : "worldEdges/73473",
"_from" : "worldVertices/continent-europe",
"_to" : "worldVertices/world",
"_rev" : "_ibtxu-2--_",
"type" : "is-in"
},
{
"_key" : "73475",
"_id" : "worldEdges/73475",
"_from" : "worldVertices/continent-north-america",
"_to" : "worldVertices/world",
"_rev" : "_ibtxu-2--A",
"type" : "is-in"
},
{
"_key" : "73477",
"_id" : "worldEdges/73477",
"_from" : "worldVertices/continent-south-america",
"_to" : "worldVertices/world",
"_rev" : "_ibtxu-2--B",
"type" : "is-in"
},
{
"_key" : "73479",
"_id" : "worldEdges/73479",
"_from" : "worldVertices/country-afghanistan",
"_to" : "worldVertices/continent-asia",
"_rev" : "_ibtxu-2--C",
"type" : "is-in"
},
{
"_key" : "73481",
"_id" : "worldEdges/73481",
"_from" : "worldVertices/country-albania",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu-6---",
"type" : "is-in"
},
{
"_key" : "73483",
"_id" : "worldEdges/73483",
"_from" : "worldVertices/country-algeria",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu-6--_",
"type" : "is-in"
},
{
"_key" : "73485",
"_id" : "worldEdges/73485",
"_from" : "worldVertices/country-andorra",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu-6--A",
"type" : "is-in"
},
{
"_key" : "73487",
"_id" : "worldEdges/73487",
"_from" : "worldVertices/country-angola",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu-6--B",
"type" : "is-in"
},
{
"_key" : "73489",
"_id" : "worldEdges/73489",
"_from" : "worldVertices/country-antigua-and-barbuda",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_ibtxu-6--C",
"type" : "is-in"
},
{
"_key" : "73491",
"_id" : "worldEdges/73491",
"_from" : "worldVertices/country-argentina",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_ibtxu_----",
"type" : "is-in"
},
{
"_key" : "73493",
"_id" : "worldEdges/73493",
"_from" : "worldVertices/country-australia",
"_to" : "worldVertices/continent-australia",
"_rev" : "_ibtxu_---_",
"type" : "is-in"
},
{
"_key" : "73495",
"_id" : "worldEdges/73495",
"_from" : "worldVertices/country-austria",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_---A",
"type" : "is-in"
},
{
"_key" : "73497",
"_id" : "worldEdges/73497",
"_from" : "worldVertices/country-bahamas",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_ibtxu_---B",
"type" : "is-in"
},
{
"_key" : "73499",
"_id" : "worldEdges/73499",
"_from" : "worldVertices/country-bahrain",
"_to" : "worldVertices/continent-asia",
"_rev" : "_ibtxu_---C",
"type" : "is-in"
},
{
"_key" : "73501",
"_id" : "worldEdges/73501",
"_from" : "worldVertices/country-bangladesh",
"_to" : "worldVertices/continent-asia",
"_rev" : "_ibtxu_---D",
"type" : "is-in"
},
{
"_key" : "73503",
"_id" : "worldEdges/73503",
"_from" : "worldVertices/country-barbados",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_ibtxu_---E",
"type" : "is-in"
},
{
"_key" : "73505",
"_id" : "worldEdges/73505",
"_from" : "worldVertices/country-belgium",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_C---",
"type" : "is-in"
},
{
"_key" : "73507",
"_id" : "worldEdges/73507",
"_from" : "worldVertices/country-bhutan",
"_to" : "worldVertices/continent-asia",
"_rev" : "_ibtxu_C--_",
"type" : "is-in"
},
{
"_key" : "73509",
"_id" : "worldEdges/73509",
"_from" : "worldVertices/country-bolivia",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_ibtxu_C--A",
"type" : "is-in"
},
{
"_key" : "73511",
"_id" : "worldEdges/73511",
"_from" : "worldVertices/country-bosnia-and-herzegovina",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_C--B",
"type" : "is-in"
},
{
"_key" : "73513",
"_id" : "worldEdges/73513",
"_from" : "worldVertices/country-botswana",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_C--C",
"type" : "is-in"
},
{
"_key" : "73515",
"_id" : "worldEdges/73515",
"_from" : "worldVertices/country-brazil",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_ibtxu_C--D",
"type" : "is-in"
},
{
"_key" : "73517",
"_id" : "worldEdges/73517",
"_from" : "worldVertices/country-brunei",
"_to" : "worldVertices/continent-asia",
"_rev" : "_ibtxu_G---",
"type" : "is-in"
},
{
"_key" : "73519",
"_id" : "worldEdges/73519",
"_from" : "worldVertices/country-bulgaria",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_G--_",
"type" : "is-in"
},
{
"_key" : "73521",
"_id" : "worldEdges/73521",
"_from" : "worldVertices/country-burkina-faso",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_G--A",
"type" : "is-in"
},
{
"_key" : "73523",
"_id" : "worldEdges/73523",
"_from" : "worldVertices/country-burundi",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_G--B",
"type" : "is-in"
},
{
"_key" : "73525",
"_id" : "worldEdges/73525",
"_from" : "worldVertices/country-cambodia",
"_to" : "worldVertices/continent-asia",
"_rev" : "_ibtxu_G--C",
"type" : "is-in"
},
{
"_key" : "73527",
"_id" : "worldEdges/73527",
"_from" : "worldVertices/country-cameroon",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_G--D",
"type" : "is-in"
},
{
"_key" : "73529",
"_id" : "worldEdges/73529",
"_from" : "worldVertices/country-canada",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_ibtxu_G--E",
"type" : "is-in"
},
{
"_key" : "73531",
"_id" : "worldEdges/73531",
"_from" : "worldVertices/country-chad",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_K---",
"type" : "is-in"
},
{
"_key" : "73533",
"_id" : "worldEdges/73533",
"_from" : "worldVertices/country-chile",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_ibtxu_K--_",
"type" : "is-in"
},
{
"_key" : "73535",
"_id" : "worldEdges/73535",
"_from" : "worldVertices/country-colombia",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_ibtxu_K--A",
"type" : "is-in"
},
{
"_key" : "73537",
"_id" : "worldEdges/73537",
"_from" : "worldVertices/country-cote-d-ivoire",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_K--B",
"type" : "is-in"
},
{
"_key" : "73539",
"_id" : "worldEdges/73539",
"_from" : "worldVertices/country-croatia",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_K--C",
"type" : "is-in"
},
{
"_key" : "73541",
"_id" : "worldEdges/73541",
"_from" : "worldVertices/country-czech-republic",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_K--D",
"type" : "is-in"
},
{
"_key" : "73543",
"_id" : "worldEdges/73543",
"_from" : "worldVertices/country-denmark",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_K--E",
"type" : "is-in"
},
{
"_key" : "73545",
"_id" : "worldEdges/73545",
"_from" : "worldVertices/country-ecuador",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_ibtxu_O---",
"type" : "is-in"
},
{
"_key" : "73547",
"_id" : "worldEdges/73547",
"_from" : "worldVertices/country-egypt",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_O--_",
"type" : "is-in"
},
{
"_key" : "73549",
"_id" : "worldEdges/73549",
"_from" : "worldVertices/country-eritrea",
"_to" : "worldVertices/continent-africa",
"_rev" : "_ibtxu_O--A",
"type" : "is-in"
},
{
"_key" : "73551",
"_id" : "worldEdges/73551",
"_from" : "worldVertices/country-finland",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_O--B",
"type" : "is-in"
},
{
"_key" : "73553",
"_id" : "worldEdges/73553",
"_from" : "worldVertices/country-france",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_O--C",
"type" : "is-in"
},
{
"_key" : "73555",
"_id" : "worldEdges/73555",
"_from" : "worldVertices/country-germany",
"_to" : "worldVertices/continent-europe",
"_rev" : "_ibtxu_O--D",
"type" : "is-in"
},
{
"_key" : "73557",
"_id" : "worldEdges/73557",
"_from" : "worldVertices/country-people-s-republic-of-china",
"_to" : "worldVertices/continent-asia",
"_rev" : "_ibtxu_S---",
"type" : "is-in"
},
{
"_key" : "73559",
"_id" : "worldEdges/73559",
"_from" : "worldVertices/capital-algiers",
"_to" : "worldVertices/country-algeria",
"_rev" : "_ibtxu_S--_",
"type" : "is-in"
},
{
"_key" : "73561",
"_id" : "worldEdges/73561",
"_from" : "worldVertices/capital-andorra-la-vella",
"_to" : "worldVertices/country-andorra",
"_rev" : "_ibtxu_S--A",
"type" : "is-in"
},
{
"_key" : "73563",
"_id" : "worldEdges/73563",
"_from" : "worldVertices/capital-asmara",
"_to" : "worldVertices/country-eritrea",
"_rev" : "_ibtxu_S--B",
"type" : "is-in"
},
{
"_key" : "73565",
"_id" : "worldEdges/73565",
"_from" : "worldVertices/capital-bandar-seri-begawan",
"_to" : "worldVertices/country-brunei",
"_rev" : "_ibtxu_S--C",
"type" : "is-in"
},
{
"_key" : "73567",
"_id" : "worldEdges/73567",
"_from" : "worldVertices/capital-beijing",
"_to" : "worldVertices/country-people-s-republic-of-china",
"_rev" : "_ibtxu_S--D",
"type" : "is-in"
},
{
"_key" : "73569",
"_id" : "worldEdges/73569",
"_from" : "worldVertices/capital-berlin",
"_to" : "worldVertices/country-germany",
"_rev" : "_ibtxu_S--E",
"type" : "is-in"
},
{
"_key" : "73571",
"_id" : "worldEdges/73571",
"_from" : "worldVertices/capital-bogota",
"_to" : "worldVertices/country-colombia",
"_rev" : "_ibtxu_S--F",
"type" : "is-in"
},
{
"_key" : "73573",
"_id" : "worldEdges/73573",
"_from" : "worldVertices/capital-brasilia",
"_to" : "worldVertices/country-brazil",
"_rev" : "_ibtxu_W---",
"type" : "is-in"
},
{
"_key" : "73575",
"_id" : "worldEdges/73575",
"_from" : "worldVertices/capital-bridgetown",
"_to" : "worldVertices/country-barbados",
"_rev" : "_ibtxu_W--_",
"type" : "is-in"
},
{
"_key" : "73577",
"_id" : "worldEdges/73577",
"_from" : "worldVertices/capital-brussels",
"_to" : "worldVertices/country-belgium",
"_rev" : "_ibtxu_W--A",
"type" : "is-in"
},
{
"_key" : "73579",
"_id" : "worldEdges/73579",
"_from" : "worldVertices/capital-buenos-aires",
"_to" : "worldVertices/country-argentina",
"_rev" : "_ibtxu_W--B",
"type" : "is-in"
},
{
"_key" : "73581",
"_id" : "worldEdges/73581",
"_from" : "worldVertices/capital-bujumbura",
"_to" : "worldVertices/country-burundi",
"_rev" : "_ibtxu_W--C",
"type" : "is-in"
},
{
"_key" : "73583",
"_id" : "worldEdges/73583",
"_from" : "worldVertices/capital-cairo",
"_to" : "worldVertices/country-egypt",
"_rev" : "_ibtxu_W--D",
"type" : "is-in"
},
{
"_key" : "73585",
"_id" : "worldEdges/73585",
"_from" : "worldVertices/capital-canberra",
"_to" : "worldVertices/country-australia",
"_rev" : "_ibtxu_a---",
"type" : "is-in"
},
{
"_key" : "73587",
"_id" : "worldEdges/73587",
"_from" : "worldVertices/capital-copenhagen",
"_to" : "worldVertices/country-denmark",
"_rev" : "_ibtxu_a--_",
"type" : "is-in"
},
{
"_key" : "73589",
"_id" : "worldEdges/73589",
"_from" : "worldVertices/capital-dhaka",
"_to" : "worldVertices/country-bangladesh",
"_rev" : "_ibtxu_a--A",
"type" : "is-in"
},
{
"_key" : "73591",
"_id" : "worldEdges/73591",
"_from" : "worldVertices/capital-gaborone",
"_to" : "worldVertices/country-botswana",
"_rev" : "_ibtxu_a--B",
"type" : "is-in"
},
{
"_key" : "73593",
"_id" : "worldEdges/73593",
"_from" : "worldVertices/capital-helsinki",
"_to" : "worldVertices/country-finland",
"_rev" : "_ibtxu_a--C",
"type" : "is-in"
},
{
"_key" : "73595",
"_id" : "worldEdges/73595",
"_from" : "worldVertices/capital-kabul",
"_to" : "worldVertices/country-afghanistan",
"_rev" : "_ibtxu_e---",
"type" : "is-in"
},
{
"_key" : "73597",
"_id" : "worldEdges/73597",
"_from" : "worldVertices/capital-la-paz",
"_to" : "worldVertices/country-bolivia",
"_rev" : "_ibtxu_e--_",
"type" : "is-in"
},
{
"_key" : "73599",
"_id" : "worldEdges/73599",
"_from" : "worldVertices/capital-luanda",
"_to" : "worldVertices/country-angola",
"_rev" : "_ibtxu_e--A",
"type" : "is-in"
},
{
"_key" : "73601",
"_id" : "worldEdges/73601",
"_from" : "worldVertices/capital-manama",
"_to" : "worldVertices/country-bahrain",
"_rev" : "_ibtxu_e--B",
"type" : "is-in"
},
{
"_key" : "73603",
"_id" : "worldEdges/73603",
"_from" : "worldVertices/capital-nassau",
"_to" : "worldVertices/country-bahamas",
"_rev" : "_ibtxu_e--C",
"type" : "is-in"
},
{
"_key" : "73605",
"_id" : "worldEdges/73605",
"_from" : "worldVertices/capital-n-djamena",
"_to" : "worldVertices/country-chad",
"_rev" : "_ibtxu_e--D",
"type" : "is-in"
},
{
"_key" : "73607",
"_id" : "worldEdges/73607",
"_from" : "worldVertices/capital-ottawa",
"_to" : "worldVertices/country-canada",
"_rev" : "_ibtxu_e--E",
"type" : "is-in"
},
{
"_key" : "73609",
"_id" : "worldEdges/73609",
"_from" : "worldVertices/capital-ouagadougou",
"_to" : "worldVertices/country-burkina-faso",
"_rev" : "_ibtxu_i---",
"type" : "is-in"
},
{
"_key" : "73611",
"_id" : "worldEdges/73611",
"_from" : "worldVertices/capital-paris",
"_to" : "worldVertices/country-france",
"_rev" : "_ibtxu_i--_",
"type" : "is-in"
},
{
"_key" : "73613",
"_id" : "worldEdges/73613",
"_from" : "worldVertices/capital-phnom-penh",
"_to" : "worldVertices/country-cambodia",
"_rev" : "_ibtxu_i--A",
"type" : "is-in"
},
{
"_key" : "73615",
"_id" : "worldEdges/73615",
"_from" : "worldVertices/capital-prague",
"_to" : "worldVertices/country-czech-republic",
"_rev" : "_ibtxu_i--B",
"type" : "is-in"
},
{
"_key" : "73617",
"_id" : "worldEdges/73617",
"_from" : "worldVertices/capital-quito",
"_to" : "worldVertices/country-ecuador",
"_rev" : "_ibtxu_i--C",
"type" : "is-in"
},
{
"_key" : "73619",
"_id" : "worldEdges/73619",
"_from" : "worldVertices/capital-saint-john-s",
"_to" : "worldVertices/country-antigua-and-barbuda",
"_rev" : "_ibtxu_i--D",
"type" : "is-in"
},
{
"_key" : "73621",
"_id" : "worldEdges/73621",
"_from" : "worldVertices/capital-santiago",
"_to" : "worldVertices/country-chile",
"_rev" : "_ibtxu_m---",
"type" : "is-in"
},
{
"_key" : "73623",
"_id" : "worldEdges/73623",
"_from" : "worldVertices/capital-sarajevo",
"_to" : "worldVertices/country-bosnia-and-herzegovina",
"_rev" : "_ibtxu_m--_",
"type" : "is-in"
},
{
"_key" : "73625",
"_id" : "worldEdges/73625",
"_from" : "worldVertices/capital-sofia",
"_to" : "worldVertices/country-bulgaria",
"_rev" : "_ibtxu_m--A",
"type" : "is-in"
},
{
"_key" : "73627",
"_id" : "worldEdges/73627",
"_from" : "worldVertices/capital-thimphu",
"_to" : "worldVertices/country-bhutan",
"_rev" : "_ibtxu_m--B",
"type" : "is-in"
},
{
"_key" : "73629",
"_id" : "worldEdges/73629",
"_from" : "worldVertices/capital-tirana",
"_to" : "worldVertices/country-albania",
"_rev" : "_ibtxu_m--C",
"type" : "is-in"
},
{
"_key" : "73631",
"_id" : "worldEdges/73631",
"_from" : "worldVertices/capital-vienna",
"_to" : "worldVertices/country-austria",
"_rev" : "_ibtxu_m--D",
"type" : "is-in"
},
{
"_key" : "73633",
"_id" : "worldEdges/73633",
"_from" : "worldVertices/capital-yamoussoukro",
"_to" : "worldVertices/country-cote-d-ivoire",
"_rev" : "_ibtxu_q---",
"type" : "is-in"
},
{
"_key" : "73635",
"_id" : "worldEdges/73635",
"_from" : "worldVertices/capital-yaounde",
"_to" : "worldVertices/country-cameroon",
"_rev" : "_ibtxu_q--_",
"type" : "is-in"
},
{
"_key" : "73637",
"_id" : "worldEdges/73637",
"_from" : "worldVertices/capital-zagreb",
"_to" : "worldVertices/country-croatia",
"_rev" : "_ibtxu_q--A",
"type" : "is-in"
}
]
Social Graph
The social
graph is a set of persons and their relations. The graph has
female
and male
persons as vertices in two vertex collections.
The edges are their connections and stored in the relation
edge collection.
Example of how to create the graph, inspect its vertices and edges, and delete it again:
var examples = require("@arangodb/graph-examples/example-graph");
var graph = examples.loadGraph("social");
db.female.toArray()
db.male.toArray()
db.relation.toArray()
examples.dropGraph("social");
[
{
"_key" : "alice",
"_id" : "female/alice",
"_rev" : "_ibtxuEq---",
"name" : "Alice"
},
{
"_key" : "diana",
"_id" : "female/diana",
"_rev" : "_ibtxuEq--B",
"name" : "Diana"
}
]
[
{
"_key" : "bob",
"_id" : "male/bob",
"_rev" : "_ibtxuEq--_",
"name" : "Bob"
},
{
"_key" : "charly",
"_id" : "male/charly",
"_rev" : "_ibtxuEq--A",
"name" : "Charly"
}
]
[
{
"_key" : "73963",
"_id" : "relation/73963",
"_from" : "female/alice",
"_to" : "male/bob",
"_rev" : "_ibtxuEq--C",
"type" : "married",
"vertex" : "alice"
},
{
"_key" : "73965",
"_id" : "relation/73965",
"_from" : "female/alice",
"_to" : "male/charly",
"_rev" : "_ibtxuEu---",
"type" : "friend",
"vertex" : "alice"
},
{
"_key" : "73967",
"_id" : "relation/73967",
"_from" : "male/charly",
"_to" : "female/diana",
"_rev" : "_ibtxuEu--_",
"type" : "married",
"vertex" : "charly"
},
{
"_key" : "73969",
"_id" : "relation/73969",
"_from" : "male/bob",
"_to" : "female/diana",
"_rev" : "_ibtxuEu--A",
"type" : "friend",
"vertex" : "bob"
}
]
City Graph
The routeplanner
graph is a set of european cities and their fictional
traveling distances as connections. The graph has the cities as vertices in
multiple vertex collections (germanCity
and frenchCity
). The edges are their
interconnections in several edge collections (frenchHighway
, germanHighway
,
internationalHighway
).
Example of how to create the graph, inspect its edges and vertices, and delete it again:
var examples = require("@arangodb/graph-examples/example-graph");
var g = examples.loadGraph("routeplanner");
db.frenchCity.toArray();
db.germanCity.toArray();
db.germanHighway.toArray();
db.frenchHighway.toArray();
db.internationalHighway.toArray();
examples.dropGraph("routeplanner");
[
{
"_key" : "Lyon",
"_id" : "frenchCity/Lyon",
"_rev" : "_ibtxuFe--A",
"population" : 80000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
4.84,
45.76
]
}
},
{
"_key" : "Paris",
"_id" : "frenchCity/Paris",
"_rev" : "_ibtxuFe--B",
"population" : 4000000,
"isCapital" : true,
"geometry" : {
"type" : "Point",
"coordinates" : [
2.3508,
48.8567
]
}
}
]
[
{
"_key" : "Berlin",
"_id" : "germanCity/Berlin",
"_rev" : "_ibtxuFa---",
"population" : 3000000,
"isCapital" : true,
"geometry" : {
"type" : "Point",
"coordinates" : [
13.3833,
52.5167
]
}
},
{
"_key" : "Cologne",
"_id" : "germanCity/Cologne",
"_rev" : "_ibtxuFe---",
"population" : 1000000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
6.9528,
50.9364
]
}
},
{
"_key" : "Hamburg",
"_id" : "germanCity/Hamburg",
"_rev" : "_ibtxuFe--_",
"population" : 1000000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
10.0014,
53.5653
]
}
}
]
[
{
"_key" : "74045",
"_id" : "germanHighway/74045",
"_from" : "germanCity/Berlin",
"_to" : "germanCity/Cologne",
"_rev" : "_ibtxuFi--_",
"distance" : 850
},
{
"_key" : "74047",
"_id" : "germanHighway/74047",
"_from" : "germanCity/Berlin",
"_to" : "germanCity/Hamburg",
"_rev" : "_ibtxuFm---",
"distance" : 400
},
{
"_key" : "74049",
"_id" : "germanHighway/74049",
"_from" : "germanCity/Hamburg",
"_to" : "germanCity/Cologne",
"_rev" : "_ibtxuFm--_",
"distance" : 500
}
]
[
{
"_key" : "74051",
"_id" : "frenchHighway/74051",
"_from" : "frenchCity/Paris",
"_to" : "frenchCity/Lyon",
"_rev" : "_ibtxuFm--A",
"distance" : 550
}
]
[
{
"_key" : "74053",
"_id" : "internationalHighway/74053",
"_from" : "germanCity/Berlin",
"_to" : "frenchCity/Lyon",
"_rev" : "_ibtxuFm--B",
"distance" : 1100
},
{
"_key" : "74055",
"_id" : "internationalHighway/74055",
"_from" : "germanCity/Berlin",
"_to" : "frenchCity/Paris",
"_rev" : "_ibtxuFm--C",
"distance" : 1200
},
{
"_key" : "74057",
"_id" : "internationalHighway/74057",
"_from" : "germanCity/Hamburg",
"_to" : "frenchCity/Paris",
"_rev" : "_ibtxuFm--D",
"distance" : 900
},
{
"_key" : "74059",
"_id" : "internationalHighway/74059",
"_from" : "germanCity/Hamburg",
"_to" : "frenchCity/Lyon",
"_rev" : "_ibtxuFq---",
"distance" : 1300
},
{
"_key" : "74061",
"_id" : "internationalHighway/74061",
"_from" : "germanCity/Cologne",
"_to" : "frenchCity/Lyon",
"_rev" : "_ibtxuFq--_",
"distance" : 700
},
{
"_key" : "74063",
"_id" : "internationalHighway/74063",
"_from" : "germanCity/Cologne",
"_to" : "frenchCity/Paris",
"_rev" : "_ibtxuFq--A",
"distance" : 550
}
]
Connected Components Graph
A small example graph comprised of components
(vertices) and connections
(edges). Good for trying out Pregel algorithms such as Weakly Connected
Components (WCC).
Also see:
var examples = require("@arangodb/graph-examples/example-graph");
var g = examples.loadGraph("connectedComponentsGraph");
db.components.toArray();
db.connections.toArray();
examples.dropGraph("connectedComponentsGraph");
[
{
"_key" : "A1",
"_id" : "components/A1",
"_rev" : "_ibtxuHm---"
},
{
"_key" : "A2",
"_id" : "components/A2",
"_rev" : "_ibtxuHm--_"
},
{
"_key" : "A3",
"_id" : "components/A3",
"_rev" : "_ibtxuHm--A"
},
{
"_key" : "A4",
"_id" : "components/A4",
"_rev" : "_ibtxuHm--B"
},
{
"_key" : "B1",
"_id" : "components/B1",
"_rev" : "_ibtxuHm--C"
},
{
"_key" : "B3",
"_id" : "components/B3",
"_rev" : "_ibtxuHm--D"
},
{
"_key" : "B2",
"_id" : "components/B2",
"_rev" : "_ibtxuHq---"
},
{
"_key" : "B4",
"_id" : "components/B4",
"_rev" : "_ibtxuHq--_"
},
{
"_key" : "B6",
"_id" : "components/B6",
"_rev" : "_ibtxuHq--A"
},
{
"_key" : "B5",
"_id" : "components/B5",
"_rev" : "_ibtxuHq--B"
},
{
"_key" : "B7",
"_id" : "components/B7",
"_rev" : "_ibtxuHq--C"
},
{
"_key" : "B8",
"_id" : "components/B8",
"_rev" : "_ibtxuHq--D"
},
{
"_key" : "B9",
"_id" : "components/B9",
"_rev" : "_ibtxuHu---"
},
{
"_key" : "B10",
"_id" : "components/B10",
"_rev" : "_ibtxuHu--_"
},
{
"_key" : "B19",
"_id" : "components/B19",
"_rev" : "_ibtxuHu--A"
},
{
"_key" : "B11",
"_id" : "components/B11",
"_rev" : "_ibtxuHu--B"
},
{
"_key" : "B12",
"_id" : "components/B12",
"_rev" : "_ibtxuHu--C"
},
{
"_key" : "B13",
"_id" : "components/B13",
"_rev" : "_ibtxuHu--D"
},
{
"_key" : "B20",
"_id" : "components/B20",
"_rev" : "_ibtxuHy---"
},
{
"_key" : "B14",
"_id" : "components/B14",
"_rev" : "_ibtxuHy--_"
},
{
"_key" : "B15",
"_id" : "components/B15",
"_rev" : "_ibtxuHy--A"
},
{
"_key" : "B16",
"_id" : "components/B16",
"_rev" : "_ibtxuHy--B"
},
{
"_key" : "B17",
"_id" : "components/B17",
"_rev" : "_ibtxuHy--C"
},
{
"_key" : "B18",
"_id" : "components/B18",
"_rev" : "_ibtxuHy--D"
},
{
"_key" : "B21",
"_id" : "components/B21",
"_rev" : "_ibtxuH2---"
},
{
"_key" : "B22",
"_id" : "components/B22",
"_rev" : "_ibtxuH2--_"
},
{
"_key" : "C1",
"_id" : "components/C1",
"_rev" : "_ibtxuH2--A"
},
{
"_key" : "C2",
"_id" : "components/C2",
"_rev" : "_ibtxuH2--B"
},
{
"_key" : "C3",
"_id" : "components/C3",
"_rev" : "_ibtxuH2--C"
},
{
"_key" : "C4",
"_id" : "components/C4",
"_rev" : "_ibtxuH2--D"
},
{
"_key" : "C5",
"_id" : "components/C5",
"_rev" : "_ibtxuH2--E"
},
{
"_key" : "C7",
"_id" : "components/C7",
"_rev" : "_ibtxuH6---"
},
{
"_key" : "C6",
"_id" : "components/C6",
"_rev" : "_ibtxuH6--_"
},
{
"_key" : "C8",
"_id" : "components/C8",
"_rev" : "_ibtxuH6--A"
},
{
"_key" : "C9",
"_id" : "components/C9",
"_rev" : "_ibtxuH6--B"
},
{
"_key" : "C10",
"_id" : "components/C10",
"_rev" : "_ibtxuH6--C"
}
]
[
{
"_key" : "74165",
"_id" : "connections/74165",
"_from" : "components/A1",
"_to" : "components/A2",
"_rev" : "_ibtxuH6--D"
},
{
"_key" : "74167",
"_id" : "connections/74167",
"_from" : "components/A2",
"_to" : "components/A3",
"_rev" : "_ibtxuI----"
},
{
"_key" : "74169",
"_id" : "connections/74169",
"_from" : "components/A3",
"_to" : "components/A4",
"_rev" : "_ibtxuI---_"
},
{
"_key" : "74171",
"_id" : "connections/74171",
"_from" : "components/A4",
"_to" : "components/A1",
"_rev" : "_ibtxuI---A"
},
{
"_key" : "74173",
"_id" : "connections/74173",
"_from" : "components/B1",
"_to" : "components/B3",
"_rev" : "_ibtxuI---B"
},
{
"_key" : "74175",
"_id" : "connections/74175",
"_from" : "components/B2",
"_to" : "components/B4",
"_rev" : "_ibtxuI---C"
},
{
"_key" : "74177",
"_id" : "connections/74177",
"_from" : "components/B3",
"_to" : "components/B6",
"_rev" : "_ibtxuIC---"
},
{
"_key" : "74179",
"_id" : "connections/74179",
"_from" : "components/B4",
"_to" : "components/B3",
"_rev" : "_ibtxuIC--_"
},
{
"_key" : "74181",
"_id" : "connections/74181",
"_from" : "components/B4",
"_to" : "components/B5",
"_rev" : "_ibtxuIC--A"
},
{
"_key" : "74183",
"_id" : "connections/74183",
"_from" : "components/B6",
"_to" : "components/B7",
"_rev" : "_ibtxuIC--B"
},
{
"_key" : "74185",
"_id" : "connections/74185",
"_from" : "components/B7",
"_to" : "components/B8",
"_rev" : "_ibtxuIC--C"
},
{
"_key" : "74187",
"_id" : "connections/74187",
"_from" : "components/B7",
"_to" : "components/B9",
"_rev" : "_ibtxuIG---"
},
{
"_key" : "74189",
"_id" : "connections/74189",
"_from" : "components/B7",
"_to" : "components/B10",
"_rev" : "_ibtxuIG--_"
},
{
"_key" : "74191",
"_id" : "connections/74191",
"_from" : "components/B7",
"_to" : "components/B19",
"_rev" : "_ibtxuIG--A"
},
{
"_key" : "74193",
"_id" : "connections/74193",
"_from" : "components/B11",
"_to" : "components/B10",
"_rev" : "_ibtxuIG--B"
},
{
"_key" : "74195",
"_id" : "connections/74195",
"_from" : "components/B12",
"_to" : "components/B11",
"_rev" : "_ibtxuIG--C"
},
{
"_key" : "74197",
"_id" : "connections/74197",
"_from" : "components/B13",
"_to" : "components/B12",
"_rev" : "_ibtxuIG--D"
},
{
"_key" : "74199",
"_id" : "connections/74199",
"_from" : "components/B13",
"_to" : "components/B20",
"_rev" : "_ibtxuIK---"
},
{
"_key" : "74201",
"_id" : "connections/74201",
"_from" : "components/B14",
"_to" : "components/B13",
"_rev" : "_ibtxuIK--_"
},
{
"_key" : "74203",
"_id" : "connections/74203",
"_from" : "components/B15",
"_to" : "components/B14",
"_rev" : "_ibtxuIK--A"
},
{
"_key" : "74205",
"_id" : "connections/74205",
"_from" : "components/B15",
"_to" : "components/B16",
"_rev" : "_ibtxuIK--B"
},
{
"_key" : "74207",
"_id" : "connections/74207",
"_from" : "components/B17",
"_to" : "components/B15",
"_rev" : "_ibtxuIK--C"
},
{
"_key" : "74209",
"_id" : "connections/74209",
"_from" : "components/B17",
"_to" : "components/B18",
"_rev" : "_ibtxuIK--D"
},
{
"_key" : "74211",
"_id" : "connections/74211",
"_from" : "components/B19",
"_to" : "components/B17",
"_rev" : "_ibtxuIO---"
},
{
"_key" : "74213",
"_id" : "connections/74213",
"_from" : "components/B20",
"_to" : "components/B21",
"_rev" : "_ibtxuIO--_"
},
{
"_key" : "74215",
"_id" : "connections/74215",
"_from" : "components/B20",
"_to" : "components/B22",
"_rev" : "_ibtxuIO--A"
},
{
"_key" : "74217",
"_id" : "connections/74217",
"_from" : "components/C1",
"_to" : "components/C2",
"_rev" : "_ibtxuIO--B"
},
{
"_key" : "74219",
"_id" : "connections/74219",
"_from" : "components/C2",
"_to" : "components/C3",
"_rev" : "_ibtxuIS---"
},
{
"_key" : "74221",
"_id" : "connections/74221",
"_from" : "components/C3",
"_to" : "components/C4",
"_rev" : "_ibtxuIS--_"
},
{
"_key" : "74223",
"_id" : "connections/74223",
"_from" : "components/C4",
"_to" : "components/C5",
"_rev" : "_ibtxuIS--A"
},
{
"_key" : "74225",
"_id" : "connections/74225",
"_from" : "components/C4",
"_to" : "components/C7",
"_rev" : "_ibtxuIS--B"
},
{
"_key" : "74227",
"_id" : "connections/74227",
"_from" : "components/C5",
"_to" : "components/C6",
"_rev" : "_ibtxuIS--C"
},
{
"_key" : "74229",
"_id" : "connections/74229",
"_from" : "components/C5",
"_to" : "components/C7",
"_rev" : "_ibtxuIS--D"
},
{
"_key" : "74231",
"_id" : "connections/74231",
"_from" : "components/C7",
"_to" : "components/C8",
"_rev" : "_ibtxuIW---"
},
{
"_key" : "74233",
"_id" : "connections/74233",
"_from" : "components/C8",
"_to" : "components/C9",
"_rev" : "_ibtxuIW--_"
},
{
"_key" : "74235",
"_id" : "connections/74235",
"_from" : "components/C8",
"_to" : "components/C10",
"_rev" : "_ibtxuIW--A"
}
]
Higher volume graph examples
All of the above examples are rather small to make them easy to comprehend and demonstrate how graphs work in ArangoDB. However, there are several, freely available datasets on the web that are a lot bigger.
You can find a collection of datasets with import scripts on GitHub .
Another huge graph is the Pokec social network from Slovakia. See this blogpost for details and an import script.