Papers › WikiGraphs: A Wikipedia Text - Knowledge Graph Paired Dataset

WikiGraphs: A Wikipedia Text - Knowledge Graph Paired Dataset

20 Jul 2021NAACL (TextGraphs) 2021 6arXiv:2107.09556archive 2025-07-28

Luyu Wang, Yujia Li, Ozlem Aslan, Oriol Vinyals

We present a new dataset of Wikipedia articles each paired with a knowledge graph, to facilitate the research in conditional text generation, graph generation and graph representation learning. Existing graph-text paired datasets typically contain small graphs and short text (1 or few sentences), thus limiting the capabilities of the models that can be learned on the data. Our new dataset WikiGraphs is collected by pairing each Wikipedia article from the established WikiText-103 benchmark (Merity et al., 2016) with a subgraph from the Freebase knowledge graph (Bollacker et al., 2008). This makes it easy to benchmark against other state-of-the-art text generative models that are capable of generating long paragraphs of coherent text. Both the graphs and the text data are of significantly larger scale compared to prior graph-text paired datasets. We present baseline graph neural network and transformer model results on our dataset for 3 tasks: graph -> text generation, graph -> text retrieval and text -> graph retrieval. We show that better conditioning on the graph provides gains in generation and retrieval quality but there is still large room for improvement.

PaperPDFConference PDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

ArticlesConditional Text GenerationGraph GenerationGraph Neural NetworkGraph Representation LearningKG-to-Text GenerationRepresentation LearningRetrievalText GenerationText Retrieval

Datasets

Introduced by this paper, per the archive.

WikiGraphs

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
KG-to-Text Generation WikiGraphs Unconditional Test perplexity 25.85 #1 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Unconditional rBLEU (Test) 9.98 #1 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Unconditional rBLEU (Valid) 10.97 #1 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Unconditional rBLEU(w/title)(Test) 24.07 #1 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Unconditional rBLEU(w/title)(Valid) 27.98 #1 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs BoW Test perplexity 26.65 #2 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs BoW rBLEU (Test) 24.41 #2 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs BoW rBLEU (Valid) 29.53 #2 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs BoW rBLEU(w/title)(Test) 27.39 #2 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs BoW rBLEU(w/title)(Valid) 32.41 #2 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs GNN Test perplexity 26.93 #3 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs GNN rBLEU (Test) 26.22 #3 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs GNN rBLEU (Valid) 31.39 #3 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs GNN rBLEU(w/title)(Test) 28.35 #3 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs GNN rBLEU(w/title)(Valid) 32.65 #3 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Nodes Test perplexity 27.4 #4 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Nodes rBLEU (Test) 25.31 #4 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Nodes rBLEU (Valid) 30.51 #4 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Nodes rBLEU(w/title)(Test) 27.43 #4 of 4 Archive leaderboard report
KG-to-Text Generation WikiGraphs Nodes rBLEU(w/title)(Valid) 32.60 #4 of 4 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Graph Neural Network

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections