logo Netzschleuder network catalog, repository, and centrifuge

ogbl_wikikg2 — Wikidata knowledge graph (ogbl-wikikg2, 2015)

Description

A knowledge graph extracted from Wikidata, from the ogbl-wikikg2 dataset of the Open Graph Benchmark (OGB), a benchmark for link prediction (version 1, of December 2020). Each node is an entity of Wikidata (e.g. a person, a place, a work or a concept), and a directed edge from entity A to entity B is a statement (A, relation, B) of Wikidata with one of 535 relations (Wikidata properties, e.g. P31, "instance of", or P27, "country of citizenship"). Pairs of entities may be connected by several edges with different relations. Rare entities were filtered out by the OGB authors.

The triples come from three snapshots of Wikidata of 2015: those of May 2015 form the training set of the benchmark, and those added in the snapshots of August and November 2015 form the validation and test sets (429,456 and 598,543 triples); all of them are included, and the set is given as an edge property. The negative samples of the benchmark are left out. The data do not include the labels of the entities and relations, which can be looked up in Wikidata (some entities and relations may have been removed from Wikidata since 2015).

The network has the following properties:

  • wikidata_id: the Wikidata identifier of the entity, e.g. Q92894.
  • Edge relation: the Wikidata property of the relation, e.g. P31.
  • Edge split: the set of the benchmark the triple belongs to: train (May 2015), valid (August 2015) or test (November 2015).
Tags
Informational Relatedness Unweighted Multigraph Metadata
Citation
  • W. Hu, M. Fey, M. Zitnik, Y. Dong, H. Ren, B. Liu, M. Catasta, J. Leskovec, "Open Graph Benchmark: Datasets for Machine Learning on Graphs." Advances in Neural Information Processing Systems 33, 22118-22133 (2020) 10.48550/arXiv.2005.00687 Sci-Hub
  • D. Vrandečić, M. Krötzsch, "Wikidata: a free collaborative knowledgebase." Communications of the ACM 57(10), 78-85 (2014) 10.1145/2629489 Sci-Hub
Upstream URL OK
https://ogb.stanford.edu/docs/linkprop/#ogbl-wikikg2
https://snap.stanford.edu/ogb/data/
Upstream license
CC0 1.0, https://creativecommons.org/publicdomain/zero/1.0/
Networks
Tip: hover over a column header for a description.
Column legend
$\left<k\right>$
Mean degree
$\sigma_k$
Standard deviation of the degrees
$\lambda_h$
Largest eigenvalue of the Hashimoto (non-backtracking) matrix
$\tau$
Random walk mixing time
$r$
Degree assortativity
$c$
Global clustering coefficient
$\oslash$
(Pseudo-) diameter
$S$
Relative size of the largest component
NPs
Node properties
EPs
Edge properties
Name Nodes Edges $\left<k\right>$ $\sigma_k$ $\lambda_h$ $\tau$ $r$ $c$ $\oslash$ $S$ Kind Mode NPs EPs gt GraphML GML csv
ogbl_wikikg2 2,500,604 17,137,181 6.85 1332.19 1266.29 1325.50 -0.11 0.00 12 1.00 Directed Unipartite wikidata_id relation split 48.5 MiB 121.0 MiB 116.2 MiB 100.8 MiB