GithubHelp home page GithubHelp logo

thunlp / tkrl Goto Github PK

View Code? Open in Web Editor NEW
80.0 7.0 27.0 17.96 MB

Representation Learning of Knowledge Graphs with Hierarchical Types (IJCAI-2016)

License: MIT License

C++ 99.36% Makefile 0.64%
knowledge-embedding

tkrl's Introduction

TKRL

New: Add instruction for data preprocessing

INTRODUCTION

Type-embodied Knowledge Representation Learning (TKRL)

Representation Learning of Knowledge Graphs with Hierarchical Types (IJCAI'16)

Written by Ruobing Xie

COMPILE

Just type make in the folder ./

DATA

FB15k is published by the author of the paper "Translating Embeddings for Modeling Multi-relational Data (2013)." [download] You can also get FB15k from here: [download]

Entity types and relation-specific type constraint information for FB15k. [download]

FB15k+ is a new dataset based on FB15k, including new relations and triples. [download]

For data preprocessing, please refer to Data_preprocessing_for_TKRL.pdf.

CITE

If the codes or datasets help you, please cite the following paper:

Ruobing Xie, Zhiyuan Liu, Maosong Sun. Representation Learning of Knowledge Graphs with Hierarchical Types. The 25th International Joint Conference on Artificial Intelligence (IJCAI'16).

tkrl's People

Contributors

xrb92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tkrl's Issues

关于entity2type.txt文件的问题

你好,我看了下entity2type.txt文件,按论文里面说构造type的时候没有去处FB15K的实体,为什么文件里实体数量只有14941,而不是14951,同时我看到有些行里面有多于一个的实体,一开始我以为是文件不规范,我把这些实体放到新行后,行数又多于14951,我有点困惑。希望您能指点一下,谢谢!

typeEntity.txt

in input, 7 files need be generated,
../data/entity2id.txt
../data/relation2id.txt
../data/type2id.txt
../data/domain2id.txt
../data/relationType.txt
../data/relationDomain.txt
/data/typeEntity.txt
i have generated the first six,but still have no idea how to get typeEntity.txt,could you release it?

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.