Giter Site home page Giter Site logo

multike's Introduction

MultiKE

Source code and datasets for IJCAI-2019 paper "Multi-view Knowledge Graph Embedding for Entity Alignment".

Dataset

We used two datasets, namely DBP-WD and DBP-YG, which are based on DWY100K proposed in BootEA.

DBP-WD and DBP-YG

In "data/BootEA_datasets.zip", we give the full data of the two datasets that we used. Each dataset has the following files:

  • ent_links: all the entity links without training/test/valid splits;
  • 631: entity links with training/test/valid splits, contains three files, namely train_links, test_links and valid_links;
  • rel_triples_1: relation triples in the source KG, list of triples like (h \t r \t t);
  • rel_triples_2: relation triples in the target KG;
  • attr_triples_1: attribute triples in the source KG;
  • attr_triples_2: attribute triples in the target KG;
  • entity_local_name_1: entity local names in the source KG, list of pairs like (entity \t local_name);
  • entity_local_name_2: entity local names in the target KG;
  • predicate_local_name_1: predicate local names in the source KG, list of pairs like (predicate \t local_name);
  • predicate_local_name_2: predicate local names in the target KG.

Raw datasets

The raw datasets of DWY100K can also be found here.

Dependencies

  • Python 3
  • Tensorflow 1.x
  • Numpy

Run

To run the experiments, use:

bash run.sh -m mode -d dataset_folder_path
  • mode: training mode, using either ITC or SSL;
  • dataset_folder_path: the folder path of dataset to run.

For example, to run the experiments on DBP-WD with ITC mode, use:

bash run.sh -m ITC -d BootEA_DBP_WD_100K/

If you have any difficulty or question in running code or reproducing experimental results, please email to [email protected], [email protected] and [email protected].

Citation

If you use this model or code, please kindly cite it as follows:

@inproceedings{MultiKE,
  author    = {Qingheng Zhang and Zequn Sun and Wei Hu and Muhao Chen and Lingbing Guo and Yuzhong Qu},
  title     = {Multi-view Knowledge Graph Embedding for Entity Alignment},
  booktitle = {IJCAI},
  pages     = {5429--5435},
  year      = {2019}
}

multike's People

Contributors

shilan910 avatar sunzequn avatar whu2015 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.