CoDEx: A Comprehensive Knowledge Graph Completion Benchmark

Tara Safavi, Danai Koutra
9/16/2020
200 citations
cs.CLcs.AIcs.IR
benchmark-dataset

Official code: tsafavi/codex (182 stars, Python, MIT, last commit 2024-08-01).

Abstract

We present CoDEx, a set of knowledge graph completion datasets extracted from Wikidata and Wikipedia that improve upon existing knowledge graph completion benchmarks in scope and level of difficulty. In terms of scope, CoDEx comprises three knowledge graphs varying in size and structure, multilingual descriptions of entities and relations, and tens of thousands of hard negative triples that are plausible but verified to be false.

Show full abstract

To characterize CoDEx, we contribute thorough empirical analyses and benchmarking experiments. First, we analyze each CoDEx dataset in terms of logical relation patterns. Next, we report baseline link prediction and triple classification results on CoDEx for five extensively tuned embedding models. Finally, we differentiate CoDEx from the popular FB15K-237 knowledge graph completion dataset by showing that CoDEx covers more diverse and interpretable content, and is a more difficult link prediction benchmark. Data, code, and pretrained models are available at https://bit.ly/2EPbrJs.

View on arXivView PDF

Code Implementations(1)

tsafavi/codexOfficial100%
MIT

CoDEx: A set of knowledge graph Completion Datasets Extracted from Wikidata and Wikipedia

18226Python, Jupyter NotebookMay 14, 20202 years agoMIT
knowledge-baseknowledge-graphknowledge-graph-embeddingsknowledge-representationknowledge-representation-learning+6 more

Similar Papers

Cite this paper

@article{safavi2020codex,
  title  = {CoDEx: A Comprehensive Knowledge Graph Completion Benchmark},
  author = {Tara Safavi and Danai Koutra},
  year   = {2020},
  eprint = {2009.07810},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.07810}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.07810.svg)](https://codeofpaper.com/paper/2009.07810)

Discussion