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" : "_hcXRO6q---",
"name" : "Alice"
},
{
"_key" : "bob",
"_id" : "persons/bob",
"_rev" : "_hcXRO6q--_",
"name" : "Bob"
},
{
"_key" : "charlie",
"_id" : "persons/charlie",
"_rev" : "_hcXRO6u---",
"name" : "Charlie"
},
{
"_key" : "dave",
"_id" : "persons/dave",
"_rev" : "_hcXRO6u--_",
"name" : "Dave"
},
{
"_key" : "eve",
"_id" : "persons/eve",
"_rev" : "_hcXRO6u--A",
"name" : "Eve"
}
]
[
{
"_key" : "73082",
"_id" : "knows/73082",
"_from" : "persons/alice",
"_to" : "persons/bob",
"_rev" : "_hcXRO6u--B",
"vertex" : "alice"
},
{
"_key" : "73084",
"_id" : "knows/73084",
"_from" : "persons/bob",
"_to" : "persons/charlie",
"_rev" : "_hcXRO6y---",
"vertex" : "bob"
},
{
"_key" : "73086",
"_id" : "knows/73086",
"_from" : "persons/bob",
"_to" : "persons/dave",
"_rev" : "_hcXRO6y--_",
"vertex" : "bob"
},
{
"_key" : "73088",
"_id" : "knows/73088",
"_from" : "persons/eve",
"_to" : "persons/alice",
"_rev" : "_hcXRO6y--A",
"vertex" : "eve"
},
{
"_key" : "73090",
"_id" : "knows/73090",
"_from" : "persons/eve",
"_to" : "persons/bob",
"_rev" : "_hcXRO6y--B",
"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" : "_hcXRO7y---",
"label" : "1"
},
{
"_key" : "B",
"_id" : "circles/B",
"_rev" : "_hcXRO72---",
"label" : "2"
},
{
"_key" : "C",
"_id" : "circles/C",
"_rev" : "_hcXRO72--_",
"label" : "3"
},
{
"_key" : "D",
"_id" : "circles/D",
"_rev" : "_hcXRO72--A",
"label" : "4"
},
{
"_key" : "E",
"_id" : "circles/E",
"_rev" : "_hcXRO72--B",
"label" : "5"
},
{
"_key" : "F",
"_id" : "circles/F",
"_rev" : "_hcXRO76---",
"label" : "6"
},
{
"_key" : "G",
"_id" : "circles/G",
"_rev" : "_hcXRO76--_",
"label" : "7"
},
{
"_key" : "H",
"_id" : "circles/H",
"_rev" : "_hcXRO76--A",
"label" : "8"
},
{
"_key" : "I",
"_id" : "circles/I",
"_rev" : "_hcXRO76--B",
"label" : "9"
},
{
"_key" : "J",
"_id" : "circles/J",
"_rev" : "_hcXRO76--C",
"label" : "10"
},
{
"_key" : "K",
"_id" : "circles/K",
"_rev" : "_hcXRO8----",
"label" : "11"
}
]
[
{
"_key" : "73143",
"_id" : "edges/73143",
"_from" : "circles/A",
"_to" : "circles/B",
"_rev" : "_hcXRO8---_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_bar"
},
{
"_key" : "73145",
"_id" : "edges/73145",
"_from" : "circles/B",
"_to" : "circles/C",
"_rev" : "_hcXRO8---A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blarg"
},
{
"_key" : "73147",
"_id" : "edges/73147",
"_from" : "circles/C",
"_to" : "circles/D",
"_rev" : "_hcXRO8C---",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blorg"
},
{
"_key" : "73149",
"_id" : "edges/73149",
"_from" : "circles/B",
"_to" : "circles/E",
"_rev" : "_hcXRO8C--_",
"theFalse" : false,
"theTruth" : true,
"label" : "left_blub"
},
{
"_key" : "73151",
"_id" : "edges/73151",
"_from" : "circles/E",
"_to" : "circles/F",
"_rev" : "_hcXRO8C--A",
"theFalse" : false,
"theTruth" : true,
"label" : "left_schubi"
},
{
"_key" : "73153",
"_id" : "edges/73153",
"_from" : "circles/A",
"_to" : "circles/G",
"_rev" : "_hcXRO8G---",
"theFalse" : false,
"theTruth" : true,
"label" : "right_foo"
},
{
"_key" : "73155",
"_id" : "edges/73155",
"_from" : "circles/G",
"_to" : "circles/H",
"_rev" : "_hcXRO8G--_",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blob"
},
{
"_key" : "73157",
"_id" : "edges/73157",
"_from" : "circles/H",
"_to" : "circles/I",
"_rev" : "_hcXRO8G--A",
"theFalse" : false,
"theTruth" : true,
"label" : "right_blub"
},
{
"_key" : "73159",
"_id" : "edges/73159",
"_from" : "circles/G",
"_to" : "circles/J",
"_rev" : "_hcXRO8G--B",
"theFalse" : false,
"theTruth" : true,
"label" : "right_zip"
},
{
"_key" : "73161",
"_id" : "edges/73161",
"_from" : "circles/J",
"_to" : "circles/K",
"_rev" : "_hcXRO8K---",
"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" : "_hcXRP-S---",
"label" : "Inverness"
},
{
"_key" : "Aberdeen",
"_id" : "places/Aberdeen",
"_rev" : "_hcXRP-S--_",
"label" : "Aberdeen"
},
{
"_key" : "Leuchars",
"_id" : "places/Leuchars",
"_rev" : "_hcXRP-W---",
"label" : "Leuchars"
},
{
"_key" : "StAndrews",
"_id" : "places/StAndrews",
"_rev" : "_hcXRP-W--_",
"label" : "StAndrews"
},
{
"_key" : "Edinburgh",
"_id" : "places/Edinburgh",
"_rev" : "_hcXRP-W--A",
"label" : "Edinburgh"
},
{
"_key" : "Glasgow",
"_id" : "places/Glasgow",
"_rev" : "_hcXRP-W--B",
"label" : "Glasgow"
},
{
"_key" : "York",
"_id" : "places/York",
"_rev" : "_hcXRP-a---",
"label" : "York"
},
{
"_key" : "Carlisle",
"_id" : "places/Carlisle",
"_rev" : "_hcXRP-a--_",
"label" : "Carlisle"
},
{
"_key" : "Birmingham",
"_id" : "places/Birmingham",
"_rev" : "_hcXRP-a--A",
"label" : "Birmingham"
},
{
"_key" : "London",
"_id" : "places/London",
"_rev" : "_hcXRP-a--B",
"label" : "London"
},
{
"_key" : "Brussels",
"_id" : "places/Brussels",
"_rev" : "_hcXRP-e---",
"label" : "Brussels"
},
{
"_key" : "Cologne",
"_id" : "places/Cologne",
"_rev" : "_hcXRP-e--_",
"label" : "Cologne"
},
{
"_key" : "Toronto",
"_id" : "places/Toronto",
"_rev" : "_hcXRP-e--A",
"label" : "Toronto"
},
{
"_key" : "Winnipeg",
"_id" : "places/Winnipeg",
"_rev" : "_hcXRP-e--B",
"label" : "Winnipeg"
},
{
"_key" : "Saskatoon",
"_id" : "places/Saskatoon",
"_rev" : "_hcXRP-i---",
"label" : "Saskatoon"
},
{
"_key" : "Edmonton",
"_id" : "places/Edmonton",
"_rev" : "_hcXRP-i--_",
"label" : "Edmonton"
},
{
"_key" : "Jasper",
"_id" : "places/Jasper",
"_rev" : "_hcXRP-i--A",
"label" : "Jasper"
},
{
"_key" : "Vancouver",
"_id" : "places/Vancouver",
"_rev" : "_hcXRP-i--B",
"label" : "Vancouver"
}
]
[
{
"_key" : "73221",
"_id" : "connections/73221",
"_from" : "places/Inverness",
"_to" : "places/Aberdeen",
"_rev" : "_hcXRP-m---",
"travelTime" : 3
},
{
"_key" : "73223",
"_id" : "connections/73223",
"_from" : "places/Aberdeen",
"_to" : "places/Inverness",
"_rev" : "_hcXRP-m--_",
"travelTime" : 2.5
},
{
"_key" : "73225",
"_id" : "connections/73225",
"_from" : "places/Aberdeen",
"_to" : "places/Leuchars",
"_rev" : "_hcXRP-m--A",
"travelTime" : 1.5
},
{
"_key" : "73227",
"_id" : "connections/73227",
"_from" : "places/Leuchars",
"_to" : "places/Aberdeen",
"_rev" : "_hcXRP-m--B",
"travelTime" : 1
},
{
"_key" : "73229",
"_id" : "connections/73229",
"_from" : "places/Leuchars",
"_to" : "places/Edinburgh",
"_rev" : "_hcXRP-q---",
"travelTime" : 1.5
},
{
"_key" : "73231",
"_id" : "connections/73231",
"_from" : "places/Edinburgh",
"_to" : "places/Leuchars",
"_rev" : "_hcXRP-q--_",
"travelTime" : 3
},
{
"_key" : "73233",
"_id" : "connections/73233",
"_from" : "places/Edinburgh",
"_to" : "places/Glasgow",
"_rev" : "_hcXRP-q--A",
"travelTime" : 1
},
{
"_key" : "73235",
"_id" : "connections/73235",
"_from" : "places/Glasgow",
"_to" : "places/Edinburgh",
"_rev" : "_hcXRP-u---",
"travelTime" : 1
},
{
"_key" : "73237",
"_id" : "connections/73237",
"_from" : "places/Edinburgh",
"_to" : "places/York",
"_rev" : "_hcXRP-u--_",
"travelTime" : 3.5
},
{
"_key" : "73239",
"_id" : "connections/73239",
"_from" : "places/York",
"_to" : "places/Edinburgh",
"_rev" : "_hcXRP-u--A",
"travelTime" : 4
},
{
"_key" : "73241",
"_id" : "connections/73241",
"_from" : "places/Glasgow",
"_to" : "places/Carlisle",
"_rev" : "_hcXRP-y---",
"travelTime" : 1
},
{
"_key" : "73243",
"_id" : "connections/73243",
"_from" : "places/Carlisle",
"_to" : "places/Glasgow",
"_rev" : "_hcXRP-y--_",
"travelTime" : 1
},
{
"_key" : "73245",
"_id" : "connections/73245",
"_from" : "places/Carlisle",
"_to" : "places/York",
"_rev" : "_hcXRP-y--A",
"travelTime" : 2.5
},
{
"_key" : "73247",
"_id" : "connections/73247",
"_from" : "places/York",
"_to" : "places/Carlisle",
"_rev" : "_hcXRP-y--B",
"travelTime" : 3.5
},
{
"_key" : "73249",
"_id" : "connections/73249",
"_from" : "places/Carlisle",
"_to" : "places/Birmingham",
"_rev" : "_hcXRP-2---",
"travelTime" : 2
},
{
"_key" : "73251",
"_id" : "connections/73251",
"_from" : "places/Birmingham",
"_to" : "places/Carlisle",
"_rev" : "_hcXRP-2--_",
"travelTime" : 1
},
{
"_key" : "73253",
"_id" : "connections/73253",
"_from" : "places/Birmingham",
"_to" : "places/London",
"_rev" : "_hcXRP-6---",
"travelTime" : 1.5
},
{
"_key" : "73255",
"_id" : "connections/73255",
"_from" : "places/London",
"_to" : "places/Birmingham",
"_rev" : "_hcXRP_----",
"travelTime" : 2.5
},
{
"_key" : "73257",
"_id" : "connections/73257",
"_from" : "places/Leuchars",
"_to" : "places/StAndrews",
"_rev" : "_hcXRP_---_",
"travelTime" : 0.2
},
{
"_key" : "73259",
"_id" : "connections/73259",
"_from" : "places/StAndrews",
"_to" : "places/Leuchars",
"_rev" : "_hcXRP_---A",
"travelTime" : 0.2
},
{
"_key" : "73261",
"_id" : "connections/73261",
"_from" : "places/York",
"_to" : "places/London",
"_rev" : "_hcXRP_C---",
"travelTime" : 1.8
},
{
"_key" : "73263",
"_id" : "connections/73263",
"_from" : "places/London",
"_to" : "places/York",
"_rev" : "_hcXRP_C--_",
"travelTime" : 2
},
{
"_key" : "73265",
"_id" : "connections/73265",
"_from" : "places/London",
"_to" : "places/Brussels",
"_rev" : "_hcXRP_C--A",
"travelTime" : 2.5
},
{
"_key" : "73267",
"_id" : "connections/73267",
"_from" : "places/Brussels",
"_to" : "places/London",
"_rev" : "_hcXRP_G---",
"travelTime" : 3.5
},
{
"_key" : "73269",
"_id" : "connections/73269",
"_from" : "places/Brussels",
"_to" : "places/Cologne",
"_rev" : "_hcXRP_G--_",
"travelTime" : 2
},
{
"_key" : "73271",
"_id" : "connections/73271",
"_from" : "places/Cologne",
"_to" : "places/Brussels",
"_rev" : "_hcXRP_G--A",
"travelTime" : 1.5
},
{
"_key" : "73273",
"_id" : "connections/73273",
"_from" : "places/Toronto",
"_to" : "places/Winnipeg",
"_rev" : "_hcXRP_G--B",
"travelTime" : 36
},
{
"_key" : "73275",
"_id" : "connections/73275",
"_from" : "places/Winnipeg",
"_to" : "places/Toronto",
"_rev" : "_hcXRP_K---",
"travelTime" : 35
},
{
"_key" : "73277",
"_id" : "connections/73277",
"_from" : "places/Winnipeg",
"_to" : "places/Saskatoon",
"_rev" : "_hcXRP_K--_",
"travelTime" : 12
},
{
"_key" : "73279",
"_id" : "connections/73279",
"_from" : "places/Saskatoon",
"_to" : "places/Winnipeg",
"_rev" : "_hcXRP_K--A",
"travelTime" : 5
},
{
"_key" : "73281",
"_id" : "connections/73281",
"_from" : "places/Saskatoon",
"_to" : "places/Edmonton",
"_rev" : "_hcXRP_K--B",
"travelTime" : 12
},
{
"_key" : "73283",
"_id" : "connections/73283",
"_from" : "places/Edmonton",
"_to" : "places/Saskatoon",
"_rev" : "_hcXRP_O---",
"travelTime" : 17
},
{
"_key" : "73285",
"_id" : "connections/73285",
"_from" : "places/Edmonton",
"_to" : "places/Jasper",
"_rev" : "_hcXRP_O--_",
"travelTime" : 6
},
{
"_key" : "73287",
"_id" : "connections/73287",
"_from" : "places/Jasper",
"_to" : "places/Edmonton",
"_rev" : "_hcXRP_O--A",
"travelTime" : 5
},
{
"_key" : "73289",
"_id" : "connections/73289",
"_from" : "places/Jasper",
"_to" : "places/Vancouver",
"_rev" : "_hcXRP_O--B",
"travelTime" : 12
},
{
"_key" : "73291",
"_id" : "connections/73291",
"_from" : "places/Vancouver",
"_to" : "places/Jasper",
"_rev" : "_hcXRP_S---",
"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" : "_hcXRPBO---"
},
{
"_key" : "B",
"_id" : "mps_verts/B",
"_rev" : "_hcXRPBS---"
},
{
"_key" : "C",
"_id" : "mps_verts/C",
"_rev" : "_hcXRPBS--_"
},
{
"_key" : "D",
"_id" : "mps_verts/D",
"_rev" : "_hcXRPBS--A"
},
{
"_key" : "E",
"_id" : "mps_verts/E",
"_rev" : "_hcXRPBW---"
},
{
"_key" : "F",
"_id" : "mps_verts/F",
"_rev" : "_hcXRPBW--_"
}
]
[
{
"_key" : "73339",
"_id" : "mps_edges/73339",
"_from" : "mps_verts/A",
"_to" : "mps_verts/B",
"_rev" : "_hcXRPBW--A",
"vertex" : "A"
},
{
"_key" : "73341",
"_id" : "mps_edges/73341",
"_from" : "mps_verts/A",
"_to" : "mps_verts/E",
"_rev" : "_hcXRPBa---",
"vertex" : "A"
},
{
"_key" : "73343",
"_id" : "mps_edges/73343",
"_from" : "mps_verts/A",
"_to" : "mps_verts/D",
"_rev" : "_hcXRPBa--_",
"vertex" : "A"
},
{
"_key" : "73345",
"_id" : "mps_edges/73345",
"_from" : "mps_verts/B",
"_to" : "mps_verts/C",
"_rev" : "_hcXRPBa--A",
"vertex" : "B"
},
{
"_key" : "73347",
"_id" : "mps_edges/73347",
"_from" : "mps_verts/D",
"_to" : "mps_verts/C",
"_rev" : "_hcXRPBa--B",
"vertex" : "D"
},
{
"_key" : "73349",
"_id" : "mps_edges/73349",
"_from" : "mps_verts/E",
"_to" : "mps_verts/F",
"_rev" : "_hcXRPBe---",
"vertex" : "E"
},
{
"_key" : "73351",
"_id" : "mps_edges/73351",
"_from" : "mps_verts/F",
"_to" : "mps_verts/C",
"_rev" : "_hcXRPBe--_",
"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" : "_hcXRPCu---",
"name" : "World",
"type" : "root"
},
{
"_key" : "continent-africa",
"_id" : "worldVertices/continent-africa",
"_rev" : "_hcXRPCu--_",
"name" : "Africa",
"type" : "continent"
},
{
"_key" : "continent-asia",
"_id" : "worldVertices/continent-asia",
"_rev" : "_hcXRPCu--A",
"name" : "Asia",
"type" : "continent"
},
{
"_key" : "continent-australia",
"_id" : "worldVertices/continent-australia",
"_rev" : "_hcXRPCy---",
"name" : "Australia",
"type" : "continent"
},
{
"_key" : "continent-europe",
"_id" : "worldVertices/continent-europe",
"_rev" : "_hcXRPCy--_",
"name" : "Europe",
"type" : "continent"
},
{
"_key" : "continent-north-america",
"_id" : "worldVertices/continent-north-america",
"_rev" : "_hcXRPCy--A",
"name" : "North America",
"type" : "continent"
},
{
"_key" : "continent-south-america",
"_id" : "worldVertices/continent-south-america",
"_rev" : "_hcXRPCy--B",
"name" : "South America",
"type" : "continent"
},
{
"_key" : "country-afghanistan",
"_id" : "worldVertices/country-afghanistan",
"_rev" : "_hcXRPC2---",
"name" : "Afghanistan",
"type" : "country",
"code" : "AFG"
},
{
"_key" : "country-albania",
"_id" : "worldVertices/country-albania",
"_rev" : "_hcXRPC2--_",
"name" : "Albania",
"type" : "country",
"code" : "ALB"
},
{
"_key" : "country-algeria",
"_id" : "worldVertices/country-algeria",
"_rev" : "_hcXRPC2--A",
"name" : "Algeria",
"type" : "country",
"code" : "DZA"
},
{
"_key" : "country-andorra",
"_id" : "worldVertices/country-andorra",
"_rev" : "_hcXRPC2--B",
"name" : "Andorra",
"type" : "country",
"code" : "AND"
},
{
"_key" : "country-angola",
"_id" : "worldVertices/country-angola",
"_rev" : "_hcXRPC2--C",
"name" : "Angola",
"type" : "country",
"code" : "AGO"
},
{
"_key" : "country-antigua-and-barbuda",
"_id" : "worldVertices/country-antigua-and-barbuda",
"_rev" : "_hcXRPC6---",
"name" : "Antigua and Barbuda",
"type" : "country",
"code" : "ATG"
},
{
"_key" : "country-argentina",
"_id" : "worldVertices/country-argentina",
"_rev" : "_hcXRPC6--_",
"name" : "Argentina",
"type" : "country",
"code" : "ARG"
},
{
"_key" : "country-australia",
"_id" : "worldVertices/country-australia",
"_rev" : "_hcXRPC6--A",
"name" : "Australia",
"type" : "country",
"code" : "AUS"
},
{
"_key" : "country-austria",
"_id" : "worldVertices/country-austria",
"_rev" : "_hcXRPC6--B",
"name" : "Austria",
"type" : "country",
"code" : "AUT"
},
{
"_key" : "country-bahamas",
"_id" : "worldVertices/country-bahamas",
"_rev" : "_hcXRPC6--C",
"name" : "Bahamas",
"type" : "country",
"code" : "BHS"
},
{
"_key" : "country-bahrain",
"_id" : "worldVertices/country-bahrain",
"_rev" : "_hcXRPC6--D",
"name" : "Bahrain",
"type" : "country",
"code" : "BHR"
},
{
"_key" : "country-bangladesh",
"_id" : "worldVertices/country-bangladesh",
"_rev" : "_hcXRPD----",
"name" : "Bangladesh",
"type" : "country",
"code" : "BGD"
},
{
"_key" : "country-barbados",
"_id" : "worldVertices/country-barbados",
"_rev" : "_hcXRPD---_",
"name" : "Barbados",
"type" : "country",
"code" : "BRB"
},
{
"_key" : "country-belgium",
"_id" : "worldVertices/country-belgium",
"_rev" : "_hcXRPD---A",
"name" : "Belgium",
"type" : "country",
"code" : "BEL"
},
{
"_key" : "country-bhutan",
"_id" : "worldVertices/country-bhutan",
"_rev" : "_hcXRPD---B",
"name" : "Bhutan",
"type" : "country",
"code" : "BTN"
},
{
"_key" : "country-bolivia",
"_id" : "worldVertices/country-bolivia",
"_rev" : "_hcXRPD---C",
"name" : "Bolivia",
"type" : "country",
"code" : "BOL"
},
{
"_key" : "country-bosnia-and-herzegovina",
"_id" : "worldVertices/country-bosnia-and-herzegovina",
"_rev" : "_hcXRPDC---",
"name" : "Bosnia and Herzegovina",
"type" : "country",
"code" : "BIH"
},
{
"_key" : "country-botswana",
"_id" : "worldVertices/country-botswana",
"_rev" : "_hcXRPDC--_",
"name" : "Botswana",
"type" : "country",
"code" : "BWA"
},
{
"_key" : "country-brazil",
"_id" : "worldVertices/country-brazil",
"_rev" : "_hcXRPDC--A",
"name" : "Brazil",
"type" : "country",
"code" : "BRA"
},
{
"_key" : "country-brunei",
"_id" : "worldVertices/country-brunei",
"_rev" : "_hcXRPDG---",
"name" : "Brunei",
"type" : "country",
"code" : "BRN"
},
{
"_key" : "country-bulgaria",
"_id" : "worldVertices/country-bulgaria",
"_rev" : "_hcXRPDG--_",
"name" : "Bulgaria",
"type" : "country",
"code" : "BGR"
},
{
"_key" : "country-burkina-faso",
"_id" : "worldVertices/country-burkina-faso",
"_rev" : "_hcXRPDG--A",
"name" : "Burkina Faso",
"type" : "country",
"code" : "BFA"
},
{
"_key" : "country-burundi",
"_id" : "worldVertices/country-burundi",
"_rev" : "_hcXRPDG--B",
"name" : "Burundi",
"type" : "country",
"code" : "BDI"
},
{
"_key" : "country-cambodia",
"_id" : "worldVertices/country-cambodia",
"_rev" : "_hcXRPDK---",
"name" : "Cambodia",
"type" : "country",
"code" : "KHM"
},
{
"_key" : "country-cameroon",
"_id" : "worldVertices/country-cameroon",
"_rev" : "_hcXRPDK--_",
"name" : "Cameroon",
"type" : "country",
"code" : "CMR"
},
{
"_key" : "country-canada",
"_id" : "worldVertices/country-canada",
"_rev" : "_hcXRPDK--A",
"name" : "Canada",
"type" : "country",
"code" : "CAN"
},
{
"_key" : "country-chad",
"_id" : "worldVertices/country-chad",
"_rev" : "_hcXRPDK--B",
"name" : "Chad",
"type" : "country",
"code" : "TCD"
},
{
"_key" : "country-chile",
"_id" : "worldVertices/country-chile",
"_rev" : "_hcXRPDO---",
"name" : "Chile",
"type" : "country",
"code" : "CHL"
},
{
"_key" : "country-colombia",
"_id" : "worldVertices/country-colombia",
"_rev" : "_hcXRPDO--_",
"name" : "Colombia",
"type" : "country",
"code" : "COL"
},
{
"_key" : "country-cote-d-ivoire",
"_id" : "worldVertices/country-cote-d-ivoire",
"_rev" : "_hcXRPDO--A",
"name" : "Cote d'Ivoire",
"type" : "country",
"code" : "CIV"
},
{
"_key" : "country-croatia",
"_id" : "worldVertices/country-croatia",
"_rev" : "_hcXRPDO--B",
"name" : "Croatia",
"type" : "country",
"code" : "HRV"
},
{
"_key" : "country-czech-republic",
"_id" : "worldVertices/country-czech-republic",
"_rev" : "_hcXRPDS---",
"name" : "Czech Republic",
"type" : "country",
"code" : "CZE"
},
{
"_key" : "country-denmark",
"_id" : "worldVertices/country-denmark",
"_rev" : "_hcXRPDS--_",
"name" : "Denmark",
"type" : "country",
"code" : "DNK"
},
{
"_key" : "country-ecuador",
"_id" : "worldVertices/country-ecuador",
"_rev" : "_hcXRPDS--A",
"name" : "Ecuador",
"type" : "country",
"code" : "ECU"
},
{
"_key" : "country-egypt",
"_id" : "worldVertices/country-egypt",
"_rev" : "_hcXRPDS--B",
"name" : "Egypt",
"type" : "country",
"code" : "EGY"
},
{
"_key" : "country-eritrea",
"_id" : "worldVertices/country-eritrea",
"_rev" : "_hcXRPDW---",
"name" : "Eritrea",
"type" : "country",
"code" : "ERI"
},
{
"_key" : "country-finland",
"_id" : "worldVertices/country-finland",
"_rev" : "_hcXRPDW--_",
"name" : "Finland",
"type" : "country",
"code" : "FIN"
},
{
"_key" : "country-france",
"_id" : "worldVertices/country-france",
"_rev" : "_hcXRPDW--A",
"name" : "France",
"type" : "country",
"code" : "FRA"
},
{
"_key" : "country-germany",
"_id" : "worldVertices/country-germany",
"_rev" : "_hcXRPDW--B",
"name" : "Germany",
"type" : "country",
"code" : "DEU"
},
{
"_key" : "country-people-s-republic-of-china",
"_id" : "worldVertices/country-people-s-republic-of-china",
"_rev" : "_hcXRPDa---",
"name" : "People's Republic of China",
"type" : "country",
"code" : "CHN"
},
{
"_key" : "capital-algiers",
"_id" : "worldVertices/capital-algiers",
"_rev" : "_hcXRPDa--_",
"name" : "Algiers",
"type" : "capital"
},
{
"_key" : "capital-andorra-la-vella",
"_id" : "worldVertices/capital-andorra-la-vella",
"_rev" : "_hcXRPDa--A",
"name" : "Andorra la Vella",
"type" : "capital"
},
{
"_key" : "capital-asmara",
"_id" : "worldVertices/capital-asmara",
"_rev" : "_hcXRPDa--B",
"name" : "Asmara",
"type" : "capital"
},
{
"_key" : "capital-bandar-seri-begawan",
"_id" : "worldVertices/capital-bandar-seri-begawan",
"_rev" : "_hcXRPDa--C",
"name" : "Bandar Seri Begawan",
"type" : "capital"
},
{
"_key" : "capital-beijing",
"_id" : "worldVertices/capital-beijing",
"_rev" : "_hcXRPDe---",
"name" : "Beijing",
"type" : "capital"
},
{
"_key" : "capital-berlin",
"_id" : "worldVertices/capital-berlin",
"_rev" : "_hcXRPDe--_",
"name" : "Berlin",
"type" : "capital"
},
{
"_key" : "capital-bogota",
"_id" : "worldVertices/capital-bogota",
"_rev" : "_hcXRPDi---",
"name" : "Bogota",
"type" : "capital"
},
{
"_key" : "capital-brasilia",
"_id" : "worldVertices/capital-brasilia",
"_rev" : "_hcXRPDi--_",
"name" : "Brasilia",
"type" : "capital"
},
{
"_key" : "capital-bridgetown",
"_id" : "worldVertices/capital-bridgetown",
"_rev" : "_hcXRPDi--A",
"name" : "Bridgetown",
"type" : "capital"
},
{
"_key" : "capital-brussels",
"_id" : "worldVertices/capital-brussels",
"_rev" : "_hcXRPDi--B",
"name" : "Brussels",
"type" : "capital"
},
{
"_key" : "capital-buenos-aires",
"_id" : "worldVertices/capital-buenos-aires",
"_rev" : "_hcXRPDm---",
"name" : "Buenos Aires",
"type" : "capital"
},
{
"_key" : "capital-bujumbura",
"_id" : "worldVertices/capital-bujumbura",
"_rev" : "_hcXRPDm--_",
"name" : "Bujumbura",
"type" : "capital"
},
{
"_key" : "capital-cairo",
"_id" : "worldVertices/capital-cairo",
"_rev" : "_hcXRPDm--A",
"name" : "Cairo",
"type" : "capital"
},
{
"_key" : "capital-canberra",
"_id" : "worldVertices/capital-canberra",
"_rev" : "_hcXRPDm--B",
"name" : "Canberra",
"type" : "capital"
},
{
"_key" : "capital-copenhagen",
"_id" : "worldVertices/capital-copenhagen",
"_rev" : "_hcXRPDq---",
"name" : "Copenhagen",
"type" : "capital"
},
{
"_key" : "capital-dhaka",
"_id" : "worldVertices/capital-dhaka",
"_rev" : "_hcXRPDq--_",
"name" : "Dhaka",
"type" : "capital"
},
{
"_key" : "capital-gaborone",
"_id" : "worldVertices/capital-gaborone",
"_rev" : "_hcXRPDq--A",
"name" : "Gaborone",
"type" : "capital"
},
{
"_key" : "capital-helsinki",
"_id" : "worldVertices/capital-helsinki",
"_rev" : "_hcXRPDq--B",
"name" : "Helsinki",
"type" : "capital"
},
{
"_key" : "capital-kabul",
"_id" : "worldVertices/capital-kabul",
"_rev" : "_hcXRPDq--C",
"name" : "Kabul",
"type" : "capital"
},
{
"_key" : "capital-la-paz",
"_id" : "worldVertices/capital-la-paz",
"_rev" : "_hcXRPDu---",
"name" : "La Paz",
"type" : "capital"
},
{
"_key" : "capital-luanda",
"_id" : "worldVertices/capital-luanda",
"_rev" : "_hcXRPDu--_",
"name" : "Luanda",
"type" : "capital"
},
{
"_key" : "capital-manama",
"_id" : "worldVertices/capital-manama",
"_rev" : "_hcXRPDu--A",
"name" : "Manama",
"type" : "capital"
},
{
"_key" : "capital-nassau",
"_id" : "worldVertices/capital-nassau",
"_rev" : "_hcXRPDu--B",
"name" : "Nassau",
"type" : "capital"
},
{
"_key" : "capital-n-djamena",
"_id" : "worldVertices/capital-n-djamena",
"_rev" : "_hcXRPDy---",
"name" : "N'Djamena",
"type" : "capital"
},
{
"_key" : "capital-ottawa",
"_id" : "worldVertices/capital-ottawa",
"_rev" : "_hcXRPDy--_",
"name" : "Ottawa",
"type" : "capital"
},
{
"_key" : "capital-ouagadougou",
"_id" : "worldVertices/capital-ouagadougou",
"_rev" : "_hcXRPDy--A",
"name" : "Ouagadougou",
"type" : "capital"
},
{
"_key" : "capital-paris",
"_id" : "worldVertices/capital-paris",
"_rev" : "_hcXRPDy--B",
"name" : "Paris",
"type" : "capital"
},
{
"_key" : "capital-phnom-penh",
"_id" : "worldVertices/capital-phnom-penh",
"_rev" : "_hcXRPD2---",
"name" : "Phnom Penh",
"type" : "capital"
},
{
"_key" : "capital-prague",
"_id" : "worldVertices/capital-prague",
"_rev" : "_hcXRPD2--_",
"name" : "Prague",
"type" : "capital"
},
{
"_key" : "capital-quito",
"_id" : "worldVertices/capital-quito",
"_rev" : "_hcXRPD2--A",
"name" : "Quito",
"type" : "capital"
},
{
"_key" : "capital-saint-john-s",
"_id" : "worldVertices/capital-saint-john-s",
"_rev" : "_hcXRPD2--B",
"name" : "Saint John's",
"type" : "capital"
},
{
"_key" : "capital-santiago",
"_id" : "worldVertices/capital-santiago",
"_rev" : "_hcXRPD6---",
"name" : "Santiago",
"type" : "capital"
},
{
"_key" : "capital-sarajevo",
"_id" : "worldVertices/capital-sarajevo",
"_rev" : "_hcXRPD6--_",
"name" : "Sarajevo",
"type" : "capital"
},
{
"_key" : "capital-sofia",
"_id" : "worldVertices/capital-sofia",
"_rev" : "_hcXRPD6--A",
"name" : "Sofia",
"type" : "capital"
},
{
"_key" : "capital-thimphu",
"_id" : "worldVertices/capital-thimphu",
"_rev" : "_hcXRPE----",
"name" : "Thimphu",
"type" : "capital"
},
{
"_key" : "capital-tirana",
"_id" : "worldVertices/capital-tirana",
"_rev" : "_hcXRPE---_",
"name" : "Tirana",
"type" : "capital"
},
{
"_key" : "capital-vienna",
"_id" : "worldVertices/capital-vienna",
"_rev" : "_hcXRPE---A",
"name" : "Vienna",
"type" : "capital"
},
{
"_key" : "capital-yamoussoukro",
"_id" : "worldVertices/capital-yamoussoukro",
"_rev" : "_hcXRPE---B",
"name" : "Yamoussoukro",
"type" : "capital"
},
{
"_key" : "capital-yaounde",
"_id" : "worldVertices/capital-yaounde",
"_rev" : "_hcXRPE---C",
"name" : "Yaounde",
"type" : "capital"
},
{
"_key" : "capital-zagreb",
"_id" : "worldVertices/capital-zagreb",
"_rev" : "_hcXRPEC---",
"name" : "Zagreb",
"type" : "capital"
}
]
[
{
"_key" : "73480",
"_id" : "worldEdges/73480",
"_from" : "worldVertices/continent-africa",
"_to" : "worldVertices/world",
"_rev" : "_hcXRPEC--_",
"type" : "is-in"
},
{
"_key" : "73482",
"_id" : "worldEdges/73482",
"_from" : "worldVertices/continent-asia",
"_to" : "worldVertices/world",
"_rev" : "_hcXRPEC--A",
"type" : "is-in"
},
{
"_key" : "73484",
"_id" : "worldEdges/73484",
"_from" : "worldVertices/continent-australia",
"_to" : "worldVertices/world",
"_rev" : "_hcXRPEC--B",
"type" : "is-in"
},
{
"_key" : "73486",
"_id" : "worldEdges/73486",
"_from" : "worldVertices/continent-europe",
"_to" : "worldVertices/world",
"_rev" : "_hcXRPEG---",
"type" : "is-in"
},
{
"_key" : "73488",
"_id" : "worldEdges/73488",
"_from" : "worldVertices/continent-north-america",
"_to" : "worldVertices/world",
"_rev" : "_hcXRPEG--_",
"type" : "is-in"
},
{
"_key" : "73490",
"_id" : "worldEdges/73490",
"_from" : "worldVertices/continent-south-america",
"_to" : "worldVertices/world",
"_rev" : "_hcXRPEG--A",
"type" : "is-in"
},
{
"_key" : "73492",
"_id" : "worldEdges/73492",
"_from" : "worldVertices/country-afghanistan",
"_to" : "worldVertices/continent-asia",
"_rev" : "_hcXRPEG--B",
"type" : "is-in"
},
{
"_key" : "73494",
"_id" : "worldEdges/73494",
"_from" : "worldVertices/country-albania",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEK---",
"type" : "is-in"
},
{
"_key" : "73496",
"_id" : "worldEdges/73496",
"_from" : "worldVertices/country-algeria",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEK--_",
"type" : "is-in"
},
{
"_key" : "73498",
"_id" : "worldEdges/73498",
"_from" : "worldVertices/country-andorra",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEK--A",
"type" : "is-in"
},
{
"_key" : "73500",
"_id" : "worldEdges/73500",
"_from" : "worldVertices/country-angola",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEK--B",
"type" : "is-in"
},
{
"_key" : "73502",
"_id" : "worldEdges/73502",
"_from" : "worldVertices/country-antigua-and-barbuda",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_hcXRPEO---",
"type" : "is-in"
},
{
"_key" : "73504",
"_id" : "worldEdges/73504",
"_from" : "worldVertices/country-argentina",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_hcXRPEO--_",
"type" : "is-in"
},
{
"_key" : "73506",
"_id" : "worldEdges/73506",
"_from" : "worldVertices/country-australia",
"_to" : "worldVertices/continent-australia",
"_rev" : "_hcXRPEO--A",
"type" : "is-in"
},
{
"_key" : "73508",
"_id" : "worldEdges/73508",
"_from" : "worldVertices/country-austria",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPES---",
"type" : "is-in"
},
{
"_key" : "73510",
"_id" : "worldEdges/73510",
"_from" : "worldVertices/country-bahamas",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_hcXRPES--_",
"type" : "is-in"
},
{
"_key" : "73512",
"_id" : "worldEdges/73512",
"_from" : "worldVertices/country-bahrain",
"_to" : "worldVertices/continent-asia",
"_rev" : "_hcXRPES--A",
"type" : "is-in"
},
{
"_key" : "73514",
"_id" : "worldEdges/73514",
"_from" : "worldVertices/country-bangladesh",
"_to" : "worldVertices/continent-asia",
"_rev" : "_hcXRPES--B",
"type" : "is-in"
},
{
"_key" : "73516",
"_id" : "worldEdges/73516",
"_from" : "worldVertices/country-barbados",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_hcXRPES--C",
"type" : "is-in"
},
{
"_key" : "73518",
"_id" : "worldEdges/73518",
"_from" : "worldVertices/country-belgium",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEW---",
"type" : "is-in"
},
{
"_key" : "73520",
"_id" : "worldEdges/73520",
"_from" : "worldVertices/country-bhutan",
"_to" : "worldVertices/continent-asia",
"_rev" : "_hcXRPEW--_",
"type" : "is-in"
},
{
"_key" : "73522",
"_id" : "worldEdges/73522",
"_from" : "worldVertices/country-bolivia",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_hcXRPEW--A",
"type" : "is-in"
},
{
"_key" : "73524",
"_id" : "worldEdges/73524",
"_from" : "worldVertices/country-bosnia-and-herzegovina",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEW--B",
"type" : "is-in"
},
{
"_key" : "73526",
"_id" : "worldEdges/73526",
"_from" : "worldVertices/country-botswana",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEa---",
"type" : "is-in"
},
{
"_key" : "73528",
"_id" : "worldEdges/73528",
"_from" : "worldVertices/country-brazil",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_hcXRPEa--_",
"type" : "is-in"
},
{
"_key" : "73530",
"_id" : "worldEdges/73530",
"_from" : "worldVertices/country-brunei",
"_to" : "worldVertices/continent-asia",
"_rev" : "_hcXRPEa--A",
"type" : "is-in"
},
{
"_key" : "73532",
"_id" : "worldEdges/73532",
"_from" : "worldVertices/country-bulgaria",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEa--B",
"type" : "is-in"
},
{
"_key" : "73534",
"_id" : "worldEdges/73534",
"_from" : "worldVertices/country-burkina-faso",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEe---",
"type" : "is-in"
},
{
"_key" : "73536",
"_id" : "worldEdges/73536",
"_from" : "worldVertices/country-burundi",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEe--_",
"type" : "is-in"
},
{
"_key" : "73538",
"_id" : "worldEdges/73538",
"_from" : "worldVertices/country-cambodia",
"_to" : "worldVertices/continent-asia",
"_rev" : "_hcXRPEe--A",
"type" : "is-in"
},
{
"_key" : "73540",
"_id" : "worldEdges/73540",
"_from" : "worldVertices/country-cameroon",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEe--B",
"type" : "is-in"
},
{
"_key" : "73542",
"_id" : "worldEdges/73542",
"_from" : "worldVertices/country-canada",
"_to" : "worldVertices/continent-north-america",
"_rev" : "_hcXRPEi---",
"type" : "is-in"
},
{
"_key" : "73544",
"_id" : "worldEdges/73544",
"_from" : "worldVertices/country-chad",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEi--_",
"type" : "is-in"
},
{
"_key" : "73546",
"_id" : "worldEdges/73546",
"_from" : "worldVertices/country-chile",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_hcXRPEi--A",
"type" : "is-in"
},
{
"_key" : "73548",
"_id" : "worldEdges/73548",
"_from" : "worldVertices/country-colombia",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_hcXRPEi--B",
"type" : "is-in"
},
{
"_key" : "73550",
"_id" : "worldEdges/73550",
"_from" : "worldVertices/country-cote-d-ivoire",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEi--C",
"type" : "is-in"
},
{
"_key" : "73552",
"_id" : "worldEdges/73552",
"_from" : "worldVertices/country-croatia",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEm---",
"type" : "is-in"
},
{
"_key" : "73554",
"_id" : "worldEdges/73554",
"_from" : "worldVertices/country-czech-republic",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEm--_",
"type" : "is-in"
},
{
"_key" : "73556",
"_id" : "worldEdges/73556",
"_from" : "worldVertices/country-denmark",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEm--A",
"type" : "is-in"
},
{
"_key" : "73558",
"_id" : "worldEdges/73558",
"_from" : "worldVertices/country-ecuador",
"_to" : "worldVertices/continent-south-america",
"_rev" : "_hcXRPEm--B",
"type" : "is-in"
},
{
"_key" : "73560",
"_id" : "worldEdges/73560",
"_from" : "worldVertices/country-egypt",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEq---",
"type" : "is-in"
},
{
"_key" : "73562",
"_id" : "worldEdges/73562",
"_from" : "worldVertices/country-eritrea",
"_to" : "worldVertices/continent-africa",
"_rev" : "_hcXRPEq--_",
"type" : "is-in"
},
{
"_key" : "73564",
"_id" : "worldEdges/73564",
"_from" : "worldVertices/country-finland",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEq--A",
"type" : "is-in"
},
{
"_key" : "73566",
"_id" : "worldEdges/73566",
"_from" : "worldVertices/country-france",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEq--B",
"type" : "is-in"
},
{
"_key" : "73568",
"_id" : "worldEdges/73568",
"_from" : "worldVertices/country-germany",
"_to" : "worldVertices/continent-europe",
"_rev" : "_hcXRPEq--C",
"type" : "is-in"
},
{
"_key" : "73570",
"_id" : "worldEdges/73570",
"_from" : "worldVertices/country-people-s-republic-of-china",
"_to" : "worldVertices/continent-asia",
"_rev" : "_hcXRPEu---",
"type" : "is-in"
},
{
"_key" : "73572",
"_id" : "worldEdges/73572",
"_from" : "worldVertices/capital-algiers",
"_to" : "worldVertices/country-algeria",
"_rev" : "_hcXRPEu--_",
"type" : "is-in"
},
{
"_key" : "73574",
"_id" : "worldEdges/73574",
"_from" : "worldVertices/capital-andorra-la-vella",
"_to" : "worldVertices/country-andorra",
"_rev" : "_hcXRPEu--A",
"type" : "is-in"
},
{
"_key" : "73576",
"_id" : "worldEdges/73576",
"_from" : "worldVertices/capital-asmara",
"_to" : "worldVertices/country-eritrea",
"_rev" : "_hcXRPEu--B",
"type" : "is-in"
},
{
"_key" : "73578",
"_id" : "worldEdges/73578",
"_from" : "worldVertices/capital-bandar-seri-begawan",
"_to" : "worldVertices/country-brunei",
"_rev" : "_hcXRPEy---",
"type" : "is-in"
},
{
"_key" : "73580",
"_id" : "worldEdges/73580",
"_from" : "worldVertices/capital-beijing",
"_to" : "worldVertices/country-people-s-republic-of-china",
"_rev" : "_hcXRPEy--_",
"type" : "is-in"
},
{
"_key" : "73582",
"_id" : "worldEdges/73582",
"_from" : "worldVertices/capital-berlin",
"_to" : "worldVertices/country-germany",
"_rev" : "_hcXRPEy--A",
"type" : "is-in"
},
{
"_key" : "73584",
"_id" : "worldEdges/73584",
"_from" : "worldVertices/capital-bogota",
"_to" : "worldVertices/country-colombia",
"_rev" : "_hcXRPE2---",
"type" : "is-in"
},
{
"_key" : "73586",
"_id" : "worldEdges/73586",
"_from" : "worldVertices/capital-brasilia",
"_to" : "worldVertices/country-brazil",
"_rev" : "_hcXRPE2--_",
"type" : "is-in"
},
{
"_key" : "73588",
"_id" : "worldEdges/73588",
"_from" : "worldVertices/capital-bridgetown",
"_to" : "worldVertices/country-barbados",
"_rev" : "_hcXRPE2--A",
"type" : "is-in"
},
{
"_key" : "73590",
"_id" : "worldEdges/73590",
"_from" : "worldVertices/capital-brussels",
"_to" : "worldVertices/country-belgium",
"_rev" : "_hcXRPE2--B",
"type" : "is-in"
},
{
"_key" : "73592",
"_id" : "worldEdges/73592",
"_from" : "worldVertices/capital-buenos-aires",
"_to" : "worldVertices/country-argentina",
"_rev" : "_hcXRPE6---",
"type" : "is-in"
},
{
"_key" : "73594",
"_id" : "worldEdges/73594",
"_from" : "worldVertices/capital-bujumbura",
"_to" : "worldVertices/country-burundi",
"_rev" : "_hcXRPE6--_",
"type" : "is-in"
},
{
"_key" : "73596",
"_id" : "worldEdges/73596",
"_from" : "worldVertices/capital-cairo",
"_to" : "worldVertices/country-egypt",
"_rev" : "_hcXRPE6--A",
"type" : "is-in"
},
{
"_key" : "73598",
"_id" : "worldEdges/73598",
"_from" : "worldVertices/capital-canberra",
"_to" : "worldVertices/country-australia",
"_rev" : "_hcXRPF----",
"type" : "is-in"
},
{
"_key" : "73600",
"_id" : "worldEdges/73600",
"_from" : "worldVertices/capital-copenhagen",
"_to" : "worldVertices/country-denmark",
"_rev" : "_hcXRPF---_",
"type" : "is-in"
},
{
"_key" : "73602",
"_id" : "worldEdges/73602",
"_from" : "worldVertices/capital-dhaka",
"_to" : "worldVertices/country-bangladesh",
"_rev" : "_hcXRPF---A",
"type" : "is-in"
},
{
"_key" : "73604",
"_id" : "worldEdges/73604",
"_from" : "worldVertices/capital-gaborone",
"_to" : "worldVertices/country-botswana",
"_rev" : "_hcXRPF---B",
"type" : "is-in"
},
{
"_key" : "73606",
"_id" : "worldEdges/73606",
"_from" : "worldVertices/capital-helsinki",
"_to" : "worldVertices/country-finland",
"_rev" : "_hcXRPFC---",
"type" : "is-in"
},
{
"_key" : "73608",
"_id" : "worldEdges/73608",
"_from" : "worldVertices/capital-kabul",
"_to" : "worldVertices/country-afghanistan",
"_rev" : "_hcXRPFC--_",
"type" : "is-in"
},
{
"_key" : "73610",
"_id" : "worldEdges/73610",
"_from" : "worldVertices/capital-la-paz",
"_to" : "worldVertices/country-bolivia",
"_rev" : "_hcXRPFC--A",
"type" : "is-in"
},
{
"_key" : "73612",
"_id" : "worldEdges/73612",
"_from" : "worldVertices/capital-luanda",
"_to" : "worldVertices/country-angola",
"_rev" : "_hcXRPFG---",
"type" : "is-in"
},
{
"_key" : "73614",
"_id" : "worldEdges/73614",
"_from" : "worldVertices/capital-manama",
"_to" : "worldVertices/country-bahrain",
"_rev" : "_hcXRPFG--_",
"type" : "is-in"
},
{
"_key" : "73616",
"_id" : "worldEdges/73616",
"_from" : "worldVertices/capital-nassau",
"_to" : "worldVertices/country-bahamas",
"_rev" : "_hcXRPFG--A",
"type" : "is-in"
},
{
"_key" : "73618",
"_id" : "worldEdges/73618",
"_from" : "worldVertices/capital-n-djamena",
"_to" : "worldVertices/country-chad",
"_rev" : "_hcXRPFG--B",
"type" : "is-in"
},
{
"_key" : "73620",
"_id" : "worldEdges/73620",
"_from" : "worldVertices/capital-ottawa",
"_to" : "worldVertices/country-canada",
"_rev" : "_hcXRPFK---",
"type" : "is-in"
},
{
"_key" : "73622",
"_id" : "worldEdges/73622",
"_from" : "worldVertices/capital-ouagadougou",
"_to" : "worldVertices/country-burkina-faso",
"_rev" : "_hcXRPFK--_",
"type" : "is-in"
},
{
"_key" : "73624",
"_id" : "worldEdges/73624",
"_from" : "worldVertices/capital-paris",
"_to" : "worldVertices/country-france",
"_rev" : "_hcXRPFK--A",
"type" : "is-in"
},
{
"_key" : "73626",
"_id" : "worldEdges/73626",
"_from" : "worldVertices/capital-phnom-penh",
"_to" : "worldVertices/country-cambodia",
"_rev" : "_hcXRPFK--B",
"type" : "is-in"
},
{
"_key" : "73628",
"_id" : "worldEdges/73628",
"_from" : "worldVertices/capital-prague",
"_to" : "worldVertices/country-czech-republic",
"_rev" : "_hcXRPFO---",
"type" : "is-in"
},
{
"_key" : "73630",
"_id" : "worldEdges/73630",
"_from" : "worldVertices/capital-quito",
"_to" : "worldVertices/country-ecuador",
"_rev" : "_hcXRPFO--_",
"type" : "is-in"
},
{
"_key" : "73632",
"_id" : "worldEdges/73632",
"_from" : "worldVertices/capital-saint-john-s",
"_to" : "worldVertices/country-antigua-and-barbuda",
"_rev" : "_hcXRPFO--A",
"type" : "is-in"
},
{
"_key" : "73634",
"_id" : "worldEdges/73634",
"_from" : "worldVertices/capital-santiago",
"_to" : "worldVertices/country-chile",
"_rev" : "_hcXRPFO--B",
"type" : "is-in"
},
{
"_key" : "73636",
"_id" : "worldEdges/73636",
"_from" : "worldVertices/capital-sarajevo",
"_to" : "worldVertices/country-bosnia-and-herzegovina",
"_rev" : "_hcXRPFS---",
"type" : "is-in"
},
{
"_key" : "73638",
"_id" : "worldEdges/73638",
"_from" : "worldVertices/capital-sofia",
"_to" : "worldVertices/country-bulgaria",
"_rev" : "_hcXRPFS--_",
"type" : "is-in"
},
{
"_key" : "73640",
"_id" : "worldEdges/73640",
"_from" : "worldVertices/capital-thimphu",
"_to" : "worldVertices/country-bhutan",
"_rev" : "_hcXRPFS--A",
"type" : "is-in"
},
{
"_key" : "73642",
"_id" : "worldEdges/73642",
"_from" : "worldVertices/capital-tirana",
"_to" : "worldVertices/country-albania",
"_rev" : "_hcXRPFS--B",
"type" : "is-in"
},
{
"_key" : "73644",
"_id" : "worldEdges/73644",
"_from" : "worldVertices/capital-vienna",
"_to" : "worldVertices/country-austria",
"_rev" : "_hcXRPFS--C",
"type" : "is-in"
},
{
"_key" : "73646",
"_id" : "worldEdges/73646",
"_from" : "worldVertices/capital-yamoussoukro",
"_to" : "worldVertices/country-cote-d-ivoire",
"_rev" : "_hcXRPFW---",
"type" : "is-in"
},
{
"_key" : "73648",
"_id" : "worldEdges/73648",
"_from" : "worldVertices/capital-yaounde",
"_to" : "worldVertices/country-cameroon",
"_rev" : "_hcXRPFW--_",
"type" : "is-in"
},
{
"_key" : "73650",
"_id" : "worldEdges/73650",
"_from" : "worldVertices/capital-zagreb",
"_to" : "worldVertices/country-croatia",
"_rev" : "_hcXRPFW--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" : "_hcXRPMi---",
"name" : "Alice"
},
{
"_key" : "diana",
"_id" : "female/diana",
"_rev" : "_hcXRPMm--_",
"name" : "Diana"
}
]
[
{
"_key" : "bob",
"_id" : "male/bob",
"_rev" : "_hcXRPMi--_",
"name" : "Bob"
},
{
"_key" : "charly",
"_id" : "male/charly",
"_rev" : "_hcXRPMm---",
"name" : "Charly"
}
]
[
{
"_key" : "73976",
"_id" : "relation/73976",
"_from" : "female/alice",
"_to" : "male/bob",
"_rev" : "_hcXRPMm--A",
"type" : "married",
"vertex" : "alice"
},
{
"_key" : "73978",
"_id" : "relation/73978",
"_from" : "female/alice",
"_to" : "male/charly",
"_rev" : "_hcXRPMm--B",
"type" : "friend",
"vertex" : "alice"
},
{
"_key" : "73980",
"_id" : "relation/73980",
"_from" : "male/charly",
"_to" : "female/diana",
"_rev" : "_hcXRPMm--C",
"type" : "married",
"vertex" : "charly"
},
{
"_key" : "73982",
"_id" : "relation/73982",
"_from" : "male/bob",
"_to" : "female/diana",
"_rev" : "_hcXRPMq---",
"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" : "_hcXRPNu--_",
"population" : 80000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
4.84,
45.76
]
}
},
{
"_key" : "Paris",
"_id" : "frenchCity/Paris",
"_rev" : "_hcXRPNu--A",
"population" : 4000000,
"isCapital" : true,
"geometry" : {
"type" : "Point",
"coordinates" : [
2.3508,
48.8567
]
}
}
]
[
{
"_key" : "Berlin",
"_id" : "germanCity/Berlin",
"_rev" : "_hcXRPNq---",
"population" : 3000000,
"isCapital" : true,
"geometry" : {
"type" : "Point",
"coordinates" : [
13.3833,
52.5167
]
}
},
{
"_key" : "Cologne",
"_id" : "germanCity/Cologne",
"_rev" : "_hcXRPNq--_",
"population" : 1000000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
6.9528,
50.9364
]
}
},
{
"_key" : "Hamburg",
"_id" : "germanCity/Hamburg",
"_rev" : "_hcXRPNu---",
"population" : 1000000,
"isCapital" : false,
"geometry" : {
"type" : "Point",
"coordinates" : [
10.0014,
53.5653
]
}
}
]
[
{
"_key" : "74058",
"_id" : "germanHighway/74058",
"_from" : "germanCity/Berlin",
"_to" : "germanCity/Cologne",
"_rev" : "_hcXRPN2---",
"distance" : 850
},
{
"_key" : "74060",
"_id" : "germanHighway/74060",
"_from" : "germanCity/Berlin",
"_to" : "germanCity/Hamburg",
"_rev" : "_hcXRPN2--_",
"distance" : 400
},
{
"_key" : "74062",
"_id" : "germanHighway/74062",
"_from" : "germanCity/Hamburg",
"_to" : "germanCity/Cologne",
"_rev" : "_hcXRPN2--A",
"distance" : 500
}
]
[
{
"_key" : "74064",
"_id" : "frenchHighway/74064",
"_from" : "frenchCity/Paris",
"_to" : "frenchCity/Lyon",
"_rev" : "_hcXRPN6---",
"distance" : 550
}
]
[
{
"_key" : "74066",
"_id" : "internationalHighway/74066",
"_from" : "germanCity/Berlin",
"_to" : "frenchCity/Lyon",
"_rev" : "_hcXRPN6--_",
"distance" : 1100
},
{
"_key" : "74068",
"_id" : "internationalHighway/74068",
"_from" : "germanCity/Berlin",
"_to" : "frenchCity/Paris",
"_rev" : "_hcXRPN6--A",
"distance" : 1200
},
{
"_key" : "74070",
"_id" : "internationalHighway/74070",
"_from" : "germanCity/Hamburg",
"_to" : "frenchCity/Paris",
"_rev" : "_hcXRPN6--B",
"distance" : 900
},
{
"_key" : "74072",
"_id" : "internationalHighway/74072",
"_from" : "germanCity/Hamburg",
"_to" : "frenchCity/Lyon",
"_rev" : "_hcXRPO----",
"distance" : 1300
},
{
"_key" : "74074",
"_id" : "internationalHighway/74074",
"_from" : "germanCity/Cologne",
"_to" : "frenchCity/Lyon",
"_rev" : "_hcXRPO---_",
"distance" : 700
},
{
"_key" : "74076",
"_id" : "internationalHighway/74076",
"_from" : "germanCity/Cologne",
"_to" : "frenchCity/Paris",
"_rev" : "_hcXRPO---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" : "_hcXRPQq---"
},
{
"_key" : "A2",
"_id" : "components/A2",
"_rev" : "_hcXRPQu---"
},
{
"_key" : "A3",
"_id" : "components/A3",
"_rev" : "_hcXRPQu--_"
},
{
"_key" : "A4",
"_id" : "components/A4",
"_rev" : "_hcXRPQu--A"
},
{
"_key" : "B1",
"_id" : "components/B1",
"_rev" : "_hcXRPQy---"
},
{
"_key" : "B3",
"_id" : "components/B3",
"_rev" : "_hcXRPQy--_"
},
{
"_key" : "B2",
"_id" : "components/B2",
"_rev" : "_hcXRPQy--A"
},
{
"_key" : "B4",
"_id" : "components/B4",
"_rev" : "_hcXRPQy--B"
},
{
"_key" : "B6",
"_id" : "components/B6",
"_rev" : "_hcXRPQ2---"
},
{
"_key" : "B5",
"_id" : "components/B5",
"_rev" : "_hcXRPQ2--_"
},
{
"_key" : "B7",
"_id" : "components/B7",
"_rev" : "_hcXRPQ2--A"
},
{
"_key" : "B8",
"_id" : "components/B8",
"_rev" : "_hcXRPQ2--B"
},
{
"_key" : "B9",
"_id" : "components/B9",
"_rev" : "_hcXRPQ6---"
},
{
"_key" : "B10",
"_id" : "components/B10",
"_rev" : "_hcXRPQ6--_"
},
{
"_key" : "B19",
"_id" : "components/B19",
"_rev" : "_hcXRPQ6--A"
},
{
"_key" : "B11",
"_id" : "components/B11",
"_rev" : "_hcXRPQ6--B"
},
{
"_key" : "B12",
"_id" : "components/B12",
"_rev" : "_hcXRPR----"
},
{
"_key" : "B13",
"_id" : "components/B13",
"_rev" : "_hcXRPR---_"
},
{
"_key" : "B20",
"_id" : "components/B20",
"_rev" : "_hcXRPR---A"
},
{
"_key" : "B14",
"_id" : "components/B14",
"_rev" : "_hcXRPR---B"
},
{
"_key" : "B15",
"_id" : "components/B15",
"_rev" : "_hcXRPRC---"
},
{
"_key" : "B16",
"_id" : "components/B16",
"_rev" : "_hcXRPRC--_"
},
{
"_key" : "B17",
"_id" : "components/B17",
"_rev" : "_hcXRPRC--A"
},
{
"_key" : "B18",
"_id" : "components/B18",
"_rev" : "_hcXRPRC--B"
},
{
"_key" : "B21",
"_id" : "components/B21",
"_rev" : "_hcXRPRC--C"
},
{
"_key" : "B22",
"_id" : "components/B22",
"_rev" : "_hcXRPRG---"
},
{
"_key" : "C1",
"_id" : "components/C1",
"_rev" : "_hcXRPRG--_"
},
{
"_key" : "C2",
"_id" : "components/C2",
"_rev" : "_hcXRPRG--A"
},
{
"_key" : "C3",
"_id" : "components/C3",
"_rev" : "_hcXRPRG--B"
},
{
"_key" : "C4",
"_id" : "components/C4",
"_rev" : "_hcXRPRK---"
},
{
"_key" : "C5",
"_id" : "components/C5",
"_rev" : "_hcXRPRK--_"
},
{
"_key" : "C7",
"_id" : "components/C7",
"_rev" : "_hcXRPRK--A"
},
{
"_key" : "C6",
"_id" : "components/C6",
"_rev" : "_hcXRPRK--B"
},
{
"_key" : "C8",
"_id" : "components/C8",
"_rev" : "_hcXRPRO---"
},
{
"_key" : "C9",
"_id" : "components/C9",
"_rev" : "_hcXRPRO--_"
},
{
"_key" : "C10",
"_id" : "components/C10",
"_rev" : "_hcXRPRO--A"
}
]
[
{
"_key" : "74178",
"_id" : "connections/74178",
"_from" : "components/A1",
"_to" : "components/A2",
"_rev" : "_hcXRPRO--B"
},
{
"_key" : "74180",
"_id" : "connections/74180",
"_from" : "components/A2",
"_to" : "components/A3",
"_rev" : "_hcXRPRS---"
},
{
"_key" : "74182",
"_id" : "connections/74182",
"_from" : "components/A3",
"_to" : "components/A4",
"_rev" : "_hcXRPRS--_"
},
{
"_key" : "74184",
"_id" : "connections/74184",
"_from" : "components/A4",
"_to" : "components/A1",
"_rev" : "_hcXRPRS--A"
},
{
"_key" : "74186",
"_id" : "connections/74186",
"_from" : "components/B1",
"_to" : "components/B3",
"_rev" : "_hcXRPRW---"
},
{
"_key" : "74188",
"_id" : "connections/74188",
"_from" : "components/B2",
"_to" : "components/B4",
"_rev" : "_hcXRPRW--_"
},
{
"_key" : "74190",
"_id" : "connections/74190",
"_from" : "components/B3",
"_to" : "components/B6",
"_rev" : "_hcXRPRW--A"
},
{
"_key" : "74192",
"_id" : "connections/74192",
"_from" : "components/B4",
"_to" : "components/B3",
"_rev" : "_hcXRPRW--B"
},
{
"_key" : "74194",
"_id" : "connections/74194",
"_from" : "components/B4",
"_to" : "components/B5",
"_rev" : "_hcXRPRa---"
},
{
"_key" : "74196",
"_id" : "connections/74196",
"_from" : "components/B6",
"_to" : "components/B7",
"_rev" : "_hcXRPRa--_"
},
{
"_key" : "74198",
"_id" : "connections/74198",
"_from" : "components/B7",
"_to" : "components/B8",
"_rev" : "_hcXRPRa--A"
},
{
"_key" : "74200",
"_id" : "connections/74200",
"_from" : "components/B7",
"_to" : "components/B9",
"_rev" : "_hcXRPRa--B"
},
{
"_key" : "74202",
"_id" : "connections/74202",
"_from" : "components/B7",
"_to" : "components/B10",
"_rev" : "_hcXRPRa--C"
},
{
"_key" : "74204",
"_id" : "connections/74204",
"_from" : "components/B7",
"_to" : "components/B19",
"_rev" : "_hcXRPRe---"
},
{
"_key" : "74206",
"_id" : "connections/74206",
"_from" : "components/B11",
"_to" : "components/B10",
"_rev" : "_hcXRPRe--_"
},
{
"_key" : "74208",
"_id" : "connections/74208",
"_from" : "components/B12",
"_to" : "components/B11",
"_rev" : "_hcXRPRe--A"
},
{
"_key" : "74210",
"_id" : "connections/74210",
"_from" : "components/B13",
"_to" : "components/B12",
"_rev" : "_hcXRPRe--B"
},
{
"_key" : "74212",
"_id" : "connections/74212",
"_from" : "components/B13",
"_to" : "components/B20",
"_rev" : "_hcXRPRi---"
},
{
"_key" : "74214",
"_id" : "connections/74214",
"_from" : "components/B14",
"_to" : "components/B13",
"_rev" : "_hcXRPRi--_"
},
{
"_key" : "74216",
"_id" : "connections/74216",
"_from" : "components/B15",
"_to" : "components/B14",
"_rev" : "_hcXRPRi--A"
},
{
"_key" : "74218",
"_id" : "connections/74218",
"_from" : "components/B15",
"_to" : "components/B16",
"_rev" : "_hcXRPRi--B"
},
{
"_key" : "74220",
"_id" : "connections/74220",
"_from" : "components/B17",
"_to" : "components/B15",
"_rev" : "_hcXRPRi--C"
},
{
"_key" : "74222",
"_id" : "connections/74222",
"_from" : "components/B17",
"_to" : "components/B18",
"_rev" : "_hcXRPRm---"
},
{
"_key" : "74224",
"_id" : "connections/74224",
"_from" : "components/B19",
"_to" : "components/B17",
"_rev" : "_hcXRPRm--_"
},
{
"_key" : "74226",
"_id" : "connections/74226",
"_from" : "components/B20",
"_to" : "components/B21",
"_rev" : "_hcXRPRm--A"
},
{
"_key" : "74228",
"_id" : "connections/74228",
"_from" : "components/B20",
"_to" : "components/B22",
"_rev" : "_hcXRPRq---"
},
{
"_key" : "74230",
"_id" : "connections/74230",
"_from" : "components/C1",
"_to" : "components/C2",
"_rev" : "_hcXRPRq--_"
},
{
"_key" : "74232",
"_id" : "connections/74232",
"_from" : "components/C2",
"_to" : "components/C3",
"_rev" : "_hcXRPRq--A"
},
{
"_key" : "74234",
"_id" : "connections/74234",
"_from" : "components/C3",
"_to" : "components/C4",
"_rev" : "_hcXRPRu---"
},
{
"_key" : "74236",
"_id" : "connections/74236",
"_from" : "components/C4",
"_to" : "components/C5",
"_rev" : "_hcXRPRu--_"
},
{
"_key" : "74238",
"_id" : "connections/74238",
"_from" : "components/C4",
"_to" : "components/C7",
"_rev" : "_hcXRPRu--A"
},
{
"_key" : "74240",
"_id" : "connections/74240",
"_from" : "components/C5",
"_to" : "components/C6",
"_rev" : "_hcXRPRu--B"
},
{
"_key" : "74242",
"_id" : "connections/74242",
"_from" : "components/C5",
"_to" : "components/C7",
"_rev" : "_hcXRPRy---"
},
{
"_key" : "74244",
"_id" : "connections/74244",
"_from" : "components/C7",
"_to" : "components/C8",
"_rev" : "_hcXRPRy--_"
},
{
"_key" : "74246",
"_id" : "connections/74246",
"_from" : "components/C8",
"_to" : "components/C9",
"_rev" : "_hcXRPRy--A"
},
{
"_key" : "74248",
"_id" : "connections/74248",
"_from" : "components/C8",
"_to" : "components/C10",
"_rev" : "_hcXRPRy--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.