Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
May 11, 2018 14:48
September 11, 2018 10:01
May 11, 2018 14:48
February 21, 2018 13:41
May 11, 2018 15:05
October 28, 2021 17:02

Multimodal Knowledge Graphs

alt text



MMKG is released under the BSD-3-Clause License (please read the LICENSE file for more details).

Numerical Data for FB15k, YAGO15k, and DBpedia15k

Numerical data for the entities in the FB15k, DBpedia15k, and Yago15k knowledge graphs. FB15k is a commonly used knowledge graph in the KB completion literature. Both FB15k and FB15k-237 can be used with the numerical data. The data set and one method for integrating numerical data into a joint machine learning model are described in the following paper (to be presented at UAI 2018).

  author    = {Alberto Garc{\'{\i}}a{-}Dur{\'{a}}n and
               Mathias Niepert},
  title     = {KBlrn: End-to-End Learning of Knowledge Base Representations with
               Latent, Relational, and Numerical Features},
  booktitle = {Proceedings of the Thirty-Fourth Conference on Uncertainty in Artificial
               Intelligence, {UAI}},
  pages     = {372--381},
  publisher = {{AUAI} Press},
  year      = {2018}

Download the numerical data for FB15k entities.

We have created the Yago and DBpedia equivalents of FB15k and extracted numerical data for these data sets. You can find those files in the folders DB15K and YAGO15K.

Visual Data for FB15k, YAGO15k, and DBpedia15k

The second data set consists of a set of images associated with each of the entities in the FB15k, DBpedia15k, and Yago15k knowledge graphs. For now, we provide a list of URLs that can be downloaded with a script which also scales the images (thanks to We also provide the links of the Freebase IDs to their image URLs. The paper describing the data set, possible visual queries, and a method for answering these queries are introduced in the following paper.

  title={Answering Visual-Relational Queries in Web-Extracted Knowledge Graphs},
  author={Daniel O{\~n}oro-Rubio and Mathias Niepert and Alberto Garc{\'i}a-Dur{\'a}n
  and Roberto Gonzalez-Sanchez and Roberto Javier L{\'o}pez-Sastre},

Download the image URLs for FB15k entities. NB: The Freebase ID is written instead of /m/xyz

If you want to try out the crawler we used to retrieve the image URLs/data, you can download it here.

If you want to obtain the embeddings learned from a trained VGG16, you can download them FB15K, DB15K, YAGO15K. For example, the embedding for the DB15k entity, indexed by the identifier DBIMG00039, can be accessed:

import h5py
import numpy as np
filename = 'DB15K_ImageData.h5'
f = h5py.File(filename, 'r')
vgg_feats = f["DBIMG00039"] 

Temporal Information for Yago15k, Wikidata, ICEWS14 and ICEWS05-15

Facts in Yago15k, Wikidata, ICEWS14 and ICEWS05-15 are enriched with temporal information. The data sets and a methodology for performing link prediction in temporal KGs with standard scoring functions are described in the following paper (to be presented at EMNLP 2018).

Learning Sequence Encoders for Temporal Knowledge Graph Completion.

  title={Learning Sequence Encoders for Temporal Knowledge Graph Completion},
  author={Alberto Garc{\'i}a-Dur{\'a}n and Sebastijan Dumancic and Mathias Niepert},

Download the knowledge graphs with time information.

We have sameAs links between FB15k and DBpedia15k as well as between FB15k and YAGO15k.

MMKG: Multi-Modal Knowledge Graphs

  title={MMKG: multi-modal knowledge graphs},
  author={Liu, Ye and Li, Hui and Garcia-Duran, Alberto and Niepert, 
  Mathias and Onoro-Rubio, Daniel and Rosenblum, David S},
  booktitle={European Semantic Web Conference},

Citing MMKB

If you use MMKB in your work, please cite one of the above papers. Thanks!