Giter VIP home page Giter VIP logo

bootea's Introduction

BootEA

Source code and datasets for IJCAI-2018 paper "Bootstrapping Entity Alignment with Knowledge Graph Embedding".

Dataset

Folder "dataset" contains the id files of DWY100K.

The subfolder "mapping/0_3" contains the id files used in BootEA and MTransE while the subfolder "sharing/0_3" is for JAPE and IPTransE. The two datasets use 30% reference entity alignment as seeds. Id files in "sharing/0_3" are generated following the idea of parameter sharing that lets the two aligned enitites in seed alignment share the same id, while "mapping/0_3" does not.

The subfolder "mapping/0_3" inculdes the following files:

  • ent_ids_1: entity ids in the source KG;
  • ent_ids_2: entity ids in the target KG;
  • ref_ent_ids: entity alignment for testing, list of pairs like (e_s, \t, e_t);
  • sup_ent_ids: seed entity alignment (training data);
  • rel_ids_1: relation ids in the source KG;
  • rel_ids_2: relation ids in the target KG;
  • triples_1: relation triples in the source KG;
  • triples_2: relation triples in the target KG;

The subfolder "sharing/0_3" inculdes the following additional files:

  • attr_ids_1: attribute ids in the source KG;
  • attr_ids_2: attribute ids in the target KG;
  • attr_range_type_1: attribute ranges in the source KG, list of pairs like (attribute id, \t, range code);
  • attr_range_type_2: attribute ranges in the target KG;
  • ent_attrs_1: entity attributes in the source KG;
  • ent_attrs_2: entity attributes in the target KG;
  • ref_ents: seed entity alignment denoted by URIs (training data);

DBP15K can be found here. And, if you want the raw data of DWY100K, please email to [email protected].

Code

Folder "code" contains all codes of BootEA, in which:

  • "AlignE.py" is the implementation of AlignE;
  • "BootEA.py" is the implementation of BootEA;
  • "param.py" is the config file.

Dependencies

  • Python 3
  • Tensorflow 1.x
  • Scipy
  • Numpy
  • Graph-tool or igraph or NetworkX

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

Citation

If you use this model or code, please cite it as follows:
Zequn Sun, Wei Hu, Qingheng Zhang, Yuzhong Qu. Bootstrapping Entity Alignment with Knowledge Graph Embedding. In: IJCAI 2018.

bootea's People

Contributors

sunzequn 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.