Skip to content

Instantly share code, notes, and snippets.

@nitaku
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nitaku/ce13928409f2bc476ea9 to your computer and use it in GitHub Desktop.
Save nitaku/ce13928409f2bc476ea9 to your computer and use it in GitHub Desktop.
DBpedia isometric "treemap"

An isometric word cloud showing depth (as height) and number of instances (as area) of the nodes of DBpedia's hierarchical ontology. Although it represents a tree and uses a treemap algorithm, this is not a real treemap: Hierarchical relations are not represented at all, since nodes are ordered only by depth and number of instances (i.e., siblings may fall into different parts of the diagram).

Unfortunately, the treemap algorithm does not succeed in making good aspect ratios for certain rectangles with a small instance count. In a 2D treemap, this would have completely no visible effect (except for hiding the class, of course), but with 2.5D we get ugly parallelepipedons with a really elongated top face. Also, some labels are barely readable because of a mismatch between string length and aspect ratio.

Despite these considerations, the diagram can be used to see the relative size of DBpedia's classes (in term of their child instances) while intuitively take their depth into account.

svg = d3.select('svg')
width = svg.node().getBoundingClientRect().width
height = svg.node().getBoundingClientRect().height
# append a group for zoomable content
zoomable_layer = svg.append('g')
# define a zoom behavior
zoom = d3.behavior.zoom()
.scaleExtent([1,100]) # min-max zoom
.on 'zoom', () ->
# GEOMETRIC ZOOM
zoomable_layer
.attr
transform: "translate(#{zoom.translate()})scale(#{zoom.scale()})"
# bind the zoom behavior to the main SVG
svg.call(zoom)
vis = zoomable_layer.append('g')
.attr
class: 'vis'
transform: "translate(#{width/2},#{height/3-90})"
# [x, y, h] -> [-Math.sqrt(3)/2*x+Math.sqrt(3)/2*y, 0.5*x+0.5*y-h]
isometric = (_3d_p) -> [-Math.sqrt(3)/2*_3d_p[0]+Math.sqrt(3)/2*_3d_p[1], +0.5*_3d_p[0]+0.5*_3d_p[1]-_3d_p[2]]
parallelepipedon = (d) ->
d.x = 0 if not d.x?
d.y = 0 if not d.y?
d.h = 0 if not d.h?
d.dx = 10 if not d.dx?
d.dy = 10 if not d.dy?
d.dh = 10 if not d.dh?
fb = isometric [d.x, d.y, d.h],
mlb = isometric [d.x+d.dx, d.y, d.h],
nb = isometric [d.x+d.dx, d.y+d.dy, d.h],
mrb = isometric [d.x, d.y+d.dy, d.h],
ft = isometric [d.x, d.y, d.h+d.dh],
mlt = isometric [d.x+d.dx, d.y, d.h+d.dh],
nt = isometric [d.x+d.dx, d.y+d.dy, d.h+d.dh],
mrt = isometric [d.x, d.y+d.dy, d.h+d.dh]
d.iso = {
face_bottom: [fb, mrb, nb, mlb],
face_left: [mlb, mlt, nt, nb],
face_right: [nt, mrt, mrb, nb],
face_top: [ft, mrt, nt, mlt],
outline: [ft, mrt, mrb, nb, mlb, mlt],
fb: fb,
mlb: mlb,
nb: nb,
mrb: mrb,
ft: ft,
mlt: mlt,
nt: nt,
mrt: mrt
}
return d
ordering = (a,b) ->
# order by level
if b.dh isnt a.dh
return b.dh - a.dh
# if equal, order by leaf_count
if b.leaf_count isnt a.leaf_count
return b.leaf_count - a.leaf_count
# if all else fails, use the original ordering
return b.i - a.i
iso_layout = (data, shape, scale) ->
scale = 1 if not scale?
data.forEach (d) ->
shape(d, scale)
# this uses the treemap ordering in some way... (!!!)
# also, use the index to obtain a total ordering
data.sort ordering
path_generator = (d) -> 'M' + d.map((p)->p.join(' ')).join('L') + 'z'
treemap = d3.layout.treemap()
.size([400, 400])
.value((d) -> d.leaf_count)
.sort((a,b) -> ordering(b,a)) # same as before, but inverted
.ratio(4)
.round(false) # bugfix: d3 wrong ordering
color = d3.scale.category20b()
correct_x = d3.scale.linear()
.domain([0, width])
.range([0, width*1.05])
correct_y = d3.scale.linear()
.domain([0, height])
.range([0, height*3/4])
d3.json 'ontology_canonical.json', (tree) ->
data = []
walk = (n, depth) ->
# skip empty nodes
if n.leaf_count > 0
name_arr = n.name.split('/')
word = name_arr[name_arr.length-1]
data.push {
word: word,
leaf_count: n.leaf_count,
level: depth,
dh: 6*depth
}
if n.children?
for child in n.children
walk(child, depth+1)
walk(tree, 0)
data.forEach (d, i) ->
d.i = i
data = treemap.nodes({children: data}).filter (n) -> n.depth is 1
iso_layout(data, parallelepipedon)
data.forEach (d, i) ->
# save the template color
d.template_color = d3.hcl(color(d.i))
pipedons = vis.selectAll('.pipedon')
.data(data)
enter_pipedons = pipedons.enter().append('g')
.attr
class: 'pipedon'
enter_pipedons.append('path')
.attr
class: 'iso face bottom'
d: (d) -> path_generator(d.iso.face_bottom)
enter_pipedons.append('path')
.attr
class: 'iso face left'
d: (d) -> path_generator(d.iso.face_left)
fill: (d) -> d.template_color
enter_pipedons.append('path')
.attr
class: 'iso face right'
d: (d) -> path_generator(d.iso.face_right)
fill: (d) -> d3.hcl(d.template_color.h, d.template_color.c, d.template_color.l-12)
enter_pipedons.append('path')
.attr
class: 'iso face top'
d: (d) -> path_generator(d.iso.face_top)
fill: (d) -> d3.hcl(d.template_color.h, d.template_color.c, d.template_color.l+12)
enter_labels_g = enter_pipedons.append('g')
enter_labels = enter_labels_g.append('svg')
.attr
class: 'label'
enter_labels.append('text')
.text((d) -> d.word.toUpperCase())
.attr
dy: '.35em'
.each (node) ->
bbox = this.getBBox()
bbox_aspect = bbox.width / bbox.height
node_bbox = {width: node.dx, height: node.dy}
node_bbox_aspect = node_bbox.width / node_bbox.height
rotate = bbox_aspect >= 1 and node_bbox_aspect < 1 or bbox_aspect < 1 and node_bbox_aspect >= 1
node.label_bbox = {
x: bbox.x+(bbox.width-correct_x(bbox.width))/2,
y: bbox.y+(bbox.height-correct_y(bbox.height))/2,
width: correct_x(bbox.width),
height: correct_y(bbox.height)
}
if rotate
node.label_bbox = {
x: node.label_bbox.y,
y: node.label_bbox.x,
width: node.label_bbox.height,
height: node.label_bbox.width
}
d3.select(this).attr('transform', 'rotate(90) translate(0,1)')
enter_labels
.each (d) ->
d.iso_x = isometric([d.x+d.dx/2, d.y+d.dy/2, d.h+d.dh])[0]-d.dx/2
d.iso_y = isometric([d.x+d.dx/2, d.y+d.dy/2, d.h+d.dh])[1]-d.dy/2
enter_labels
.attr
x: (d) -> d.iso_x
y: (d) -> d.iso_y
width: (node) -> node.dx
height: (node) -> node.dy
viewBox: (node) -> "#{node.label_bbox.x} #{node.label_bbox.y} #{node.label_bbox.width} #{node.label_bbox.height}"
preserveAspectRatio: 'none'
fill: (d) -> d3.hcl(d.template_color.h, d.template_color.c, d.template_color.l-12)
enter_labels_g
.attr
transform: (d) -> "translate(#{d.iso_x+d.dx/2},#{d.iso_y+d.dy/2}) scale(1, #{1/Math.sqrt(3)}) rotate(-45) translate(#{-(d.iso_x+d.dx/2)},#{-(d.iso_y+d.dy/2)})"
enter_pipedons.append('path')
.attr
class: 'iso outline'
d: (d) -> path_generator(d.iso.outline)
enter_pipedons.append('title')
.text((d) -> "#{d.word} class\n#{d3.format(',d')(d.leaf_count)} child instances\nLevel #{d.level}")
.iso.outline {
stroke: #333;
fill: none;
vector-effect: non-scaling-stroke;
}
.label {
pointer-events: none;
text-anchor: middle;
font-family: Impact;
}
.pipedon:hover .label {
fill: black;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DBpedia isometric "treemap"</title>
<link type="text/css" href="index.css" rel="stylesheet"/>
<script src="http://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<svg width="960px" height="500px"></svg>
<script src="index.js"></script>
</body>
</html>
// Generated by CoffeeScript 1.4.0
(function() {
var color, correct_x, correct_y, height, iso_layout, isometric, ordering, parallelepipedon, path_generator, svg, treemap, vis, width, zoom, zoomable_layer;
svg = d3.select('svg');
width = svg.node().getBoundingClientRect().width;
height = svg.node().getBoundingClientRect().height;
zoomable_layer = svg.append('g');
zoom = d3.behavior.zoom().scaleExtent([1, 100]).on('zoom', function() {
return zoomable_layer.attr({
transform: "translate(" + (zoom.translate()) + ")scale(" + (zoom.scale()) + ")"
});
});
svg.call(zoom);
vis = zoomable_layer.append('g').attr({
"class": 'vis',
transform: "translate(" + (width / 2) + "," + (height / 3 - 90) + ")"
});
isometric = function(_3d_p) {
return [-Math.sqrt(3) / 2 * _3d_p[0] + Math.sqrt(3) / 2 * _3d_p[1], +0.5 * _3d_p[0] + 0.5 * _3d_p[1] - _3d_p[2]];
};
parallelepipedon = function(d) {
var fb, ft, mlb, mlt, mrb, mrt, nb, nt;
if (!(d.x != null)) {
d.x = 0;
}
if (!(d.y != null)) {
d.y = 0;
}
if (!(d.h != null)) {
d.h = 0;
}
if (!(d.dx != null)) {
d.dx = 10;
}
if (!(d.dy != null)) {
d.dy = 10;
}
if (!(d.dh != null)) {
d.dh = 10;
}
fb = isometric([d.x, d.y, d.h], mlb = isometric([d.x + d.dx, d.y, d.h], nb = isometric([d.x + d.dx, d.y + d.dy, d.h], mrb = isometric([d.x, d.y + d.dy, d.h], ft = isometric([d.x, d.y, d.h + d.dh], mlt = isometric([d.x + d.dx, d.y, d.h + d.dh], nt = isometric([d.x + d.dx, d.y + d.dy, d.h + d.dh], mrt = isometric([d.x, d.y + d.dy, d.h + d.dh]))))))));
d.iso = {
face_bottom: [fb, mrb, nb, mlb],
face_left: [mlb, mlt, nt, nb],
face_right: [nt, mrt, mrb, nb],
face_top: [ft, mrt, nt, mlt],
outline: [ft, mrt, mrb, nb, mlb, mlt],
fb: fb,
mlb: mlb,
nb: nb,
mrb: mrb,
ft: ft,
mlt: mlt,
nt: nt,
mrt: mrt
};
return d;
};
ordering = function(a, b) {
if (b.dh !== a.dh) {
return b.dh - a.dh;
}
if (b.leaf_count !== a.leaf_count) {
return b.leaf_count - a.leaf_count;
}
return b.i - a.i;
};
iso_layout = function(data, shape, scale) {
if (!(scale != null)) {
scale = 1;
}
data.forEach(function(d) {
return shape(d, scale);
});
return data.sort(ordering);
};
path_generator = function(d) {
return 'M' + d.map(function(p) {
return p.join(' ');
}).join('L') + 'z';
};
treemap = d3.layout.treemap().size([400, 400]).value(function(d) {
return d.leaf_count;
}).sort(function(a, b) {
return ordering(b, a);
}).ratio(4).round(false);
color = d3.scale.category20b();
correct_x = d3.scale.linear().domain([0, width]).range([0, width * 1.05]);
correct_y = d3.scale.linear().domain([0, height]).range([0, height * 3 / 4]);
d3.json('ontology_canonical.json', function(tree) {
var data, enter_labels, enter_labels_g, enter_pipedons, pipedons, walk;
data = [];
walk = function(n, depth) {
var child, name_arr, word, _i, _len, _ref, _results;
if (n.leaf_count > 0) {
name_arr = n.name.split('/');
word = name_arr[name_arr.length - 1];
data.push({
word: word,
leaf_count: n.leaf_count,
level: depth,
dh: 6 * depth
});
}
if (n.children != null) {
_ref = n.children;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
child = _ref[_i];
_results.push(walk(child, depth + 1));
}
return _results;
}
};
walk(tree, 0);
data.forEach(function(d, i) {
return d.i = i;
});
data = treemap.nodes({
children: data
}).filter(function(n) {
return n.depth === 1;
});
iso_layout(data, parallelepipedon);
data.forEach(function(d, i) {
return d.template_color = d3.hcl(color(d.i));
});
pipedons = vis.selectAll('.pipedon').data(data);
enter_pipedons = pipedons.enter().append('g').attr({
"class": 'pipedon'
});
enter_pipedons.append('path').attr({
"class": 'iso face bottom',
d: function(d) {
return path_generator(d.iso.face_bottom);
}
});
enter_pipedons.append('path').attr({
"class": 'iso face left',
d: function(d) {
return path_generator(d.iso.face_left);
},
fill: function(d) {
return d.template_color;
}
});
enter_pipedons.append('path').attr({
"class": 'iso face right',
d: function(d) {
return path_generator(d.iso.face_right);
},
fill: function(d) {
return d3.hcl(d.template_color.h, d.template_color.c, d.template_color.l - 12);
}
});
enter_pipedons.append('path').attr({
"class": 'iso face top',
d: function(d) {
return path_generator(d.iso.face_top);
},
fill: function(d) {
return d3.hcl(d.template_color.h, d.template_color.c, d.template_color.l + 12);
}
});
enter_labels_g = enter_pipedons.append('g');
enter_labels = enter_labels_g.append('svg').attr({
"class": 'label'
});
enter_labels.append('text').text(function(d) {
return d.word.toUpperCase();
}).attr({
dy: '.35em'
}).each(function(node) {
var bbox, bbox_aspect, node_bbox, node_bbox_aspect, rotate;
bbox = this.getBBox();
bbox_aspect = bbox.width / bbox.height;
node_bbox = {
width: node.dx,
height: node.dy
};
node_bbox_aspect = node_bbox.width / node_bbox.height;
rotate = bbox_aspect >= 1 && node_bbox_aspect < 1 || bbox_aspect < 1 && node_bbox_aspect >= 1;
node.label_bbox = {
x: bbox.x + (bbox.width - correct_x(bbox.width)) / 2,
y: bbox.y + (bbox.height - correct_y(bbox.height)) / 2,
width: correct_x(bbox.width),
height: correct_y(bbox.height)
};
if (rotate) {
node.label_bbox = {
x: node.label_bbox.y,
y: node.label_bbox.x,
width: node.label_bbox.height,
height: node.label_bbox.width
};
return d3.select(this).attr('transform', 'rotate(90) translate(0,1)');
}
});
enter_labels.each(function(d) {
d.iso_x = isometric([d.x + d.dx / 2, d.y + d.dy / 2, d.h + d.dh])[0] - d.dx / 2;
return d.iso_y = isometric([d.x + d.dx / 2, d.y + d.dy / 2, d.h + d.dh])[1] - d.dy / 2;
});
enter_labels.attr({
x: function(d) {
return d.iso_x;
},
y: function(d) {
return d.iso_y;
},
width: function(node) {
return node.dx;
},
height: function(node) {
return node.dy;
},
viewBox: function(node) {
return "" + node.label_bbox.x + " " + node.label_bbox.y + " " + node.label_bbox.width + " " + node.label_bbox.height;
},
preserveAspectRatio: 'none',
fill: function(d) {
return d3.hcl(d.template_color.h, d.template_color.c, d.template_color.l - 12);
}
});
enter_labels_g.attr({
transform: function(d) {
return "translate(" + (d.iso_x + d.dx / 2) + "," + (d.iso_y + d.dy / 2) + ") scale(1, " + (1 / Math.sqrt(3)) + ") rotate(-45) translate(" + (-(d.iso_x + d.dx / 2)) + "," + (-(d.iso_y + d.dy / 2)) + ")";
}
});
enter_pipedons.append('path').attr({
"class": 'iso outline',
d: function(d) {
return path_generator(d.iso.outline);
}
});
return enter_pipedons.append('title').text(function(d) {
return "" + d.word + " class\n" + (d3.format(',d')(d.leaf_count)) + " child instances\nLevel " + d.level;
});
});
}).call(this);
{"name": "http://www.w3.org/2002/07/owl#Thing", "leaf_count": 533, "children": [{"name": "http://dbpedia.org/ontology/Place", "leaf_count": 9175, "children": [{"name": "http://dbpedia.org/ontology/PopulatedPlace", "leaf_count": 6, "children": [{"name": "http://dbpedia.org/ontology/Region", "leaf_count": 2, "children": [{"name": "http://dbpedia.org/ontology/AdministrativeRegion", "leaf_count": 18599, "children": [{"name": "http://dbpedia.org/ontology/ClericalAdministrativeRegion", "leaf_count": 2, "children": [{"name": "http://dbpedia.org/ontology/Diocese", "leaf_count": 3049}]}, {"name": "http://dbpedia.org/ontology/GovernmentalAdministrativeRegion", "leaf_count": 6, "children": [{"name": "http://dbpedia.org/ontology/Department", "leaf_count": 1}, {"name": "http://dbpedia.org/ontology/District", "leaf_count": 1}, {"name": "http://dbpedia.org/ontology/Municipality", "leaf_count": 1}, {"name": "http://dbpedia.org/ontology/Province", "leaf_count": 1}]}]}]}, {"name": "http://dbpedia.org/ontology/Settlement", "leaf_count": 225439, "children": [{"name": "http://dbpedia.org/ontology/Village", "leaf_count": 160111}, {"name": "http://dbpedia.org/ontology/Town", "leaf_count": 43038}, {"name": "http://dbpedia.org/ontology/City", "leaf_count": 20895}]}, {"name": "http://dbpedia.org/ontology/Island", "leaf_count": 4100}, {"name": "http://dbpedia.org/ontology/Country", "leaf_count": 3109}, {"name": "http://dbpedia.org/ontology/Continent", "leaf_count": 17}, {"name": "http://dbpedia.org/ontology/Territory", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/NaturalPlace", "leaf_count": 4, "children": [{"name": "http://dbpedia.org/ontology/BodyOfWater", "leaf_count": 599, "children": [{"name": "http://dbpedia.org/ontology/Stream", "leaf_count": 39, "children": [{"name": "http://dbpedia.org/ontology/River", "leaf_count": 26295}, {"name": "http://dbpedia.org/ontology/Canal", "leaf_count": 287}]}, {"name": "http://dbpedia.org/ontology/Lake", "leaf_count": 10669}]}, {"name": "http://dbpedia.org/ontology/Mountain", "leaf_count": 13772}, {"name": "http://dbpedia.org/ontology/MountainRange", "leaf_count": 2220}, {"name": "http://dbpedia.org/ontology/Crater", "leaf_count": 2130}, {"name": "http://dbpedia.org/ontology/MountainPass", "leaf_count": 976}, {"name": "http://dbpedia.org/ontology/Volcano", "leaf_count": 786}, {"name": "http://dbpedia.org/ontology/Glacier", "leaf_count": 642}, {"name": "http://dbpedia.org/ontology/Cave", "leaf_count": 402}, {"name": "http://dbpedia.org/ontology/Valley", "leaf_count": 123}]}, {"name": "http://dbpedia.org/ontology/ArchitecturalStructure", "leaf_count": 371, "children": [{"name": "http://dbpedia.org/ontology/Infrastructure", "leaf_count": 2, "children": [{"name": "http://dbpedia.org/ontology/RouteOfTransportation", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Road", "leaf_count": 18765}, {"name": "http://dbpedia.org/ontology/Bridge", "leaf_count": 3543}, {"name": "http://dbpedia.org/ontology/RailwayLine", "leaf_count": 2791}, {"name": "http://dbpedia.org/ontology/RoadTunnel", "leaf_count": 191}, {"name": "http://dbpedia.org/ontology/RoadJunction", "leaf_count": 134}, {"name": "http://dbpedia.org/ontology/RailwayTunnel", "leaf_count": 132}, {"name": "http://dbpedia.org/ontology/WaterwayTunnel", "leaf_count": 19}]}, {"name": "http://dbpedia.org/ontology/Station", "leaf_count": 21435, "children": [{"name": "http://dbpedia.org/ontology/RailwayStation", "leaf_count": 6816}]}, {"name": "http://dbpedia.org/ontology/Airport", "leaf_count": 13649}, {"name": "http://dbpedia.org/ontology/Dam", "leaf_count": 2769}, {"name": "http://dbpedia.org/ontology/PowerStation", "leaf_count": 2436}, {"name": "http://dbpedia.org/ontology/LaunchPad", "leaf_count": 83}]}, {"name": "http://dbpedia.org/ontology/Building", "leaf_count": 45119, "children": [{"name": "http://dbpedia.org/ontology/HistoricBuilding", "leaf_count": 6250}, {"name": "http://dbpedia.org/ontology/Museum", "leaf_count": 4195}, {"name": "http://dbpedia.org/ontology/ReligiousBuilding", "leaf_count": 3468}, {"name": "http://dbpedia.org/ontology/Hospital", "leaf_count": 2618}, {"name": "http://dbpedia.org/ontology/ShoppingMall", "leaf_count": 2444}, {"name": "http://dbpedia.org/ontology/Castle", "leaf_count": 1282}, {"name": "http://dbpedia.org/ontology/Restaurant", "leaf_count": 1213}, {"name": "http://dbpedia.org/ontology/Hotel", "leaf_count": 1111}, {"name": "http://dbpedia.org/ontology/Prison", "leaf_count": 885}, {"name": "http://dbpedia.org/ontology/Skyscraper", "leaf_count": 3}]}, {"name": "http://dbpedia.org/ontology/Tower", "leaf_count": 1, "children": [{"name": "http://dbpedia.org/ontology/Lighthouse", "leaf_count": 1535}]}, {"name": "http://dbpedia.org/ontology/Venue", "leaf_count": 818, "children": [{"name": "http://dbpedia.org/ontology/Theatre", "leaf_count": 1333}]}, {"name": "http://dbpedia.org/ontology/AmusementParkAttraction", "leaf_count": 500, "children": [{"name": "http://dbpedia.org/ontology/RollerCoaster", "leaf_count": 692}, {"name": "http://dbpedia.org/ontology/WaterRide", "leaf_count": 73}]}, {"name": "http://dbpedia.org/ontology/MilitaryStructure", "leaf_count": 3537}, {"name": "http://dbpedia.org/ontology/Tunnel", "leaf_count": 59}, {"name": "http://dbpedia.org/ontology/Mill", "leaf_count": 4}]}, {"name": "http://dbpedia.org/ontology/SportFacility", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/RaceTrack", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Racecourse", "leaf_count": 215}]}, {"name": "http://dbpedia.org/ontology/Stadium", "leaf_count": 8623}, {"name": "http://dbpedia.org/ontology/GolfCourse", "leaf_count": 366}, {"name": "http://dbpedia.org/ontology/CricketGround", "leaf_count": 265}]}, {"name": "http://dbpedia.org/ontology/HistoricPlace", "leaf_count": 14012}, {"name": "http://dbpedia.org/ontology/ProtectedArea", "leaf_count": 8305}, {"name": "http://dbpedia.org/ontology/Park", "leaf_count": 2844}, {"name": "http://dbpedia.org/ontology/WorldHeritageSite", "leaf_count": 1025}, {"name": "http://dbpedia.org/ontology/SiteOfSpecialScientificInterest", "leaf_count": 1008}, {"name": "http://dbpedia.org/ontology/SkiArea", "leaf_count": 605}, {"name": "http://dbpedia.org/ontology/Garden", "leaf_count": 379}, {"name": "http://dbpedia.org/ontology/Monument", "leaf_count": 362}, {"name": "http://dbpedia.org/ontology/WineRegion", "leaf_count": 345}, {"name": "http://dbpedia.org/ontology/Mine", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/Agent", "leaf_count": 1876, "children": [{"name": "http://dbpedia.org/ontology/Person", "leaf_count": 587317, "children": [{"name": "http://dbpedia.org/ontology/Athlete", "leaf_count": 25166, "children": [{"name": "http://dbpedia.org/ontology/MotorsportRacer", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/RacingDriver", "leaf_count": 2021, "children": [{"name": "http://dbpedia.org/ontology/NascarDriver", "leaf_count": 920}, {"name": "http://dbpedia.org/ontology/FormulaOneRacer", "leaf_count": 852}]}, {"name": "http://dbpedia.org/ontology/MotorcycleRider", "leaf_count": 1035, "children": [{"name": "http://dbpedia.org/ontology/SpeedwayRider", "leaf_count": 654}]}]}, {"name": "http://dbpedia.org/ontology/GridironFootballPlayer", "leaf_count": 6843, "children": [{"name": "http://dbpedia.org/ontology/AmericanFootballPlayer", "leaf_count": 13909}]}, {"name": "http://dbpedia.org/ontology/Wrestler", "leaf_count": 3371, "children": [{"name": "http://dbpedia.org/ontology/SumoWrestler", "leaf_count": 457}]}, {"name": "http://dbpedia.org/ontology/Boxer", "leaf_count": 3350, "children": [{"name": "http://dbpedia.org/ontology/AmateurBoxer", "leaf_count": 407}]}, {"name": "http://dbpedia.org/ontology/VolleyballPlayer", "leaf_count": 1211, "children": [{"name": "http://dbpedia.org/ontology/BeachVolleyballPlayer", "leaf_count": 128}]}, {"name": "http://dbpedia.org/ontology/SnookerPlayer", "leaf_count": 281, "children": [{"name": "http://dbpedia.org/ontology/SnookerChamp", "leaf_count": 24}]}, {"name": "http://dbpedia.org/ontology/SoccerPlayer", "leaf_count": 96693}, {"name": "http://dbpedia.org/ontology/BaseballPlayer", "leaf_count": 20686}, {"name": "http://dbpedia.org/ontology/IceHockeyPlayer", "leaf_count": 13866}, {"name": "http://dbpedia.org/ontology/Cricketer", "leaf_count": 13504}, {"name": "http://dbpedia.org/ontology/RugbyPlayer", "leaf_count": 12500}, {"name": "http://dbpedia.org/ontology/BasketballPlayer", "leaf_count": 8152}, {"name": "http://dbpedia.org/ontology/AustralianRulesFootballPlayer", "leaf_count": 6837}, {"name": "http://dbpedia.org/ontology/Cyclist", "leaf_count": 4779}, {"name": "http://dbpedia.org/ontology/TennisPlayer", "leaf_count": 4025}, {"name": "http://dbpedia.org/ontology/Swimmer", "leaf_count": 3638}, {"name": "http://dbpedia.org/ontology/GaelicGamesPlayer", "leaf_count": 3179}, {"name": "http://dbpedia.org/ontology/FigureSkater", "leaf_count": 2770}, {"name": "http://dbpedia.org/ontology/MartialArtist", "leaf_count": 2768}, {"name": "http://dbpedia.org/ontology/GolfPlayer", "leaf_count": 2704}, {"name": "http://dbpedia.org/ontology/Skier", "leaf_count": 2141}, {"name": "http://dbpedia.org/ontology/HandballPlayer", "leaf_count": 1226}, {"name": "http://dbpedia.org/ontology/ChessPlayer", "leaf_count": 1220}, {"name": "http://dbpedia.org/ontology/Gymnast", "leaf_count": 1180}, {"name": "http://dbpedia.org/ontology/PokerPlayer", "leaf_count": 636}, {"name": "http://dbpedia.org/ontology/BadmintonPlayer", "leaf_count": 595}, {"name": "http://dbpedia.org/ontology/Curler", "leaf_count": 591}, {"name": "http://dbpedia.org/ontology/Canoeist", "leaf_count": 523}, {"name": "http://dbpedia.org/ontology/Jockey", "leaf_count": 475}, {"name": "http://dbpedia.org/ontology/DartsPlayer", "leaf_count": 469}, {"name": "http://dbpedia.org/ontology/TableTennisPlayer", "leaf_count": 469}, {"name": "http://dbpedia.org/ontology/HorseRider", "leaf_count": 436}, {"name": "http://dbpedia.org/ontology/SquashPlayer", "leaf_count": 372}, {"name": "http://dbpedia.org/ontology/LacrossePlayer", "leaf_count": 350}, {"name": "http://dbpedia.org/ontology/Skater", "leaf_count": 316}, {"name": "http://dbpedia.org/ontology/NationalCollegiateAthleticAssociationAthlete", "leaf_count": 308}, {"name": "http://dbpedia.org/ontology/Rower", "leaf_count": 280}, {"name": "http://dbpedia.org/ontology/NetballPlayer", "leaf_count": 248}, {"name": "http://dbpedia.org/ontology/Bodybuilder", "leaf_count": 217}]}, {"name": "http://dbpedia.org/ontology/Artist", "leaf_count": 11006, "children": [{"name": "http://dbpedia.org/ontology/MusicalArtist", "leaf_count": 44611, "children": [{"name": "http://dbpedia.org/ontology/Instrumentalist", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Guitarist", "leaf_count": 149}]}, {"name": "http://dbpedia.org/ontology/ClassicalMusicArtist", "leaf_count": 332}]}, {"name": "http://dbpedia.org/ontology/Actor", "leaf_count": 4433, "children": [{"name": "http://dbpedia.org/ontology/AdultActor", "leaf_count": 1497}, {"name": "http://dbpedia.org/ontology/VoiceActor", "leaf_count": 571}]}, {"name": "http://dbpedia.org/ontology/Writer", "leaf_count": 24993, "children": [{"name": "http://dbpedia.org/ontology/ScreenWriter", "leaf_count": 683}, {"name": "http://dbpedia.org/ontology/Poet", "leaf_count": 322}]}, {"name": "http://dbpedia.org/ontology/Painter", "leaf_count": 2885}, {"name": "http://dbpedia.org/ontology/ComicsCreator", "leaf_count": 2542}, {"name": "http://dbpedia.org/ontology/Comedian", "leaf_count": 1158}, {"name": "http://dbpedia.org/ontology/FashionDesigner", "leaf_count": 656}, {"name": "http://dbpedia.org/ontology/Photographer", "leaf_count": 453}]}, {"name": "http://dbpedia.org/ontology/Royalty", "leaf_count": 1, "children": [{"name": "http://dbpedia.org/ontology/BritishRoyalty", "leaf_count": 8089, "children": [{"name": "http://dbpedia.org/ontology/Baronet", "leaf_count": 582}]}]}, {"name": "http://dbpedia.org/ontology/FictionalCharacter", "leaf_count": 3935, "children": [{"name": "http://dbpedia.org/ontology/ComicsCharacter", "leaf_count": 4246, "children": [{"name": "http://dbpedia.org/ontology/AnimangaCharacter", "leaf_count": 232}]}, {"name": "http://dbpedia.org/ontology/SoapCharacter", "leaf_count": 2524}]}, {"name": "http://dbpedia.org/ontology/OrganisationMember", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/SportsTeamMember", "leaf_count": 279134}]}, {"name": "http://dbpedia.org/ontology/SportsManager", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/SoccerManager", "leaf_count": 14578}]}, {"name": "http://dbpedia.org/ontology/Politician", "leaf_count": 18840, "children": [{"name": "http://dbpedia.org/ontology/MemberOfParliament", "leaf_count": 9139}, {"name": "http://dbpedia.org/ontology/Congressman", "leaf_count": 3296}, {"name": "http://dbpedia.org/ontology/Governor", "leaf_count": 2558}, {"name": "http://dbpedia.org/ontology/President", "leaf_count": 2206}, {"name": "http://dbpedia.org/ontology/Mayor", "leaf_count": 1789}, {"name": "http://dbpedia.org/ontology/PrimeMinister", "leaf_count": 1505}, {"name": "http://dbpedia.org/ontology/Senator", "leaf_count": 928}, {"name": "http://dbpedia.org/ontology/Chancellor", "leaf_count": 86}]}, {"name": "http://dbpedia.org/ontology/Coach", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/CollegeCoach", "leaf_count": 6166}, {"name": "http://dbpedia.org/ontology/AmericanFootballCoach", "leaf_count": 329}, {"name": "http://dbpedia.org/ontology/VolleyballCoach", "leaf_count": 29}]}, {"name": "http://dbpedia.org/ontology/Cleric", "leaf_count": 2144, "children": [{"name": "http://dbpedia.org/ontology/ChristianBishop", "leaf_count": 5818}, {"name": "http://dbpedia.org/ontology/Saint", "leaf_count": 3302}, {"name": "http://dbpedia.org/ontology/Cardinal", "leaf_count": 927}, {"name": "http://dbpedia.org/ontology/Pope", "leaf_count": 394}]}, {"name": "http://dbpedia.org/ontology/Scientist", "leaf_count": 17558, "children": [{"name": "http://dbpedia.org/ontology/Entomologist", "leaf_count": 375}, {"name": "http://dbpedia.org/ontology/Medician", "leaf_count": 301}]}, {"name": "http://dbpedia.org/ontology/Presenter", "leaf_count": 101, "children": [{"name": "http://dbpedia.org/ontology/RadioHost", "leaf_count": 318}, {"name": "http://dbpedia.org/ontology/TelevisionHost", "leaf_count": 43}]}, {"name": "http://dbpedia.org/ontology/Criminal", "leaf_count": 2199, "children": [{"name": "http://dbpedia.org/ontology/Murderer", "leaf_count": 92}]}, {"name": "http://dbpedia.org/ontology/OfficeHolder", "leaf_count": 47550}, {"name": "http://dbpedia.org/ontology/MilitaryPerson", "leaf_count": 25621}, {"name": "http://dbpedia.org/ontology/Noble", "leaf_count": 4811}, {"name": "http://dbpedia.org/ontology/Monarch", "leaf_count": 2726}, {"name": "http://dbpedia.org/ontology/Judge", "leaf_count": 2274}, {"name": "http://dbpedia.org/ontology/Architect", "leaf_count": 2269}, {"name": "http://dbpedia.org/ontology/BeautyQueen", "leaf_count": 2073}, {"name": "http://dbpedia.org/ontology/Journalist", "leaf_count": 1848}, {"name": "http://dbpedia.org/ontology/Philosopher", "leaf_count": 1515}, {"name": "http://dbpedia.org/ontology/Model", "leaf_count": 1484}, {"name": "http://dbpedia.org/ontology/BusinessPerson", "leaf_count": 954}, {"name": "http://dbpedia.org/ontology/Economist", "leaf_count": 798}, {"name": "http://dbpedia.org/ontology/MythologicalFigure", "leaf_count": 791}, {"name": "http://dbpedia.org/ontology/Engineer", "leaf_count": 758}, {"name": "http://dbpedia.org/ontology/Religious", "leaf_count": 751}, {"name": "http://dbpedia.org/ontology/Historian", "leaf_count": 680}, {"name": "http://dbpedia.org/ontology/Astronaut", "leaf_count": 637}, {"name": "http://dbpedia.org/ontology/Ambassador", "leaf_count": 470}, {"name": "http://dbpedia.org/ontology/Chef", "leaf_count": 462}, {"name": "http://dbpedia.org/ontology/PlayboyPlaymate", "leaf_count": 295}, {"name": "http://dbpedia.org/ontology/HorseTrainer", "leaf_count": 230}, {"name": "http://dbpedia.org/ontology/TelevisionPersonality", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/Organisation", "leaf_count": 10819, "children": [{"name": "http://dbpedia.org/ontology/Group", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Band", "leaf_count": 30572}, {"name": "http://dbpedia.org/ontology/ComedyGroup", "leaf_count": 56}]}, {"name": "http://dbpedia.org/ontology/EducationalInstitution", "leaf_count": 590, "children": [{"name": "http://dbpedia.org/ontology/School", "leaf_count": 30141}, {"name": "http://dbpedia.org/ontology/University", "leaf_count": 17538}, {"name": "http://dbpedia.org/ontology/College", "leaf_count": 88}]}, {"name": "http://dbpedia.org/ontology/SportsTeam", "leaf_count": 1794, "children": [{"name": "http://dbpedia.org/ontology/SoccerClub", "leaf_count": 19013}, {"name": "http://dbpedia.org/ontology/RugbyClub", "leaf_count": 2080}, {"name": "http://dbpedia.org/ontology/HockeyTeam", "leaf_count": 2016}, {"name": "http://dbpedia.org/ontology/BasketballTeam", "leaf_count": 1214}, {"name": "http://dbpedia.org/ontology/CricketTeam", "leaf_count": 544}, {"name": "http://dbpedia.org/ontology/BaseballTeam", "leaf_count": 443}, {"name": "http://dbpedia.org/ontology/AustralianFootballTeam", "leaf_count": 379}, {"name": "http://dbpedia.org/ontology/HandballTeam", "leaf_count": 372}, {"name": "http://dbpedia.org/ontology/CyclingTeam", "leaf_count": 255}, {"name": "http://dbpedia.org/ontology/FormulaOneTeam", "leaf_count": 115}, {"name": "http://dbpedia.org/ontology/SpeedwayTeam", "leaf_count": 76}, {"name": "http://dbpedia.org/ontology/AmericanFootballTeam", "leaf_count": 32}, {"name": "http://dbpedia.org/ontology/CanadianFootballTeam", "leaf_count": 25}]}, {"name": "http://dbpedia.org/ontology/Broadcaster", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/RadioStation", "leaf_count": 18520}, {"name": "http://dbpedia.org/ontology/TelevisionStation", "leaf_count": 7473}, {"name": "http://dbpedia.org/ontology/BroadcastNetwork", "leaf_count": 1231}]}, {"name": "http://dbpedia.org/ontology/Company", "leaf_count": 48379, "children": [{"name": "http://dbpedia.org/ontology/Airline", "leaf_count": 3387}, {"name": "http://dbpedia.org/ontology/RecordLabel", "leaf_count": 3014}, {"name": "http://dbpedia.org/ontology/BusCompany", "leaf_count": 1328}, {"name": "http://dbpedia.org/ontology/Publisher", "leaf_count": 1141}, {"name": "http://dbpedia.org/ontology/LawFirm", "leaf_count": 479}, {"name": "http://dbpedia.org/ontology/Brewery", "leaf_count": 364}, {"name": "http://dbpedia.org/ontology/Winery", "leaf_count": 309}]}, {"name": "http://dbpedia.org/ontology/SportsLeague", "leaf_count": 286, "children": [{"name": "http://dbpedia.org/ontology/SoccerLeague", "leaf_count": 1443}, {"name": "http://dbpedia.org/ontology/RugbyLeague", "leaf_count": 450}, {"name": "http://dbpedia.org/ontology/BasketballLeague", "leaf_count": 407}, {"name": "http://dbpedia.org/ontology/IceHockeyLeague", "leaf_count": 274}, {"name": "http://dbpedia.org/ontology/BaseballLeague", "leaf_count": 211}, {"name": "http://dbpedia.org/ontology/AmericanFootballLeague", "leaf_count": 86}, {"name": "http://dbpedia.org/ontology/VolleyballLeague", "leaf_count": 82}, {"name": "http://dbpedia.org/ontology/LacrosseLeague", "leaf_count": 32}, {"name": "http://dbpedia.org/ontology/HandballLeague", "leaf_count": 26}, {"name": "http://dbpedia.org/ontology/FieldHockeyLeague", "leaf_count": 24}, {"name": "http://dbpedia.org/ontology/InlineHockeyLeague", "leaf_count": 24}, {"name": "http://dbpedia.org/ontology/MotorcycleRacingLeague", "leaf_count": 21}, {"name": "http://dbpedia.org/ontology/SoftballLeague", "leaf_count": 20}, {"name": "http://dbpedia.org/ontology/PoloLeague", "leaf_count": 18}, {"name": "http://dbpedia.org/ontology/SpeedwayLeague", "leaf_count": 16}, {"name": "http://dbpedia.org/ontology/GolfLeague", "leaf_count": 14}, {"name": "http://dbpedia.org/ontology/TennisLeague", "leaf_count": 11}, {"name": "http://dbpedia.org/ontology/CricketLeague", "leaf_count": 9}, {"name": "http://dbpedia.org/ontology/AutoRacingLeague", "leaf_count": 7}, {"name": "http://dbpedia.org/ontology/CanadianFootballLeague", "leaf_count": 7}, {"name": "http://dbpedia.org/ontology/VideogamesLeague", "leaf_count": 7}, {"name": "http://dbpedia.org/ontology/AustralianFootballLeague", "leaf_count": 4}, {"name": "http://dbpedia.org/ontology/CurlingLeague", "leaf_count": 3}, {"name": "http://dbpedia.org/ontology/BowlingLeague", "leaf_count": 1}, {"name": "http://dbpedia.org/ontology/MixedMartialArtsLeague", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/MilitaryUnit", "leaf_count": 15091}, {"name": "http://dbpedia.org/ontology/PoliticalParty", "leaf_count": 5290}, {"name": "http://dbpedia.org/ontology/GovernmentAgency", "leaf_count": 4175}, {"name": "http://dbpedia.org/ontology/Non-ProfitOrganisation", "leaf_count": 4120}, {"name": "http://dbpedia.org/ontology/TradeUnion", "leaf_count": 1564}, {"name": "http://dbpedia.org/ontology/PublicTransitSystem", "leaf_count": 1524}, {"name": "http://dbpedia.org/ontology/Legislature", "leaf_count": 1449}, {"name": "http://dbpedia.org/ontology/ReligiousOrganisation", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/Family", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/Event", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/SocietalEvent", "leaf_count": 2, "children": [{"name": "http://dbpedia.org/ontology/SportsEvent", "leaf_count": 975, "children": [{"name": "http://dbpedia.org/ontology/Tournament", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/SoccerTournament", "leaf_count": 4911}, {"name": "http://dbpedia.org/ontology/TennisTournament", "leaf_count": 4354}, {"name": "http://dbpedia.org/ontology/GolfTournament", "leaf_count": 1716}, {"name": "http://dbpedia.org/ontology/WomensTennisAssociationTournament", "leaf_count": 61}]}, {"name": "http://dbpedia.org/ontology/Olympics", "leaf_count": 58, "children": [{"name": "http://dbpedia.org/ontology/OlympicEvent", "leaf_count": 3614}]}, {"name": "http://dbpedia.org/ontology/Race", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/HorseRace", "leaf_count": 1975}, {"name": "http://dbpedia.org/ontology/CyclingRace", "leaf_count": 590}]}, {"name": "http://dbpedia.org/ontology/FootballMatch", "leaf_count": 2403}, {"name": "http://dbpedia.org/ontology/GrandPrix", "leaf_count": 1234}, {"name": "http://dbpedia.org/ontology/WrestlingEvent", "leaf_count": 963}, {"name": "http://dbpedia.org/ontology/MixedMartialArtsEvent", "leaf_count": 805}, {"name": "http://dbpedia.org/ontology/NationalFootballLeagueEvent", "leaf_count": 9}]}, {"name": "http://dbpedia.org/ontology/MilitaryConflict", "leaf_count": 12289}, {"name": "http://dbpedia.org/ontology/Election", "leaf_count": 6935}, {"name": "http://dbpedia.org/ontology/Convention", "leaf_count": 908}, {"name": "http://dbpedia.org/ontology/FilmFestival", "leaf_count": 734}, {"name": "http://dbpedia.org/ontology/MusicFestival", "leaf_count": 462}, {"name": "http://dbpedia.org/ontology/SpaceMission", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/NaturalEvent", "leaf_count": 1, "children": [{"name": "http://dbpedia.org/ontology/SolarEclipse", "leaf_count": 382}]}, {"name": "http://dbpedia.org/ontology/LifeCycleEvent", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/PersonalEvent", "leaf_count": 4}]}]}, {"name": "http://dbpedia.org/ontology/Species", "leaf_count": 4194, "children": [{"name": "http://dbpedia.org/ontology/Eukaryote", "leaf_count": 952, "children": [{"name": "http://dbpedia.org/ontology/Animal", "leaf_count": 5415, "children": [{"name": "http://dbpedia.org/ontology/Mammal", "leaf_count": 8846, "children": [{"name": "http://dbpedia.org/ontology/RaceHorse", "leaf_count": 3349}]}, {"name": "http://dbpedia.org/ontology/Insect", "leaf_count": 93578}, {"name": "http://dbpedia.org/ontology/Mollusca", "leaf_count": 27691}, {"name": "http://dbpedia.org/ontology/Fish", "leaf_count": 17420}, {"name": "http://dbpedia.org/ontology/Bird", "leaf_count": 12740}, {"name": "http://dbpedia.org/ontology/Amphibian", "leaf_count": 5893}, {"name": "http://dbpedia.org/ontology/Reptile", "leaf_count": 5273}, {"name": "http://dbpedia.org/ontology/Arachnid", "leaf_count": 3967}, {"name": "http://dbpedia.org/ontology/Crustacean", "leaf_count": 2545}]}, {"name": "http://dbpedia.org/ontology/Plant", "leaf_count": 45176, "children": [{"name": "http://dbpedia.org/ontology/FloweringPlant", "leaf_count": 642, "children": [{"name": "http://dbpedia.org/ontology/Grape", "leaf_count": 370}]}, {"name": "http://dbpedia.org/ontology/CultivatedVariety", "leaf_count": 1541}, {"name": "http://dbpedia.org/ontology/Fern", "leaf_count": 884}, {"name": "http://dbpedia.org/ontology/Conifer", "leaf_count": 722}, {"name": "http://dbpedia.org/ontology/Moss", "leaf_count": 412}, {"name": "http://dbpedia.org/ontology/GreenAlga", "leaf_count": 355}, {"name": "http://dbpedia.org/ontology/Cycad", "leaf_count": 183}, {"name": "http://dbpedia.org/ontology/ClubMoss", "leaf_count": 96}, {"name": "http://dbpedia.org/ontology/Gnetophytes", "leaf_count": 30}, {"name": "http://dbpedia.org/ontology/Ginkgo", "leaf_count": 7}]}, {"name": "http://dbpedia.org/ontology/Fungus", "leaf_count": 9122}]}, {"name": "http://dbpedia.org/ontology/Bacteria", "leaf_count": 538}, {"name": "http://dbpedia.org/ontology/Archaea", "leaf_count": 226}]}, {"name": "http://dbpedia.org/ontology/Work", "leaf_count": 2, "children": [{"name": "http://dbpedia.org/ontology/WrittenWork", "leaf_count": 1310, "children": [{"name": "http://dbpedia.org/ontology/PeriodicalLiterature", "leaf_count": 1, "children": [{"name": "http://dbpedia.org/ontology/Newspaper", "leaf_count": 5956}, {"name": "http://dbpedia.org/ontology/AcademicJournal", "leaf_count": 5678}, {"name": "http://dbpedia.org/ontology/Magazine", "leaf_count": 4274}]}, {"name": "http://dbpedia.org/ontology/Book", "leaf_count": 30358, "children": [{"name": "http://dbpedia.org/ontology/Novel", "leaf_count": 672}]}, {"name": "http://dbpedia.org/ontology/Comics", "leaf_count": 5844}, {"name": "http://dbpedia.org/ontology/Play", "leaf_count": 1755}, {"name": "http://dbpedia.org/ontology/Poem", "leaf_count": 376}, {"name": "http://dbpedia.org/ontology/Annotation", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/MusicalWork", "leaf_count": 278, "children": [{"name": "http://dbpedia.org/ontology/Song", "leaf_count": 6011, "children": [{"name": "http://dbpedia.org/ontology/EurovisionSongContestEntry", "leaf_count": 1121}]}, {"name": "http://dbpedia.org/ontology/Album", "leaf_count": 123374}, {"name": "http://dbpedia.org/ontology/Single", "leaf_count": 45433}, {"name": "http://dbpedia.org/ontology/ArtistDiscography", "leaf_count": 3494}, {"name": "http://dbpedia.org/ontology/ClassicalMusicComposition", "leaf_count": 599}]}, {"name": "http://dbpedia.org/ontology/Software", "leaf_count": 10964, "children": [{"name": "http://dbpedia.org/ontology/VideoGame", "leaf_count": 19301}, {"name": "http://dbpedia.org/ontology/ProgrammingLanguage", "leaf_count": 1136}]}, {"name": "http://dbpedia.org/ontology/Cartoon", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Anime", "leaf_count": 4188}, {"name": "http://dbpedia.org/ontology/HollywoodCartoon", "leaf_count": 1586}]}, {"name": "http://dbpedia.org/ontology/Database", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/BiologicalDatabase", "leaf_count": 333}]}, {"name": "http://dbpedia.org/ontology/Document", "leaf_count": 2, "children": [{"name": "http://dbpedia.org/ontology/Image", "leaf_count": 2}]}, {"name": "http://dbpedia.org/ontology/Film", "leaf_count": 87282}, {"name": "http://dbpedia.org/ontology/TelevisionShow", "leaf_count": 29466}, {"name": "http://dbpedia.org/ontology/TelevisionEpisode", "leaf_count": 7991}, {"name": "http://dbpedia.org/ontology/Artwork", "leaf_count": 3755}, {"name": "http://dbpedia.org/ontology/Website", "leaf_count": 3639}, {"name": "http://dbpedia.org/ontology/TelevisionSeason", "leaf_count": 2883}, {"name": "http://dbpedia.org/ontology/Musical", "leaf_count": 1265}, {"name": "http://dbpedia.org/ontology/RadioProgram", "leaf_count": 988}, {"name": "http://dbpedia.org/ontology/CollectionOfValuables", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/SportsSeason", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/SportsTeamSeason", "leaf_count": 1, "children": [{"name": "http://dbpedia.org/ontology/FootballLeagueSeason", "leaf_count": 6195, "children": [{"name": "http://dbpedia.org/ontology/NationalFootballLeagueSeason", "leaf_count": 3108}]}, {"name": "http://dbpedia.org/ontology/NCAATeamSeason", "leaf_count": 7925}, {"name": "http://dbpedia.org/ontology/SoccerClubSeason", "leaf_count": 7100}, {"name": "http://dbpedia.org/ontology/BaseballSeason", "leaf_count": 293}]}, {"name": "http://dbpedia.org/ontology/MotorsportSeason", "leaf_count": 2390}]}, {"name": "http://dbpedia.org/ontology/UnitOfWork", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Case", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/LegalCase", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/SupremeCourtOfTheUnitedStatesCase", "leaf_count": 2564}]}]}, {"name": "http://dbpedia.org/ontology/Project", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/ResearchProject", "leaf_count": 25}]}]}, {"name": "http://dbpedia.org/ontology/TopicalConcept", "leaf_count": 9, "children": [{"name": "http://dbpedia.org/ontology/Genre", "leaf_count": 3, "children": [{"name": "http://dbpedia.org/ontology/MusicGenre", "leaf_count": 1142}]}, {"name": "http://dbpedia.org/ontology/Fashion", "leaf_count": 483}, {"name": "http://dbpedia.org/ontology/Type", "leaf_count": 2}, {"name": "http://dbpedia.org/ontology/TheologicalConcept", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/Biomolecule", "leaf_count": 2, "children": [{"name": "http://dbpedia.org/ontology/Gene", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/HumanGene", "leaf_count": 15}, {"name": "http://dbpedia.org/ontology/MouseGene", "leaf_count": 10}]}, {"name": "http://dbpedia.org/ontology/Protein", "leaf_count": 13359}, {"name": "http://dbpedia.org/ontology/Enzyme", "leaf_count": 4992}]}, {"name": "http://dbpedia.org/ontology/Activity", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Sport", "leaf_count": 209, "children": [{"name": "http://dbpedia.org/ontology/Boxing", "leaf_count": 2}]}, {"name": "http://dbpedia.org/ontology/Game", "leaf_count": 1356}]}, {"name": "http://dbpedia.org/ontology/Food", "leaf_count": 5209, "children": [{"name": "http://dbpedia.org/ontology/Beverage", "leaf_count": 808, "children": [{"name": "http://dbpedia.org/ontology/Wine", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/Cheese", "leaf_count": 322}]}, {"name": "http://dbpedia.org/ontology/MeanOfTransportation", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Ship", "leaf_count": 27131}, {"name": "http://dbpedia.org/ontology/Aircraft", "leaf_count": 9678}, {"name": "http://dbpedia.org/ontology/Automobile", "leaf_count": 8485}, {"name": "http://dbpedia.org/ontology/Locomotive", "leaf_count": 3093}, {"name": "http://dbpedia.org/ontology/Train", "leaf_count": 1214}, {"name": "http://dbpedia.org/ontology/Motorcycle", "leaf_count": 926}, {"name": "http://dbpedia.org/ontology/Rocket", "leaf_count": 249}, {"name": "http://dbpedia.org/ontology/Spacecraft", "leaf_count": 159}, {"name": "http://dbpedia.org/ontology/SpaceStation", "leaf_count": 31}, {"name": "http://dbpedia.org/ontology/SpaceShuttle", "leaf_count": 18}]}, {"name": "http://dbpedia.org/ontology/Device", "leaf_count": 985, "children": [{"name": "http://dbpedia.org/ontology/AutomobileEngine", "leaf_count": 22907}, {"name": "http://dbpedia.org/ontology/Weapon", "leaf_count": 5409}, {"name": "http://dbpedia.org/ontology/InformationAppliance", "leaf_count": 1035}, {"name": "http://dbpedia.org/ontology/Instrument", "leaf_count": 2}, {"name": "http://dbpedia.org/ontology/Camera", "leaf_count": 1}]}, {"name": "http://dbpedia.org/ontology/CelestialBody", "leaf_count": 1, "children": [{"name": "http://dbpedia.org/ontology/Asteroid", "leaf_count": 17086}, {"name": "http://dbpedia.org/ontology/Planet", "leaf_count": 11894}, {"name": "http://dbpedia.org/ontology/Star", "leaf_count": 3250}, {"name": "http://dbpedia.org/ontology/Galaxy", "leaf_count": 635}]}, {"name": "http://dbpedia.org/ontology/ChemicalSubstance", "leaf_count": 1, "children": [{"name": "http://dbpedia.org/ontology/ChemicalCompound", "leaf_count": 9427}, {"name": "http://dbpedia.org/ontology/Mineral", "leaf_count": 1198}]}, {"name": "http://dbpedia.org/ontology/Medicine", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/Disease", "leaf_count": 6078}]}, {"name": "http://dbpedia.org/ontology/Name", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/GivenName", "leaf_count": 3345}, {"name": "http://dbpedia.org/ontology/Surname", "leaf_count": 1084}]}, {"name": "http://dbpedia.org/ontology/TimePeriod", "leaf_count": 83910, "children": [{"name": "http://dbpedia.org/ontology/Year", "leaf_count": 2037}, {"name": "http://dbpedia.org/ontology/YearInSpaceflight", "leaf_count": 60}]}, {"name": "http://dbpedia.org/ontology/Satellite", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/ArtificialSatellite", "leaf_count": 1909}]}, {"name": "http://dbpedia.org/ontology/SportCompetitionResult", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/OlympicResult", "leaf_count": 765}]}, {"name": "http://dbpedia.org/ontology/AnatomicalStructure", "leaf_count": 1780, "children": [{"name": "http://dbpedia.org/ontology/Brain", "leaf_count": 550}, {"name": "http://dbpedia.org/ontology/Bone", "leaf_count": 415}, {"name": "http://dbpedia.org/ontology/Artery", "leaf_count": 368}, {"name": "http://dbpedia.org/ontology/Nerve", "leaf_count": 336}, {"name": "http://dbpedia.org/ontology/Muscle", "leaf_count": 280}, {"name": "http://dbpedia.org/ontology/Vein", "leaf_count": 234}, {"name": "http://dbpedia.org/ontology/Ligament", "leaf_count": 194}, {"name": "http://dbpedia.org/ontology/Embryology", "leaf_count": 188}, {"name": "http://dbpedia.org/ontology/Lymph", "leaf_count": 81}]}, {"name": "http://dbpedia.org/ontology/GeneLocation", "leaf_count": 0, "children": [{"name": "http://dbpedia.org/ontology/HumanGeneLocation", "leaf_count": 9}, {"name": "http://dbpedia.org/ontology/MouseGeneLocation", "leaf_count": 8}]}, {"name": "http://dbpedia.org/ontology/CareerStation", "leaf_count": 643162}, {"name": "http://dbpedia.org/ontology/PersonFunction", "leaf_count": 126796}, {"name": "http://www.opengis.net/gml/_Feature", "leaf_count": 14001}, {"name": "http://dbpedia.org/ontology/Language", "leaf_count": 7928}, {"name": "http://dbpedia.org/ontology/Sales", "leaf_count": 6626}, {"name": "http://dbpedia.org/ontology/Drug", "leaf_count": 5590}, {"name": "http://dbpedia.org/ontology/EthnicGroup", "leaf_count": 4595}, {"name": "http://dbpedia.org/ontology/Award", "leaf_count": 3803}, {"name": "http://dbpedia.org/ontology/Colour", "leaf_count": 1019}, {"name": "http://dbpedia.org/ontology/Holiday", "leaf_count": 938}, {"name": "http://dbpedia.org/ontology/Currency", "leaf_count": 355}, {"name": "http://dbpedia.org/ontology/SnookerWorldRanking", "leaf_count": 34}, {"name": "http://dbpedia.org/ontology/Swarm", "leaf_count": 2}, {"name": "http://dbpedia.org/ontology/Competition", "leaf_count": 1}, {"name": "http://dbpedia.org/ontology/List", "leaf_count": 1}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment