tkgl_wikidata — Wikidata temporal knowledge graph (tkgl-wikidata, TGB 2.0)
- Description
A temporal knowledge graph extracted from Wikidata, from the
tkgl-wikidatadataset of the Temporal Graph Benchmark (TGB 2.0), a superset oftkgl_smallpedia: the statements of the Wikidata entities with identifiers below 32 million (i.e. Q1 to Q31999999), and the entities they point to. Each node is an entity of Wikidata, and a directed edge from entity A to entity B is a statement (A, relation, B), with a Wikidata property as relation (e.g.P39, "position held", orP166, "award received"). Pairs of entities may be connected by several edges.temporal: the statements with a time (a point in time, or the start of a period), as a year from 0 to 2024 (9,856,203 edges).static: the statements of the same entities without a time (71,900,685 edges); the statements that are also temporal ones were removed by TGB.
The data do not include the labels of the entities and relations, which can be looked up in Wikidata. The negative samples of the benchmark (statements that do not exist, used for evaluation) are left out.
The networks have the following properties:
- (Node)
wikidata_id: the Wikidata identifier of the entity, e.g.Q31. - (Edge)
relation: the Wikidata property of the statement, e.g.P166. - (Edge)
year(temporalonly): the year of the statement.
- Tags
- Informational Relatedness Unweighted Multigraph Timestamps Metadata
- Added
- 2026-10-27
- Citation
-
- J. Gastinger, S. Huang, M. Galkin, E. Loghmani, A. Parviz, F. Poursafaei, J. Danovitch, E. Rossi, I. Koutis, H. Stuckenschmidt, R. Rabbany, G. Rabusseau, "TGB 2.0: A Benchmark for Learning on Temporal Knowledge Graphs and Heterogeneous Graphs." Advances in Neural Information Processing Systems 37 (Datasets and Benchmarks Track) (2024) 10.48550/arXiv.2406.09639 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://tgb.complexdatalab.com/docs/tkg/
https://github.com/shenyangHuang/TGB - Upstream license
- CC0 1.0 (Wikidata), https://www.wikidata.org/wiki/Wikidata:Licensing
- Networks
-
Tip: click on a column header to sort the list, or hover over it 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 temporal 1,226,440 9,856,203 8.04 635.18 233.88 651111.02 -0.06 0.00 47 0.83 Directed Unipartite wikidata_id relation year 12.0 MiB 36.9 MiB 35.3 MiB 35.6 MiB static 29,871,209 71,900,685 2.41 1073.02 816.29 10675.83 -0.08 0.00 29 1.00 Directed Unipartite wikidata_id relation 216.2 MiB 458.9 MiB 447.7 MiB 456.4 MiB