DOI: 10.5281/zenodo.3738264
title: Improving the Utility and Trustworthiness of Knowledge Graph Embeddings with Calibration

description: This repository contains two public knowledge graph datasets used in our paper <em>Improving the Utility of Knowledge Graph Embeddings with Calibration</em>. Each dataset is described below. Note that for our experiments we split each dataset randomly 5 times into 80/10/10 train/validation/test splits. We recommend that users of our data do the same to avoid (potentially) overfitting models to a single dataset split. <strong>wikidata-authors</strong> This dataset was extracted by querying the Wikidata API for facts about people categorized as "authors" or "writers" on Wikidata. Note that all head entities of triples are <em>people</em> (authors or writers), and all triples describe something about that person (e.g., their place of birth, their place of death, or their spouse). The knowledge graph has 23,887 entities, 13 relations, and 86,376 triples. The files are as follows: <strong><code>entities.tsv</code></strong>: A tab-separated file of all unique entities in the dataset. The fields are as follows: <code>eid</code>: The unique Wikidata identifier of this entity. You can find the corresponding Wikidata page at <code>https://www.wikidata.org/wiki/&lt;eid&gt;</code>. <code>label</code>: A human-readable label of this entity (extracted from Wikidata). <strong><code>relations.tsv</code></strong>: A tab-separated file of all unique relations in the dataset. The fields are as follows: <code>rid</code>: The unique Wikidata identifier of this relation. You can find the corresponding Wikidata page at <code>https://www.wikidata.org/wiki/Property:&lt;rid&gt;</code>. <code>label</code>: A human-readable label of this relation (extracted from Wikidata). <strong><code>triples.tsv</code></strong>: A tab-separated file of all triples in the dataset, in the form of <code>&lt;head eid&gt;</code>, <code>&lt;relation rid&gt;</code>, <code>&lt;tail eid&gt;</code>. <strong>fb15krr-linked</strong> This dataset is an extended version of the FB15k+ dataset provided by [Xie et al IJCAI16]. It has been linked to Wikidata using Freebase MIDs (machine IDs) as keys; we discarded triples from the original dataset that contained entities that could not be linked to Wikidata. We also removed reverse relations following the procedure described by [Toutanova and Chen CVSC2015]. Finally, we removed existing triples labeled as <em>False</em> and added predicted triples labeled as <em>True</em> based on the crowdsourced annotations we obtained in our <em>True or False Facts</em> experiment (see our paper for details). The knowledge graph consists of 14,289 entities, 770 relations, and 272,385 triples. The files are as follows: <strong><code>entities.tsv</code></strong>: A tab-separated file of all unique entities in the dataset. The fields are as follows: <code>mid</code>: The Freebase machine ID (MID) of this entity. <code>wiki</code>: The corresponding unique Wikidata identifier of this entity. You can find the corresponding Wikidata page at <code>https://www.wikidata.org/wiki/&lt;eid&gt;</code>. <code>label</code>: A human-readable label of this entity (extracted from Wikidata). <code>types</code>: All hierarchical types of this entity, as provided by [Xie et al IJCAI16]. <strong><code>relations.tsv</code></strong>: A tab-separated file of all unique relations in the dataset. The fields are as follows: <code>label</code>: The hierarchical Freebase label of this relation. <strong><code>triples.tsv</code></strong>: A tab-separated file of all triples in the dataset, in the form of <code>&lt;head MID&gt;</code>, <code>&lt;relation label&gt;</code>, <code>&lt;tail MID&gt;</code>.