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 Add Graph, 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" : "_j4Jg_VO---",
"name" : "Alice"
},
{
"_key" : "bob",
"_id" : "persons/bob",
"_rev" : "_j4Jg_VO--_",
"name" : "Bob"
},
{
"_key" : "charlie",
"_id" : "persons/charlie",
"_rev" : "_j4Jg_VS---",
"name" : "Charlie"
},
{
"_key" : "dave",
"_id" : "persons/dave",
"_rev" : "_j4Jg_VS--_",
"name" : "Dave"
},
{
"_key" : "eve",
"_id" : "persons/eve",
"_rev" : "_j4Jg_VS--A",
"name" : "Eve"
}
]
[
{
"_key" : "73998",
"_id" : "knows/73998",
"_from" : "persons/alice",
"_to" : "persons/bob",
"_rev" : "_j4Jg_VS--B",
"vertex" : "alice"
},
{
"_key" : "74000",
"_id" : "knows/74000",
"_from" : "persons/bob",
"_to" : "persons/charlie",
"_rev" : "_j4Jg_VS--C",
"vertex" : "bob"
},
{
"_key" : "74002",
"_id" : "knows/74002",
"_from" : "persons/bob",
"_to" : "persons/dave",
"_rev" : "_j4Jg_VW---",
"vertex" : "bob"
},
{
"_key" : "74004",
"_id" : "knows/74004",
"_from" : "persons/eve",
"_to" : "persons/alice",
"_rev" : "_j4Jg_VW--_",
"vertex" : "eve"
},
{
"_key" : "74006",
"_id" : "knows/74006",
"_from" : "persons/eve",
"_to" : "persons/bob",
"_rev" : "_j4Jg_VW--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" : "_j4Jg_W----",
"label" : "1"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_j4Jg_W---_",
"label" : "2"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_j4Jg_W---A",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_j4Jg_WC---",
"label" : "4"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_j4Jg_WC--_",
"label" : "5"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_j4Jg_WC--A",
"label" : "6"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_j4Jg_WC--B",
"label" : "7"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_j4Jg_WC--C",
"label" : "8"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "_j4Jg_WG---",
"label" : "9"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_j4Jg_WG--_",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_j4Jg_WG--A",
"label" : "11"
}
]
[
{
"_key" : "74065",
"_id" : "edges/74065",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_j4Jg_WG--B",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "74067",
"_id" : "edges/74067",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_j4Jg_WG--C",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "74069",
"_id" : "edges/74069",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_j4Jg_WK---",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "74071",
"_id" : "edges/74071",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_j4Jg_WK--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "74073",
"_id" : "edges/74073",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_j4Jg_WK--A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "74075",
"_id" : "edges/74075",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_j4Jg_WK--B",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "74077",
"_id" : "edges/74077",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_j4Jg_WO---",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "74079",
"_id" : "edges/74079",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_j4Jg_WO--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "74081",
"_id" : "edges/74081",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_j4Jg_WO--A",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "74083",
"_id" : "edges/74083",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_j4Jg_WO--B",
"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" : "_j4Jg_X2---",
"label" : "Inverness"
},
{
"_key" : "Aberdeen",
"_id" : "places/Aberdeen",
"_rev" : "_j4Jg_X2--_",
"label" : "Aberdeen"
},
{
"_key" : "Leuchars",
"_id" : "places/Leuchars",
"_rev" : "_j4Jg_X2--A",
"label" : "Leuchars"
},
{
"_key" : "StAndrews",
"_id" : "places/StAndrews",
"_rev" : "_j4Jg_X2--B",
"label" : "StAndrews"
},
{
"_key" : "Edinburgh",
"_id" : "places/Edinburgh",
"_rev" : "_j4Jg_X6---",
"label" : "Edinburgh"
},
{
"_key" : "Glasgow",
"_id" : "places/Glasgow",
"_rev" : "_j4Jg_YC---",
"label" : "Glasgow"
},
{
"_key" : "York",
"_id" : "places/York",
"_rev" : "_j4Jg_YC--_",
"label" : "York"
},
{
"_key" : "Carlisle",
"_id" : "places/Carlisle",
"_rev" : "_j4Jg_YC--A",
"label" : "Carlisle"
},
{
"_key" : "Birmingham",
"_id" : "places/Birmingham",
"_rev" : "_j4Jg_YC--B",
"label" : "Birmingham"
},
{
"_key" : "London",
"_id" : "places/London",
"_rev" : "_j4Jg_YG---",
"label" : "London"
},
{
"_key" : "Brussels",
"_id" : "places/Brussels",
"_rev" : "_j4Jg_YG--_",
"label" : "Brussels"
},
{
"_key" : "Cologne",
"_id" : "places/Cologne",
"_rev" : "_j4Jg_YG--A",
"label" : "Cologne"
},
{
"_key" : "Toronto",
"_id" : "places/Toronto",
"_rev" : "_j4Jg_YG--B",
"label" : "Toronto"
},
{
"_key" : "Winnipeg",
"_id" : "places/Winnipeg",
"_rev" : "_j4Jg_YK---",
"label" : "Winnipeg"
},
{
"_key" : "Saskatoon",
"_id" : "places/Saskatoon",
"_rev" : "_j4Jg_YK--_",
"label" : "Saskatoon"
},
{
"_key" : "Edmonton",
"_id" : "places/Edmonton",
"_rev" : "_j4Jg_YK--A",
"label" : "Edmonton"
},
{
"_key" : "Jasper",
"_id" : "places/Jasper",
"_rev" : "_j4Jg_YK--B",
"label" : "Jasper"
},
{
"_key" : "Vancouver",
"_id" : "places/Vancouver",
"_rev" : "_j4Jg_YO---",
"label" : "Vancouver"
}
]
[
{
"_key" : "74149",
"_id" : "connections/74149",
"_from" : "places/Inverness",
"_to" : "places/Aberdeen",
"_rev" : "_j4Jg_YO--_",
"travelTime" : 3
},
{
"_key" : "74151",
"_id" : "connections/74151",
"_from" : "places/Aberdeen",
"_to" : "places/Inverness",
"_rev" : "_j4Jg_YO--A",
"travelTime" : 2.5
},
{
"_key" : "74153",
"_id" : "connections/74153",
"_from" : "places/Aberdeen",
"_to" : "places/Leuchars",
"_rev" : "_j4Jg_YO--B",
"travelTime" : 1.5
},
{
"_key" : "74155",
"_id" : "connections/74155",
"_from" : "places/Leuchars",
"_to" : "places/Aberdeen",
"_rev" : "_j4Jg_YS---",
"travelTime" : 1
},
{
"_key" : "74157",
"_id" : "connections/74157",
"_from" : "places/Leuchars",
"_to" : "places/Edinburgh",
"_rev" : "_j4Jg_YS--_",
"travelTime" : 1.5
},
{
"_key" : "74159",
"_id" : "connections/74159",
"_from" : "places/Edinburgh",
"_to" : "places/Leuchars",
"_rev" : "_j4Jg_YS--A",
"travelTime" : 3
},
{
"_key" : "74161",
"_id" : "connections/74161",
"_from" : "places/Edinburgh",
"_to" : "places/Glasgow",
"_rev" : "_j4Jg_YS--B",
"travelTime" : 1
},
{
"_key" : "74163",
"_id" : "connections/74163",
"_from" : "places/Glasgow",
"_to" : "places/Edinburgh",
"_rev" : "_j4Jg_YW---",
"travelTime" : 1
},
{
"_key" : "74165",
"_id" : "connections/74165",
"_from" : "places/Edinburgh",
"_to" : "places/York",
"_rev" : "_j4Jg_YW--_",
"travelTime" : 3.5
},
{
"_key" : "74167",
"_id" : "connections/74167",
"_from" : "places/York",
"_to" : "places/Edinburgh",
"_rev" : "_j4Jg_YW--A",
"travelTime" : 4
},
{
"_key" : "74169",
"_id" : "connections/74169",
"_from" : "places/Glasgow",
"_to" : "places/Carlisle",
"_rev" : "_j4Jg_YW--B",
"travelTime" : 1
},
{
"_key" : "74171",
"_id" : "connections/74171",
"_from" : "places/Carlisle",
"_to" : "places/Glasgow",
"_rev" : "_j4Jg_Ya---",
"travelTime" : 1
},
{
"_key" : "74173",
"_id" : "connections/74173",
"_from" : "places/Carlisle",
"_to" : "places/York",
"_rev" : "_j4Jg_Ya--_",
"travelTime" : 2.5
},
{
"_key" : "74175",
"_id" : "connections/74175",
"_from" : "places/York",
"_to" : "places/Carlisle",
"_rev" : "_j4Jg_Ya--A",
"travelTime" : 3.5
},
{
"_key" : "74177",
"_id" : "connections/74177",
"_from" : "places/Carlisle",
"_to" : "places/Birmingham",
"_rev" : "_j4Jg_Ya--B",
"travelTime" : 2
},
{
"_key" : "74179",
"_id" : "connections/74179",
"_from" : "places/Birmingham",
"_to" : "places/Carlisle",
"_rev" : "_j4Jg_Ye---",
"travelTime" : 1
},
{
"_key" : "74181",
"_id" : "connections/74181",
"_from" : "places/Birmingham",
"_to" : "places/London",
"_rev" : "_j4Jg_Ye--_",
"travelTime" : 1.5
},
{
"_key" : "74183",
"_id" : "connections/74183",
"_from" : "places/London",
"_to" : "places/Birmingham",
"_rev" : "_j4Jg_Ye--A",
"travelTime" : 2.5
},
{
"_key" : "74185",
"_id" : "connections/74185",
"_from" : "places/Leuchars",
"_to" : "places/StAndrews",
"_rev" : "_j4Jg_Ye--B",
"travelTime" : 0.2
},
{
"_key" : "74187",
"_id" : "connections/74187",
"_from" : "places/StAndrews",
"_to" : "places/Leuchars",
"_rev" : "_j4Jg_Ye--C",
"travelTime" : 0.2
},
{
"_key" : "74189",
"_id" : "connections/74189",
"_from" : "places/York",
"_to" : "places/London",
"_rev" : "_j4Jg_Yi---",
"travelTime" : 1.8
},
{
"_key" : "74191",
"_id" : "connections/74191",
"_from" : "places/London",
"_to" : "places/York",
"_rev" : "_j4Jg_Yi--_",
"travelTime" : 2
},
{
"_key" : "74193",
"_id" : "connections/74193",
"_from" : "places/London",
"_to" : "places/Brussels",
"_rev" : "_j4Jg_Yi--A",
"travelTime" : 2.5
},
{
"_key" : "74195",
"_id" : "connections/74195",
"_from" : "places/Brussels",
"_to" : "places/London",
"_rev" : "_j4Jg_Yi--B",
"travelTime" : 3.5
},
{
"_key" : "74197",
"_id" : "connections/74197",
"_from" : "places/Brussels",
"_to" : "places/Cologne",
"_rev" : "_j4Jg_Yi--C",
"travelTime" : 2
},
{
"_key" : "74199",
"_id" : "connections/74199",
"_from" : "places/Cologne",
"_to" : "places/Brussels",
"_rev" : "_j4Jg_Ym---",
"travelTime" : 1.5
},
{
"_key" : "74201",
"_id" : "connections/74201",
"_from" : "places/Toronto",
"_to" : "places/Winnipeg",
"_rev" : "_j4Jg_Ym--_",
"travelTime" : 36
},
{
"_key" : "74203",
"_id" : "connections/74203",
"_from" : "places/Winnipeg",
"_to" : "places/Toronto",
"_rev" : "_j4Jg_Ym--A",
"travelTime" : 35
},
{
"_key" : "74205",
"_id" : "connections/74205",
"_from" : "places/Winnipeg",
"_to" : "places/Saskatoon",
"_rev" : "_j4Jg_Yq---",
"travelTime" : 12
},
{
"_key" : "74207",
"_id" : "connections/74207",
"_from" : "places/Saskatoon",
"_to" : "places/Winnipeg",
"_rev" : "_j4Jg_Yq--_",
"travelTime" : 5
},
{
"_key" : "74209",
"_id" : "connections/74209",
"_from" : "places/Saskatoon",
"_to" : "places/Edmonton",
"_rev" : "_j4Jg_Yq--A",
"travelTime" : 12
},
{
"_key" : "74211",
"_id" : "connections/74211",
"_from" : "places/Edmonton",
"_to" : "places/Saskatoon",
"_rev" : "_j4Jg_Yq--B",
"travelTime" : 17
},
{
"_key" : "74213",
"_id" : "connections/74213",
"_from" : "places/Edmonton",
"_to" : "places/Jasper",
"_rev" : "_j4Jg_Yq--C",
"travelTime" : 6
},
{
"_key" : "74215",
"_id" : "connections/74215",
"_from" : "places/Jasper",
"_to" : "places/Edmonton",
"_rev" : "_j4Jg_Yq--D",
"travelTime" : 5
},
{
"_key" : "74217",
"_id" : "connections/74217",
"_from" : "places/Jasper",
"_to" : "places/Vancouver",
"_rev" : "_j4Jg_Yu---",
"travelTime" : 12
},
{
"_key" : "74219",
"_id" : "connections/74219",
"_from" : "places/Vancouver",
"_to" : "places/Jasper",
"_rev" : "_j4Jg_Yu--_",
"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" : "_j4Jg_Z2---"
},
{
"_key" : "B",
"_id" : "mps_verts/B",
"_rev" : "_j4Jg_Z2--_"
},
{
"_key" : "C",
"_id" : "mps_verts/C",
"_rev" : "_j4Jg_Z6---"
},
{
"_key" : "D",
"_id" : "mps_verts/D",
"_rev" : "_j4Jg_Z6--_"
},
{
"_key" : "E",
"_id" : "mps_verts/E",
"_rev" : "_j4Jg_Z6--A"
},
{
"_key" : "F",
"_id" : "mps_verts/F",
"_rev" : "_j4Jg_Z6--B"
}
]
[
{
"_key" : "74273",
"_id" : "mps_edges/74273",
"_from" : "mps_verts/A",
"_to" : "mps_verts/B",
"_rev" : "_j4Jg_Z6--C",
"vertex" : "A"
},
{
"_key" : "74275",
"_id" : "mps_edges/74275",
"_from" : "mps_verts/A",
"_to" : "mps_verts/E",
"_rev" : "_j4Jg_a----",
"vertex" : "A"
},
{
"_key" : "74277",
"_id" : "mps_edges/74277",
"_from" : "mps_verts/A",
"_to" : "mps_verts/D",
"_rev" : "_j4Jg_a---_",
"vertex" : "A"
},
{
"_key" : "74279",
"_id" : "mps_edges/74279",
"_from" : "mps_verts/B",
"_to" : "mps_verts/C",
"_rev" : "_j4Jg_a---A",
"vertex" : "B"
},
{
"_key" : "74281",
"_id" : "mps_edges/74281",
"_from" : "mps_verts/D",
"_to" : "mps_verts/C",
"_rev" : "_j4Jg_a---B",
"vertex" : "D"
},
{
"_key" : "74283",
"_id" : "mps_edges/74283",
"_from" : "mps_verts/E",
"_to" : "mps_verts/F",
"_rev" : "_j4Jg_aC---",
"vertex" : "E"
},
{
"_key" : "74285",
"_id" : "mps_edges/74285",
"_from" : "mps_verts/F",
"_to" : "mps_verts/C",
"_rev" : "_j4Jg_aC--_",
"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" : "_j4Jg_bm---",
"name" : "World",
"type" : "root"
},
{
"_key" : "continent-africa",
"_id" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_bq---",
"name" : "Africa",
"type" : "continent"
},
{
"_key" : "continent-asia",
"_id" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_bq--_",
"name" : "Asia",
"type" : "continent"
},
{
"_key" : "continent-australia",
"_id" : "worldVertices/continent-australia",
"_rev" : "_j4Jg_bq--A",
"name" : "Australia",
"type" : "continent"
},
{
"_key" : "continent-europe",
"_id" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_bq--B",
"name" : "Europe",
"type" : "continent"
},
{
"_key" : "continent-north-america",
"_id" : "worldVertices/continent-north-america",
"_rev" : "_j4Jg_bu---",
"name" : "North America",
"type" : "continent"
},
{
"_key" : "continent-south-america",
"_id" : "worldVertices/continent-south-america",
"_rev" : "_j4Jg_bu--_",
"name" : "South America",
"type" : "continent"
},
{
"_key" : "country-afghanistan",
"_id" : "worldVertices/country-afghanistan",
"_rev" : "_j4Jg_b2---",
"name" : "Afghanistan",
"type" : "country",
"code" : "AFG"
},
{
"_key" : "country-albania",
"_id" : "worldVertices/country-albania",
"_rev" : "_j4Jg_b6---",
"name" : "Albania",
"type" : "country",
"code" : "ALB"
},
{
"_key" : "country-algeria",
"_id" : "worldVertices/country-algeria",
"_rev" : "_j4Jg_b6--_",
"name" : "Algeria",
"type" : "country",
"code" : "DZA"
},
{
"_key" : "country-andorra",
"_id" : "worldVertices/country-andorra",
"_rev" : "_j4Jg_b6--A",
"name" : "Andorra",
"type" : "country",
"code" : "AND"
},
{
"_key" : "country-angola",
"_id" : "worldVertices/country-angola",
"_rev" : "_j4Jg_b6--B",
"name" : "Angola",
"type" : "country",
"code" : "AGO"
},
{
"_key" : "country-antigua-and-barbuda",
"_id" : "worldVertices/country-antigua-and-barbuda",
"_rev" : "_j4Jg_c----",
"name" : "Antigua and Barbuda",
"type" : "country",
"code" : "ATG"
},
{
"_key" : "country-argentina",
"_id" : "worldVertices/country-argentina",
"_rev" : "_j4Jg_c---_",
"name" : "Argentina",
"type" : "country",
"code" : "ARG"
},
{
"_key" : "country-australia",
"_id" : "worldVertices/country-australia",
"_rev" : "_j4Jg_c---A",
"name" : "Australia",
"type" : "country",
"code" : "AUS"
},
{
"_key" : "country-austria",
"_id" : "worldVertices/country-austria",
"_rev" : "_j4Jg_c---B",
"name" : "Austria",
"type" : "country",
"code" : "AUT"
},
{
"_key" : "country-bahamas",
"_id" : "worldVertices/country-bahamas",
"_rev" : "_j4Jg_c---C",
"name" : "Bahamas",
"type" : "country",
"code" : "BHS"
},
{
"_key" : "country-bahrain",
"_id" : "worldVertices/country-bahrain",
"_rev" : "_j4Jg_cC---",
"name" : "Bahrain",
"type" : "country",
"code" : "BHR"
},
{
"_key" : "country-bangladesh",
"_id" : "worldVertices/country-bangladesh",
"_rev" : "_j4Jg_cC--_",
"name" : "Bangladesh",
"type" : "country",
"code" : "BGD"
},
{
"_key" : "country-barbados",
"_id" : "worldVertices/country-barbados",
"_rev" : "_j4Jg_cC--A",
"name" : "Barbados",
"type" : "country",
"code" : "BRB"
},
{
"_key" : "country-belgium",
"_id" : "worldVertices/country-belgium",
"_rev" : "_j4Jg_cG---",
"name" : "Belgium",
"type" : "country",
"code" : "BEL"
},
{
"_key" : "country-bhutan",
"_id" : "worldVertices/country-bhutan",
"_rev" : "_j4Jg_cG--_",
"name" : "Bhutan",
"type" : "country",
"code" : "BTN"
},
{
"_key" : "country-bolivia",
"_id" : "worldVertices/country-bolivia",
"_rev" : "_j4Jg_cG--A",
"name" : "Bolivia",
"type" : "country",
"code" : "BOL"
},
{
"_key" : "country-bosnia-and-herzegovina",
"_id" : "worldVertices/country-bosnia-and-herzegovina",
"_rev" : "_j4Jg_cG--B",
"name" : "Bosnia and Herzegovina",
"type" : "country",
"code" : "BIH"
},
{
"_key" : "country-botswana",
"_id" : "worldVertices/country-botswana",
"_rev" : "_j4Jg_cG--C",
"name" : "Botswana",
"type" : "country",
"code" : "BWA"
},
{
"_key" : "country-brazil",
"_id" : "worldVertices/country-brazil",
"_rev" : "_j4Jg_cK---",
"name" : "Brazil",
"type" : "country",
"code" : "BRA"
},
{
"_key" : "country-brunei",
"_id" : "worldVertices/country-brunei",
"_rev" : "_j4Jg_cK--_",
"name" : "Brunei",
"type" : "country",
"code" : "BRN"
},
{
"_key" : "country-bulgaria",
"_id" : "worldVertices/country-bulgaria",
"_rev" : "_j4Jg_cK--A",
"name" : "Bulgaria",
"type" : "country",
"code" : "BGR"
},
{
"_key" : "country-burkina-faso",
"_id" : "worldVertices/country-burkina-faso",
"_rev" : "_j4Jg_cK--B",
"name" : "Burkina Faso",
"type" : "country",
"code" : "BFA"
},
{
"_key" : "country-burundi",
"_id" : "worldVertices/country-burundi",
"_rev" : "_j4Jg_cK--C",
"name" : "Burundi",
"type" : "country",
"code" : "BDI"
},
{
"_key" : "country-cambodia",
"_id" : "worldVertices/country-cambodia",
"_rev" : "_j4Jg_cO---",
"name" : "Cambodia",
"type" : "country",
"code" : "KHM"
},
{
"_key" : "country-cameroon",
"_id" : "worldVertices/country-cameroon",
"_rev" : "_j4Jg_cO--_",
"name" : "Cameroon",
"type" : "country",
"code" : "CMR"
},
{
"_key" : "country-canada",
"_id" : "worldVertices/country-canada",
"_rev" : "_j4Jg_cO--A",
"name" : "Canada",
"type" : "country",
"code" : "CAN"
},
{
"_key" : "country-chad",
"_id" : "worldVertices/country-chad",
"_rev" : "_j4Jg_cO--B",
"name" : "Chad",
"type" : "country",
"code" : "TCD"
},
{
"_key" : "country-chile",
"_id" : "worldVertices/country-chile",
"_rev" : "_j4Jg_cS---",
"name" : "Chile",
"type" : "country",
"code" : "CHL"
},
{
"_key" : "country-colombia",
"_id" : "worldVertices/country-colombia",
"_rev" : "_j4Jg_cS--_",
"name" : "Colombia",
"type" : "country",
"code" : "COL"
},
{
"_key" : "country-cote-d-ivoire",
"_id" : "worldVertices/country-cote-d-ivoire",
"_rev" : "_j4Jg_cS--A",
"name" : "Cote d'Ivoire",
"type" : "country",
"code" : "CIV"
},
{
"_key" : "country-croatia",
"_id" : "worldVertices/country-croatia",
"_rev" : "_j4Jg_cS--B",
"name" : "Croatia",
"type" : "country",
"code" : "HRV"
},
{
"_key" : "country-czech-republic",
"_id" : "worldVertices/country-czech-republic",
"_rev" : "_j4Jg_cS--C",
"name" : "Czech Republic",
"type" : "country",
"code" : "CZE"
},
{
"_key" : "country-denmark",
"_id" : "worldVertices/country-denmark",
"_rev" : "_j4Jg_cS--D",
"name" : "Denmark",
"type" : "country",
"code" : "DNK"
},
{
"_key" : "country-ecuador",
"_id" : "worldVertices/country-ecuador",
"_rev" : "_j4Jg_cW---",
"name" : "Ecuador",
"type" : "country",
"code" : "ECU"
},
{
"_key" : "country-egypt",
"_id" : "worldVertices/country-egypt",
"_rev" : "_j4Jg_cW--_",
"name" : "Egypt",
"type" : "country",
"code" : "EGY"
},
{
"_key" : "country-eritrea",
"_id" : "worldVertices/country-eritrea",
"_rev" : "_j4Jg_cW--A",
"name" : "Eritrea",
"type" : "country",
"code" : "ERI"
},
{
"_key" : "country-finland",
"_id" : "worldVertices/country-finland",
"_rev" : "_j4Jg_cW--B",
"name" : "Finland",
"type" : "country",
"code" : "FIN"
},
{
"_key" : "country-france",
"_id" : "worldVertices/country-france",
"_rev" : "_j4Jg_cW--C",
"name" : "France",
"type" : "country",
"code" : "FRA"
},
{
"_key" : "country-germany",
"_id" : "worldVertices/country-germany",
"_rev" : "_j4Jg_cW--D",
"name" : "Germany",
"type" : "country",
"code" : "DEU"
},
{
"_key" : "country-people-s-republic-of-china",
"_id" : "worldVertices/country-people-s-republic-of-china",
"_rev" : "_j4Jg_ca---",
"name" : "People's Republic of China",
"type" : "country",
"code" : "CHN"
},
{
"_key" : "capital-algiers",
"_id" : "worldVertices/capital-algiers",
"_rev" : "_j4Jg_ca--_",
"name" : "Algiers",
"type" : "capital"
},
{
"_key" : "capital-andorra-la-vella",
"_id" : "worldVertices/capital-andorra-la-vella",
"_rev" : "_j4Jg_ca--A",
"name" : "Andorra la Vella",
"type" : "capital"
},
{
"_key" : "capital-asmara",
"_id" : "worldVertices/capital-asmara",
"_rev" : "_j4Jg_ca--B",
"name" : "Asmara",
"type" : "capital"
},
{
"_key" : "capital-bandar-seri-begawan",
"_id" : "worldVertices/capital-bandar-seri-begawan",
"_rev" : "_j4Jg_ca--C",
"name" : "Bandar Seri Begawan",
"type" : "capital"
},
{
"_key" : "capital-beijing",
"_id" : "worldVertices/capital-beijing",
"_rev" : "_j4Jg_ce---",
"name" : "Beijing",
"type" : "capital"
},
{
"_key" : "capital-berlin",
"_id" : "worldVertices/capital-berlin",
"_rev" : "_j4Jg_ce--_",
"name" : "Berlin",
"type" : "capital"
},
{
"_key" : "capital-bogota",
"_id" : "worldVertices/capital-bogota",
"_rev" : "_j4Jg_ce--A",
"name" : "Bogota",
"type" : "capital"
},
{
"_key" : "capital-brasilia",
"_id" : "worldVertices/capital-brasilia",
"_rev" : "_j4Jg_ce--B",
"name" : "Brasilia",
"type" : "capital"
},
{
"_key" : "capital-bridgetown",
"_id" : "worldVertices/capital-bridgetown",
"_rev" : "_j4Jg_ce--C",
"name" : "Bridgetown",
"type" : "capital"
},
{
"_key" : "capital-brussels",
"_id" : "worldVertices/capital-brussels",
"_rev" : "_j4Jg_ce--D",
"name" : "Brussels",
"type" : "capital"
},
{
"_key" : "capital-buenos-aires",
"_id" : "worldVertices/capital-buenos-aires",
"_rev" : "_j4Jg_ci---",
"name" : "Buenos Aires",
"type" : "capital"
},
{
"_key" : "capital-bujumbura",
"_id" : "worldVertices/capital-bujumbura",
"_rev" : "_j4Jg_ci--_",
"name" : "Bujumbura",
"type" : "capital"
},
{
"_key" : "capital-cairo",
"_id" : "worldVertices/capital-cairo",
"_rev" : "_j4Jg_cm---",
"name" : "Cairo",
"type" : "capital"
},
{
"_key" : "capital-canberra",
"_id" : "worldVertices/capital-canberra",
"_rev" : "_j4Jg_cq---",
"name" : "Canberra",
"type" : "capital"
},
{
"_key" : "capital-copenhagen",
"_id" : "worldVertices/capital-copenhagen",
"_rev" : "_j4Jg_cq--_",
"name" : "Copenhagen",
"type" : "capital"
},
{
"_key" : "capital-dhaka",
"_id" : "worldVertices/capital-dhaka",
"_rev" : "_j4Jg_cq--A",
"name" : "Dhaka",
"type" : "capital"
},
{
"_key" : "capital-gaborone",
"_id" : "worldVertices/capital-gaborone",
"_rev" : "_j4Jg_cq--B",
"name" : "Gaborone",
"type" : "capital"
},
{
"_key" : "capital-helsinki",
"_id" : "worldVertices/capital-helsinki",
"_rev" : "_j4Jg_cq--C",
"name" : "Helsinki",
"type" : "capital"
},
{
"_key" : "capital-kabul",
"_id" : "worldVertices/capital-kabul",
"_rev" : "_j4Jg_cu---",
"name" : "Kabul",
"type" : "capital"
},
{
"_key" : "capital-la-paz",
"_id" : "worldVertices/capital-la-paz",
"_rev" : "_j4Jg_cu--_",
"name" : "La Paz",
"type" : "capital"
},
{
"_key" : "capital-luanda",
"_id" : "worldVertices/capital-luanda",
"_rev" : "_j4Jg_cu--A",
"name" : "Luanda",
"type" : "capital"
},
{
"_key" : "capital-manama",
"_id" : "worldVertices/capital-manama",
"_rev" : "_j4Jg_cu--B",
"name" : "Manama",
"type" : "capital"
},
{
"_key" : "capital-nassau",
"_id" : "worldVertices/capital-nassau",
"_rev" : "_j4Jg_cu--C",
"name" : "Nassau",
"type" : "capital"
},
{
"_key" : "capital-n-djamena",
"_id" : "worldVertices/capital-n-djamena",
"_rev" : "_j4Jg_cu--D",
"name" : "N'Djamena",
"type" : "capital"
},
{
"_key" : "capital-ottawa",
"_id" : "worldVertices/capital-ottawa",
"_rev" : "_j4Jg_cy---",
"name" : "Ottawa",
"type" : "capital"
},
{
"_key" : "capital-ouagadougou",
"_id" : "worldVertices/capital-ouagadougou",
"_rev" : "_j4Jg_cy--_",
"name" : "Ouagadougou",
"type" : "capital"
},
{
"_key" : "capital-paris",
"_id" : "worldVertices/capital-paris",
"_rev" : "_j4Jg_cy--A",
"name" : "Paris",
"type" : "capital"
},
{
"_key" : "capital-phnom-penh",
"_id" : "worldVertices/capital-phnom-penh",
"_rev" : "_j4Jg_cy--B",
"name" : "Phnom Penh",
"type" : "capital"
},
{
"_key" : "capital-prague",
"_id" : "worldVertices/capital-prague",
"_rev" : "_j4Jg_cy--C",
"name" : "Prague",
"type" : "capital"
},
{
"_key" : "capital-quito",
"_id" : "worldVertices/capital-quito",
"_rev" : "_j4Jg_c2---",
"name" : "Quito",
"type" : "capital"
},
{
"_key" : "capital-saint-john-s",
"_id" : "worldVertices/capital-saint-john-s",
"_rev" : "_j4Jg_c2--_",
"name" : "Saint John's",
"type" : "capital"
},
{
"_key" : "capital-santiago",
"_id" : "worldVertices/capital-santiago",
"_rev" : "_j4Jg_c2--A",
"name" : "Santiago",
"type" : "capital"
},
{
"_key" : "capital-sarajevo",
"_id" : "worldVertices/capital-sarajevo",
"_rev" : "_j4Jg_c2--B",
"name" : "Sarajevo",
"type" : "capital"
},
{
"_key" : "capital-sofia",
"_id" : "worldVertices/capital-sofia",
"_rev" : "_j4Jg_c2--C",
"name" : "Sofia",
"type" : "capital"
},
{
"_key" : "capital-thimphu",
"_id" : "worldVertices/capital-thimphu",
"_rev" : "_j4Jg_c6---",
"name" : "Thimphu",
"type" : "capital"
},
{
"_key" : "capital-tirana",
"_id" : "worldVertices/capital-tirana",
"_rev" : "_j4Jg_c6--_",
"name" : "Tirana",
"type" : "capital"
},
{
"_key" : "capital-vienna",
"_id" : "worldVertices/capital-vienna",
"_rev" : "_j4Jg_c6--A",
"name" : "Vienna",
"type" : "capital"
},
{
"_key" : "capital-yamoussoukro",
"_id" : "worldVertices/capital-yamoussoukro",
"_rev" : "_j4Jg_c6--B",
"name" : "Yamoussoukro",
"type" : "capital"
},
{
"_key" : "capital-yaounde",
"_id" : "worldVertices/capital-yaounde",
"_rev" : "_j4Jg_c6--C",
"name" : "Yaounde",
"type" : "capital"
},
{
"_key" : "capital-zagreb",
"_id" : "worldVertices/capital-zagreb",
"_rev" : "_j4Jg_d----",
"name" : "Zagreb",
"type" : "capital"
}
]
[
{
"_key" : "74420",
"_id" : "worldEdges/74420",
"_from" : "worldVertices/continent-africa",
"_to" : "worldVertices/world",
"_rev" : "_j4Jg_d---_",
"type" : "is-in"
},
{
"_key" : "74422",
"_id" : "worldEdges/74422",
"_from" : "worldVertices/continent-asia",
"_to" : "worldVertices/world",
"_rev" : "_j4Jg_d---A",
"type" : "is-in"
},
{
"_key" : "74424",
"_id" : "worldEdges/74424",
"_from" : "worldVertices/continent-australia",
"_to" : "worldVertices/world",
"_rev" : "_j4Jg_d---B",
"type" : "is-in"
},
{
"_key" : "74426",
"_id" : "worldEdges/74426",
"_from" : "worldVertices/continent-europe",
"_to" : "worldVertices/world",
"_rev" : "_j4Jg_d---C",
"type" : "is-in"
},
{
"_key" : "74428",
"_id" : "worldEdges/74428",
"_from" : "worldVertices/continent-north-america",
"_to" : "worldVertices/world",
"_rev" : "_j4Jg_dC---",
"type" : "is-in"
},
{
"_key" : "74430",
"_id" : "worldEdges/74430",
"_from" : "worldVertices/continent-south-america",
"_to" : "worldVertices/world",
"_rev" : "_j4Jg_dC--_",
"type" : "is-in"
},
{
"_key" : "74432",
"_id" : "worldEdges/74432",
"_from" : "worldVertices/country-afghanistan",
"_to" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_dC--A",
"type" : "is-in"
},
{
"_key" : "74434",
"_id" : "worldEdges/74434",
"_from" : "worldVertices/country-albania",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dC--B",
"type" : "is-in"
},
{
"_key" : "74436",
"_id" : "worldEdges/74436",
"_from" : "worldVertices/country-algeria",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_dC--C",
"type" : "is-in"
},
{
"_key" : "74438",
"_id" : "worldEdges/74438",
"_from" : "worldVertices/country-andorra",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dG---",
"type" : "is-in"
},
{
"_key" : "74440",
"_id" : "worldEdges/74440",
"_from" : "worldVertices/country-angola",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_dG--_",
"type" : "is-in"
},
{
"_key" : "74442",
"_id" : "worldEdges/74442",
"_from" : "worldVertices/country-antigua-and-barbuda",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_j4Jg_dG--A",
"type" : "is-in"
},
{
"_key" : "74444",
"_id" : "worldEdges/74444",
"_from" : "worldVertices/country-argentina",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_j4Jg_dG--B",
"type" : "is-in"
},
{
"_key" : "74446",
"_id" : "worldEdges/74446",
"_from" : "worldVertices/country-australia",
"_to" : "worldVertices/continent-australia",
"_rev" : "_j4Jg_dG--C",
"type" : "is-in"
},
{
"_key" : "74448",
"_id" : "worldEdges/74448",
"_from" : "worldVertices/country-austria",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dK---",
"type" : "is-in"
},
{
"_key" : "74450",
"_id" : "worldEdges/74450",
"_from" : "worldVertices/country-bahamas",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_j4Jg_dK--_",
"type" : "is-in"
},
{
"_key" : "74452",
"_id" : "worldEdges/74452",
"_from" : "worldVertices/country-bahrain",
"_to" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_dK--A",
"type" : "is-in"
},
{
"_key" : "74454",
"_id" : "worldEdges/74454",
"_from" : "worldVertices/country-bangladesh",
"_to" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_dK--B",
"type" : "is-in"
},
{
"_key" : "74456",
"_id" : "worldEdges/74456",
"_from" : "worldVertices/country-barbados",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_j4Jg_dK--C",
"type" : "is-in"
},
{
"_key" : "74458",
"_id" : "worldEdges/74458",
"_from" : "worldVertices/country-belgium",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dK--D",
"type" : "is-in"
},
{
"_key" : "74460",
"_id" : "worldEdges/74460",
"_from" : "worldVertices/country-bhutan",
"_to" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_dO---",
"type" : "is-in"
},
{
"_key" : "74462",
"_id" : "worldEdges/74462",
"_from" : "worldVertices/country-bolivia",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_j4Jg_dO--_",
"type" : "is-in"
},
{
"_key" : "74464",
"_id" : "worldEdges/74464",
"_from" : "worldVertices/country-bosnia-and-herzegovina",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dO--A",
"type" : "is-in"
},
{
"_key" : "74466",
"_id" : "worldEdges/74466",
"_from" : "worldVertices/country-botswana",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_dO--B",
"type" : "is-in"
},
{
"_key" : "74468",
"_id" : "worldEdges/74468",
"_from" : "worldVertices/country-brazil",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_j4Jg_dO--C",
"type" : "is-in"
},
{
"_key" : "74470",
"_id" : "worldEdges/74470",
"_from" : "worldVertices/country-brunei",
"_to" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_dS---",
"type" : "is-in"
},
{
"_key" : "74472",
"_id" : "worldEdges/74472",
"_from" : "worldVertices/country-bulgaria",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dS--_",
"type" : "is-in"
},
{
"_key" : "74474",
"_id" : "worldEdges/74474",
"_from" : "worldVertices/country-burkina-faso",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_dS--A",
"type" : "is-in"
},
{
"_key" : "74476",
"_id" : "worldEdges/74476",
"_from" : "worldVertices/country-burundi",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_dS--B",
"type" : "is-in"
},
{
"_key" : "74478",
"_id" : "worldEdges/74478",
"_from" : "worldVertices/country-cambodia",
"_to" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_dS--C",
"type" : "is-in"
},
{
"_key" : "74480",
"_id" : "worldEdges/74480",
"_from" : "worldVertices/country-cameroon",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_dS--D",
"type" : "is-in"
},
{
"_key" : "74482",
"_id" : "worldEdges/74482",
"_from" : "worldVertices/country-canada",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_j4Jg_dW---",
"type" : "is-in"
},
{
"_key" : "74484",
"_id" : "worldEdges/74484",
"_from" : "worldVertices/country-chad",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_dW--_",
"type" : "is-in"
},
{
"_key" : "74486",
"_id" : "worldEdges/74486",
"_from" : "worldVertices/country-chile",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_j4Jg_dW--A",
"type" : "is-in"
},
{
"_key" : "74488",
"_id" : "worldEdges/74488",
"_from" : "worldVertices/country-colombia",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_j4Jg_dW--B",
"type" : "is-in"
},
{
"_key" : "74490",
"_id" : "worldEdges/74490",
"_from" : "worldVertices/country-cote-d-ivoire",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_da---",
"type" : "is-in"
},
{
"_key" : "74492",
"_id" : "worldEdges/74492",
"_from" : "worldVertices/country-croatia",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_da--_",
"type" : "is-in"
},
{
"_key" : "74494",
"_id" : "worldEdges/74494",
"_from" : "worldVertices/country-czech-republic",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_da--A",
"type" : "is-in"
},
{
"_key" : "74496",
"_id" : "worldEdges/74496",
"_from" : "worldVertices/country-denmark",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_di---",
"type" : "is-in"
},
{
"_key" : "74498",
"_id" : "worldEdges/74498",
"_from" : "worldVertices/country-ecuador",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_j4Jg_di--_",
"type" : "is-in"
},
{
"_key" : "74500",
"_id" : "worldEdges/74500",
"_from" : "worldVertices/country-egypt",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_di--A",
"type" : "is-in"
},
{
"_key" : "74502",
"_id" : "worldEdges/74502",
"_from" : "worldVertices/country-eritrea",
"_to" : "worldVertices/continent-africa",
"_rev" : "_j4Jg_di--B",
"type" : "is-in"
},
{
"_key" : "74504",
"_id" : "worldEdges/74504",
"_from" : "worldVertices/country-finland",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dm---",
"type" : "is-in"
},
{
"_key" : "74506",
"_id" : "worldEdges/74506",
"_from" : "worldVertices/country-france",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dm--_",
"type" : "is-in"
},
{
"_key" : "74508",
"_id" : "worldEdges/74508",
"_from" : "worldVertices/country-germany",
"_to" : "worldVertices/continent-europe",
"_rev" : "_j4Jg_dm--A",
"type" : "is-in"
},
{
"_key" : "74510",
"_id" : "worldEdges/74510",
"_from" : "worldVertices/country-people-s-republic-of-china",
"_to" : "worldVertices/continent-asia",
"_rev" : "_j4Jg_dm--B",
"type" : "is-in"
},
{
"_key" : "74512",
"_id" : "worldEdges/74512",
"_from" : "worldVertices/capital-algiers",
"_to" : "worldVertices/country-algeria",
"_rev" : "_j4Jg_dq---",
"type" : "is-in"
},
{
"_key" : "74514",
"_id" : "worldEdges/74514",
"_from" : "worldVertices/capital-andorra-la-vella",
"_to" : "worldVertices/country-andorra",
"_rev" : "_j4Jg_dq--_",
"type" : "is-in"
},
{
"_key" : "74516",
"_id" : "worldEdges/74516",
"_from" : "worldVertices/capital-asmara",
"_to" : "worldVertices/country-eritrea",
"_rev" : "_j4Jg_dq--A",
"type" : "is-in"
},
{
"_key" : "74518",
"_id" : "worldEdges/74518",
"_from" : "worldVertices/capital-bandar-seri-begawan",
"_to" : "worldVertices/country-brunei",
"_rev" : "_j4Jg_dq--B",
"type" : "is-in"
},
{
"_key" : "74520",
"_id" : "worldEdges/74520",
"_from" : "worldVertices/capital-beijing",
"_to" : "worldVertices/country-people-s-republic-of-china",
"_rev" : "_j4Jg_dq--C",
"type" : "is-in"
},
{
"_key" : "74522",
"_id" : "worldEdges/74522",
"_from" : "worldVertices/capital-berlin",
"_to" : "worldVertices/country-germany",
"_rev" : "_j4Jg_du---",
"type" : "is-in"
},
{
"_key" : "74524",
"_id" : "worldEdges/74524",
"_from" : "worldVertices/capital-bogota",
"_to" : "worldVertices/country-colombia",
"_rev" : "_j4Jg_du--_",
"type" : "is-in"
},
{
"_key" : "74526",
"_id" : "worldEdges/74526",
"_from" : "worldVertices/capital-brasilia",
"_to" : "worldVertices/country-brazil",
"_rev" : "_j4Jg_du--A",
"type" : "is-in"
},
{
"_key" : "74528",
"_id" : "worldEdges/74528",
"_from" : "worldVertices/capital-bridgetown",
"_to" : "worldVertices/country-barbados",
"_rev" : "_j4Jg_du--B",
"type" : "is-in"
},
{
"_key" : "74530",
"_id" : "worldEdges/74530",
"_from" : "worldVertices/capital-brussels",
"_to" : "worldVertices/country-belgium",
"_rev" : "_j4Jg_dy---",
"type" : "is-in"
},
{
"_key" : "74532",
"_id" : "worldEdges/74532",
"_from" : "worldVertices/capital-buenos-aires",
"_to" : "worldVertices/country-argentina",
"_rev" : "_j4Jg_dy--_",
"type" : "is-in"
},
{
"_key" : "74534",
"_id" : "worldEdges/74534",
"_from" : "worldVertices/capital-bujumbura",
"_to" : "worldVertices/country-burundi",
"_rev" : "_j4Jg_dy--A",
"type" : "is-in"
},
{
"_key" : "74536",
"_id" : "worldEdges/74536",
"_from" : "worldVertices/capital-cairo",
"_to" : "worldVertices/country-egypt",
"_rev" : "_j4Jg_dy--B",
"type" : "is-in"
},
{
"_key" : "74538",
"_id" : "worldEdges/74538",
"_from" : "worldVertices/capital-canberra",
"_to" : "worldVertices/country-australia",
"_rev" : "_j4Jg_dy--C",
"type" : "is-in"
},
{
"_key" : "74540",
"_id" : "worldEdges/74540",
"_from" : "worldVertices/capital-copenhagen",
"_to" : "worldVertices/country-denmark",
"_rev" : "_j4Jg_d2---",
"type" : "is-in"
},
{
"_key" : "74542",
"_id" : "worldEdges/74542",
"_from" : "worldVertices/capital-dhaka",
"_to" : "worldVertices/country-bangladesh",
"_rev" : "_j4Jg_d2--_",
"type" : "is-in"
},
{
"_key" : "74544",
"_id" : "worldEdges/74544",
"_from" : "worldVertices/capital-gaborone",
"_to" : "worldVertices/country-botswana",
"_rev" : "_j4Jg_d2--A",
"type" : "is-in"
},
{
"_key" : "74546",
"_id" : "worldEdges/74546",
"_from" : "worldVertices/capital-helsinki",
"_to" : "worldVertices/country-finland",
"_rev" : "_j4Jg_d2--B",
"type" : "is-in"
},
{
"_key" : "74548",
"_id" : "worldEdges/74548",
"_from" : "worldVertices/capital-kabul",
"_to" : "worldVertices/country-afghanistan",
"_rev" : "_j4Jg_d2--C",
"type" : "is-in"
},
{
"_key" : "74550",
"_id" : "worldEdges/74550",
"_from" : "worldVertices/capital-la-paz",
"_to" : "worldVertices/country-bolivia",
"_rev" : "_j4Jg_d6---",
"type" : "is-in"
},
{
"_key" : "74552",
"_id" : "worldEdges/74552",
"_from" : "worldVertices/capital-luanda",
"_to" : "worldVertices/country-angola",
"_rev" : "_j4Jg_d6--_",
"type" : "is-in"
},
{
"_key" : "74554",
"_id" : "worldEdges/74554",
"_from" : "worldVertices/capital-manama",
"_to" : "worldVertices/country-bahrain",
"_rev" : "_j4Jg_d6--A",
"type" : "is-in"
},
{
"_key" : "74556",
"_id" : "worldEdges/74556",
"_from" : "worldVertices/capital-nassau",
"_to" : "worldVertices/country-bahamas",
"_rev" : "_j4Jg_d6--B",
"type" : "is-in"
},
{
"_key" : "74558",
"_id" : "worldEdges/74558",
"_from" : "worldVertices/capital-n-djamena",
"_to" : "worldVertices/country-chad",
"_rev" : "_j4Jg_d6--C",
"type" : "is-in"
},
{
"_key" : "74560",
"_id" : "worldEdges/74560",
"_from" : "worldVertices/capital-ottawa",
"_to" : "worldVertices/country-canada",
"_rev" : "_j4Jg_e----",
"type" : "is-in"
},
{
"_key" : "74562",
"_id" : "worldEdges/74562",
"_from" : "worldVertices/capital-ouagadougou",
"_to" : "worldVertices/country-burkina-faso",
"_rev" : "_j4Jg_e---_",
"type" : "is-in"
},
{
"_key" : "74564",
"_id" : "worldEdges/74564",
"_from" : "worldVertices/capital-paris",
"_to" : "worldVertices/country-france",
"_rev" : "_j4Jg_e---A",
"type" : "is-in"
},
{
"_key" : "74566",
"_id" : "worldEdges/74566",
"_from" : "worldVertices/capital-phnom-penh",
"_to" : "worldVertices/country-cambodia",
"_rev" : "_j4Jg_e---B",
"type" : "is-in"
},
{
"_key" : "74568",
"_id" : "worldEdges/74568",
"_from" : "worldVertices/capital-prague",
"_to" : "worldVertices/country-czech-republic",
"_rev" : "_j4Jg_e---C",
"type" : "is-in"
},
{
"_key" : "74570",
"_id" : "worldEdges/74570",
"_from" : "worldVertices/capital-quito",
"_to" : "worldVertices/country-ecuador",
"_rev" : "_j4Jg_eC---",
"type" : "is-in"
},
{
"_key" : "74572",
"_id" : "worldEdges/74572",
"_from" : "worldVertices/capital-saint-john-s",
"_to" : "worldVertices/country-antigua-and-barbuda",
"_rev" : "_j4Jg_eC--_",
"type" : "is-in"
},
{
"_key" : "74574",
"_id" : "worldEdges/74574",
"_from" : "worldVertices/capital-santiago",
"_to" : "worldVertices/country-chile",
"_rev" : "_j4Jg_eC--A",
"type" : "is-in"
},
{
"_key" : "74576",
"_id" : "worldEdges/74576",
"_from" : "worldVertices/capital-sarajevo",
"_to" : "worldVertices/country-bosnia-and-herzegovina",
"_rev" : "_j4Jg_eC--B",
"type" : "is-in"
},
{
"_key" : "74578",
"_id" : "worldEdges/74578",
"_from" : "worldVertices/capital-sofia",
"_to" : "worldVertices/country-bulgaria",
"_rev" : "_j4Jg_eC--C",
"type" : "is-in"
},
{
"_key" : "74580",
"_id" : "worldEdges/74580",
"_from" : "worldVertices/capital-thimphu",
"_to" : "worldVertices/country-bhutan",
"_rev" : "_j4Jg_eG---",
"type" : "is-in"
},
{
"_key" : "74582",
"_id" : "worldEdges/74582",
"_from" : "worldVertices/capital-tirana",
"_to" : "worldVertices/country-albania",
"_rev" : "_j4Jg_eG--_",
"type" : "is-in"
},
{
"_key" : "74584",
"_id" : "worldEdges/74584",
"_from" : "worldVertices/capital-vienna",
"_to" : "worldVertices/country-austria",
"_rev" : "_j4Jg_eG--A",
"type" : "is-in"
},
{
"_key" : "74586",
"_id" : "worldEdges/74586",
"_from" : "worldVertices/capital-yamoussoukro",
"_to" : "worldVertices/country-cote-d-ivoire",
"_rev" : "_j4Jg_eG--B",
"type" : "is-in"
},
{
"_key" : "74588",
"_id" : "worldEdges/74588",
"_from" : "worldVertices/capital-yaounde",
"_to" : "worldVertices/country-cameroon",
"_rev" : "_j4Jg_eG--C",
"type" : "is-in"
},
{
"_key" : "74590",
"_id" : "worldEdges/74590",
"_from" : "worldVertices/capital-zagreb",
"_to" : "worldVertices/country-croatia",
"_rev" : "_j4Jg_eK---",
"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" : "_j4Jg_kW---",
"name" : "Alice"
},
{
"_key" : "diana",
"_id" : "female/diana",
"_rev" : "_j4Jg_ka--A",
"name" : "Diana"
}
]
[
{
"_key" : "bob",
"_id" : "male/bob",
"_rev" : "_j4Jg_ka---",
"name" : "Bob"
},
{
"_key" : "charly",
"_id" : "male/charly",
"_rev" : "_j4Jg_ka--_",
"name" : "Charly"
}
]
[
{
"_key" : "74928",
"_id" : "relation/74928",
"_from" : "female/alice",
"_to" : "male/bob",
"_rev" : "_j4Jg_ka--B",
"type" : "married",
"vertex" : "alice"
},
{
"_key" : "74930",
"_id" : "relation/74930",
"_from" : "female/alice",
"_to" : "male/charly",
"_rev" : "_j4Jg_ka--C",
"type" : "friend",
"vertex" : "alice"
},
{
"_key" : "74932",
"_id" : "relation/74932",
"_from" : "male/charly",
"_to" : "female/diana",
"_rev" : "_j4Jg_ke---",
"type" : "married",
"vertex" : "charly"
},
{
"_key" : "74934",
"_id" : "relation/74934",
"_from" : "male/bob",
"_to" : "female/diana",
"_rev" : "_j4Jg_ke--_",
"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" : "_j4Jg_lu--_",
"population" : 80000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
4.84,
45.76
]
}
},
{
"_key" : "Paris",
"_id" : "frenchCity/Paris",
"_rev" : "_j4Jg_lu--A",
"population" : 4000000,
"isCapital" : true,
"geometry" : {
"type" : "Point",
"coordinates" : [
2.3508,
48.8567
]
}
}
]
[
{
"_key" : "Berlin",
"_id" : "germanCity/Berlin",
"_rev" : "_j4Jg_lq---",
"population" : 3000000,
"isCapital" : true,
"geometry" : {
"type" : "Point",
"coordinates" : [
13.3833,
52.5167
]
}
},
{
"_key" : "Cologne",
"_id" : "germanCity/Cologne",
"_rev" : "_j4Jg_lq--_",
"population" : 1000000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
6.9528,
50.9364
]
}
},
{
"_key" : "Hamburg",
"_id" : "germanCity/Hamburg",
"_rev" : "_j4Jg_lu---",
"population" : 1000000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
10.0014,
53.5653
]
}
}
]
[
{
"_key" : "75020",
"_id" : "germanHighway/75020",
"_from" : "germanCity/Berlin",
"_to" : "germanCity/Cologne",
"_rev" : "_j4Jg_l6--_",
"distance" : 850
},
{
"_key" : "75022",
"_id" : "germanHighway/75022",
"_from" : "germanCity/Berlin",
"_to" : "germanCity/Hamburg",
"_rev" : "_j4Jg_m----",
"distance" : 400
},
{
"_key" : "75024",
"_id" : "germanHighway/75024",
"_from" : "germanCity/Hamburg",
"_to" : "germanCity/Cologne",
"_rev" : "_j4Jg_m---_",
"distance" : 500
}
]
[
{
"_key" : "75026",
"_id" : "frenchHighway/75026",
"_from" : "frenchCity/Paris",
"_to" : "frenchCity/Lyon",
"_rev" : "_j4Jg_m---A",
"distance" : 550
}
]
[
{
"_key" : "75028",
"_id" : "internationalHighway/75028",
"_from" : "germanCity/Berlin",
"_to" : "frenchCity/Lyon",
"_rev" : "_j4Jg_mC---",
"distance" : 1100
},
{
"_key" : "75030",
"_id" : "internationalHighway/75030",
"_from" : "germanCity/Berlin",
"_to" : "frenchCity/Paris",
"_rev" : "_j4Jg_mC--_",
"distance" : 1200
},
{
"_key" : "75032",
"_id" : "internationalHighway/75032",
"_from" : "germanCity/Hamburg",
"_to" : "frenchCity/Paris",
"_rev" : "_j4Jg_mC--A",
"distance" : 900
},
{
"_key" : "75034",
"_id" : "internationalHighway/75034",
"_from" : "germanCity/Hamburg",
"_to" : "frenchCity/Lyon",
"_rev" : "_j4Jg_mC--B",
"distance" : 1300
},
{
"_key" : "75036",
"_id" : "internationalHighway/75036",
"_from" : "germanCity/Cologne",
"_to" : "frenchCity/Lyon",
"_rev" : "_j4Jg_mG---",
"distance" : 700
},
{
"_key" : "75038",
"_id" : "internationalHighway/75038",
"_from" : "germanCity/Cologne",
"_to" : "frenchCity/Paris",
"_rev" : "_j4Jg_mG--_",
"distance" : 550
}
]
Connected Components Graph
A small example graph comprised of components
(vertices) and connections
(edges). Good for trying out graph algorithms such as Weakly Connected
Components (WCC).
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" : "_j4Jg_ne---"
},
{
"_key" : "A2",
"_id" : "components/A2",
"_rev" : "_j4Jg_ne--_"
},
{
"_key" : "A3",
"_id" : "components/A3",
"_rev" : "_j4Jg_ne--A"
},
{
"_key" : "A4",
"_id" : "components/A4",
"_rev" : "_j4Jg_ni---"
},
{
"_key" : "B1",
"_id" : "components/B1",
"_rev" : "_j4Jg_ni--_"
},
{
"_key" : "B3",
"_id" : "components/B3",
"_rev" : "_j4Jg_ni--A"
},
{
"_key" : "B2",
"_id" : "components/B2",
"_rev" : "_j4Jg_ni--B"
},
{
"_key" : "B4",
"_id" : "components/B4",
"_rev" : "_j4Jg_ni--C"
},
{
"_key" : "B6",
"_id" : "components/B6",
"_rev" : "_j4Jg_ni--D"
},
{
"_key" : "B5",
"_id" : "components/B5",
"_rev" : "_j4Jg_nm---"
},
{
"_key" : "B7",
"_id" : "components/B7",
"_rev" : "_j4Jg_nm--_"
},
{
"_key" : "B8",
"_id" : "components/B8",
"_rev" : "_j4Jg_nm--A"
},
{
"_key" : "B9",
"_id" : "components/B9",
"_rev" : "_j4Jg_nm--B"
},
{
"_key" : "B10",
"_id" : "components/B10",
"_rev" : "_j4Jg_nm--C"
},
{
"_key" : "B19",
"_id" : "components/B19",
"_rev" : "_j4Jg_nq---"
},
{
"_key" : "B11",
"_id" : "components/B11",
"_rev" : "_j4Jg_nq--_"
},
{
"_key" : "B12",
"_id" : "components/B12",
"_rev" : "_j4Jg_nq--A"
},
{
"_key" : "B13",
"_id" : "components/B13",
"_rev" : "_j4Jg_nq--B"
},
{
"_key" : "B20",
"_id" : "components/B20",
"_rev" : "_j4Jg_nu---"
},
{
"_key" : "B14",
"_id" : "components/B14",
"_rev" : "_j4Jg_nu--_"
},
{
"_key" : "B15",
"_id" : "components/B15",
"_rev" : "_j4Jg_nu--A"
},
{
"_key" : "B16",
"_id" : "components/B16",
"_rev" : "_j4Jg_nu--B"
},
{
"_key" : "B17",
"_id" : "components/B17",
"_rev" : "_j4Jg_nu--C"
},
{
"_key" : "B18",
"_id" : "components/B18",
"_rev" : "_j4Jg_ny---"
},
{
"_key" : "B21",
"_id" : "components/B21",
"_rev" : "_j4Jg_ny--_"
},
{
"_key" : "B22",
"_id" : "components/B22",
"_rev" : "_j4Jg_ny--A"
},
{
"_key" : "C1",
"_id" : "components/C1",
"_rev" : "_j4Jg_n2---"
},
{
"_key" : "C2",
"_id" : "components/C2",
"_rev" : "_j4Jg_n2--_"
},
{
"_key" : "C3",
"_id" : "components/C3",
"_rev" : "_j4Jg_n2--A"
},
{
"_key" : "C4",
"_id" : "components/C4",
"_rev" : "_j4Jg_n2--B"
},
{
"_key" : "C5",
"_id" : "components/C5",
"_rev" : "_j4Jg_n2--C"
},
{
"_key" : "C7",
"_id" : "components/C7",
"_rev" : "_j4Jg_n2--D"
},
{
"_key" : "C6",
"_id" : "components/C6",
"_rev" : "_j4Jg_n6---"
},
{
"_key" : "C8",
"_id" : "components/C8",
"_rev" : "_j4Jg_n6--_"
},
{
"_key" : "C9",
"_id" : "components/C9",
"_rev" : "_j4Jg_n6--A"
},
{
"_key" : "C10",
"_id" : "components/C10",
"_rev" : "_j4Jg_n6--B"
}
]
[
{
"_key" : "75152",
"_id" : "connections/75152",
"_from" : "components/A1",
"_to" : "components/A2",
"_rev" : "_j4Jg_o----"
},
{
"_key" : "75154",
"_id" : "connections/75154",
"_from" : "components/A2",
"_to" : "components/A3",
"_rev" : "_j4Jg_o---_"
},
{
"_key" : "75156",
"_id" : "connections/75156",
"_from" : "components/A3",
"_to" : "components/A4",
"_rev" : "_j4Jg_o---A"
},
{
"_key" : "75158",
"_id" : "connections/75158",
"_from" : "components/A4",
"_to" : "components/A1",
"_rev" : "_j4Jg_oC---"
},
{
"_key" : "75160",
"_id" : "connections/75160",
"_from" : "components/B1",
"_to" : "components/B3",
"_rev" : "_j4Jg_oC--_"
},
{
"_key" : "75162",
"_id" : "connections/75162",
"_from" : "components/B2",
"_to" : "components/B4",
"_rev" : "_j4Jg_oC--A"
},
{
"_key" : "75164",
"_id" : "connections/75164",
"_from" : "components/B3",
"_to" : "components/B6",
"_rev" : "_j4Jg_oC--B"
},
{
"_key" : "75166",
"_id" : "connections/75166",
"_from" : "components/B4",
"_to" : "components/B3",
"_rev" : "_j4Jg_oG---"
},
{
"_key" : "75168",
"_id" : "connections/75168",
"_from" : "components/B4",
"_to" : "components/B5",
"_rev" : "_j4Jg_oG--_"
},
{
"_key" : "75170",
"_id" : "connections/75170",
"_from" : "components/B6",
"_to" : "components/B7",
"_rev" : "_j4Jg_oG--A"
},
{
"_key" : "75172",
"_id" : "connections/75172",
"_from" : "components/B7",
"_to" : "components/B8",
"_rev" : "_j4Jg_oG--B"
},
{
"_key" : "75174",
"_id" : "connections/75174",
"_from" : "components/B7",
"_to" : "components/B9",
"_rev" : "_j4Jg_oK---"
},
{
"_key" : "75176",
"_id" : "connections/75176",
"_from" : "components/B7",
"_to" : "components/B10",
"_rev" : "_j4Jg_oK--_"
},
{
"_key" : "75178",
"_id" : "connections/75178",
"_from" : "components/B7",
"_to" : "components/B19",
"_rev" : "_j4Jg_oK--A"
},
{
"_key" : "75180",
"_id" : "connections/75180",
"_from" : "components/B11",
"_to" : "components/B10",
"_rev" : "_j4Jg_oK--B"
},
{
"_key" : "75182",
"_id" : "connections/75182",
"_from" : "components/B12",
"_to" : "components/B11",
"_rev" : "_j4Jg_oO---"
},
{
"_key" : "75184",
"_id" : "connections/75184",
"_from" : "components/B13",
"_to" : "components/B12",
"_rev" : "_j4Jg_oO--_"
},
{
"_key" : "75186",
"_id" : "connections/75186",
"_from" : "components/B13",
"_to" : "components/B20",
"_rev" : "_j4Jg_oS---"
},
{
"_key" : "75188",
"_id" : "connections/75188",
"_from" : "components/B14",
"_to" : "components/B13",
"_rev" : "_j4Jg_oS--_"
},
{
"_key" : "75190",
"_id" : "connections/75190",
"_from" : "components/B15",
"_to" : "components/B14",
"_rev" : "_j4Jg_oW---"
},
{
"_key" : "75192",
"_id" : "connections/75192",
"_from" : "components/B15",
"_to" : "components/B16",
"_rev" : "_j4Jg_oW--_"
},
{
"_key" : "75194",
"_id" : "connections/75194",
"_from" : "components/B17",
"_to" : "components/B15",
"_rev" : "_j4Jg_oW--A"
},
{
"_key" : "75196",
"_id" : "connections/75196",
"_from" : "components/B17",
"_to" : "components/B18",
"_rev" : "_j4Jg_oa---"
},
{
"_key" : "75198",
"_id" : "connections/75198",
"_from" : "components/B19",
"_to" : "components/B17",
"_rev" : "_j4Jg_oa--_"
},
{
"_key" : "75200",
"_id" : "connections/75200",
"_from" : "components/B20",
"_to" : "components/B21",
"_rev" : "_j4Jg_oa--A"
},
{
"_key" : "75202",
"_id" : "connections/75202",
"_from" : "components/B20",
"_to" : "components/B22",
"_rev" : "_j4Jg_oa--B"
},
{
"_key" : "75204",
"_id" : "connections/75204",
"_from" : "components/C1",
"_to" : "components/C2",
"_rev" : "_j4Jg_oe---"
},
{
"_key" : "75206",
"_id" : "connections/75206",
"_from" : "components/C2",
"_to" : "components/C3",
"_rev" : "_j4Jg_oe--_"
},
{
"_key" : "75208",
"_id" : "connections/75208",
"_from" : "components/C3",
"_to" : "components/C4",
"_rev" : "_j4Jg_oe--A"
},
{
"_key" : "75210",
"_id" : "connections/75210",
"_from" : "components/C4",
"_to" : "components/C5",
"_rev" : "_j4Jg_oe--B"
},
{
"_key" : "75212",
"_id" : "connections/75212",
"_from" : "components/C4",
"_to" : "components/C7",
"_rev" : "_j4Jg_oe--C"
},
{
"_key" : "75214",
"_id" : "connections/75214",
"_from" : "components/C5",
"_to" : "components/C6",
"_rev" : "_j4Jg_oe--D"
},
{
"_key" : "75216",
"_id" : "connections/75216",
"_from" : "components/C5",
"_to" : "components/C7",
"_rev" : "_j4Jg_oi---"
},
{
"_key" : "75218",
"_id" : "connections/75218",
"_from" : "components/C7",
"_to" : "components/C8",
"_rev" : "_j4Jg_oi--_"
},
{
"_key" : "75220",
"_id" : "connections/75220",
"_from" : "components/C8",
"_to" : "components/C9",
"_rev" : "_j4Jg_oi--A"
},
{
"_key" : "75222",
"_id" : "connections/75222",
"_from" : "components/C8",
"_to" : "components/C10",
"_rev" : "_j4Jg_oi--B"
}
]
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.