All Projects → Mehran-k → Simple

Mehran-k / Simple

Licence: other
SimplE Embedding for Link Prediction in Knowledge Graphs

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Simple

Stock Knowledge Graph
利用网络上公开的数据构建一个小型的证券知识图谱/知识库
Stars: ✭ 1,182 (+1036.54%)
Mutual labels:  knowledge-graph, knowledge-base
Community
Modern Confluence alternative designed for internal & external docs, built with Golang + EmberJS
Stars: ✭ 1,286 (+1136.54%)
Mutual labels:  knowledge-base, knowledgebase
Graphbrain
Language, Knowledge, Cognition
Stars: ✭ 294 (+182.69%)
Mutual labels:  knowledge-graph, knowledge-base
awesome-ontology
A curated list of ontology things
Stars: ✭ 73 (-29.81%)
Mutual labels:  knowledge-graph, knowledge-base
Geistmap
An experimental personal knowledge base with a focus on connections
Stars: ✭ 425 (+308.65%)
Mutual labels:  knowledge-graph, knowledgebase
typedb-loader
TypeDB Loader - Data Migration Tool for TypeDB
Stars: ✭ 43 (-58.65%)
Mutual labels:  knowledge-graph, knowledge-base
Ccks2019 el
CCKS 2019 中文短文本实体链指比赛技术创新奖解决方案
Stars: ✭ 326 (+213.46%)
Mutual labels:  knowledge-graph, knowledge-base
KGReasoning
Multi-Hop Logical Reasoning in Knowledge Graphs
Stars: ✭ 197 (+89.42%)
Mutual labels:  knowledge-graph, knowledge-base
Kglib
Grakn Knowledge Graph Library (ML R&D)
Stars: ✭ 405 (+289.42%)
Mutual labels:  knowledge-graph, knowledgebase
Athens
Free self-hosted desktop app: https://github.com/athensresearch/athens/releases; Try the demo at https://athensresearch.github.io/athens; Docs viewable at https://athensresearch.github.io/docs/
Stars: ✭ 5,501 (+5189.42%)
Mutual labels:  knowledge-graph, knowledge-base
typedb
TypeDB: a strongly-typed database
Stars: ✭ 3,152 (+2930.77%)
Mutual labels:  knowledge-graph, knowledge-base
Atomspace
The OpenCog (hyper-)graph database and graph rewriting system
Stars: ✭ 495 (+375.96%)
Mutual labels:  knowledge-graph, knowledge-base
kglib
TypeDB-ML is the Machine Learning integrations library for TypeDB
Stars: ✭ 523 (+402.88%)
Mutual labels:  knowledge-graph, knowledgebase
Open Semantic Entity Search Api
Open Source REST API for named entity extraction, named entity linking, named entity disambiguation, recommendation & reconciliation of entities like persons, organizations and places for (semi)automatic semantic tagging & analysis of documents by linked data knowledge graph like SKOS thesaurus, RDF ontology, database(s) or list(s) of names
Stars: ✭ 98 (-5.77%)
Mutual labels:  knowledge-graph, knowledgebase
memo-dev
Knowledge base, Today I Learned, Cheatsheet ... Call this as you want ...
Stars: ✭ 13 (-87.5%)
Mutual labels:  knowledgebase, knowledge-base
Logseq
A privacy-first, open-source platform for knowledge management and collaboration. Desktop app download link: https://github.com/logseq/logseq/releases, roadmap: https://trello.com/b/8txSM12G/roadmap
Stars: ✭ 8,210 (+7794.23%)
Mutual labels:  knowledge-base, knowledge-graph
KBE
Node.js application to extract the knowledge represented in Google infoboxes (aka Google Knowlege Graph Panel)
Stars: ✭ 27 (-74.04%)
Mutual labels:  knowledge-graph, knowledgebase
harika
Offline-, mobile-first graph note-taking app focused on performance with the knowledgebase of any scale
Stars: ✭ 111 (+6.73%)
Mutual labels:  knowledge-graph, knowledge-base
Dynamic Kg
Dynamic (Temporal) Knowledge Graph Completion (Reasoning)
Stars: ✭ 381 (+266.35%)
Mutual labels:  knowledge-graph, knowledge-base
Scoold
A Stack Overflow clone for teams (self-hosted)
Stars: ✭ 463 (+345.19%)
Mutual labels:  knowledge-base, knowledgebase

NEW

A much faster version (in PyTorch) is available here: https://github.com/baharefatemi/SimplE

Summary

This software can be used to reproduce the results in our "SimplE Embedding for Link Prediction in Knowledge Graphs" paper. It can be also used to learn SimplE models for other datasets. The software can be also used as a framework to implement new tensor factorization models (implementations for TransE and ComplEx are included as two examples).

Dependencies

  • Python version 2.7
  • Numpy version 1.13.1
  • Tensorflow version 1.1.0

Usage

To run a model M on a dataset D, do the following steps:

  • cd to the directory where main.py is
  • Run python main.py -m M -d D

Examples (commands start after $):

$ python main.py -m SimplE_ignr -d wn18
$ python main.py -m SimplE_avg -d fb15k
$ python main.py -m ComplEx -d wn18

Running a model M on a dataset D will save the embeddings in a folder with the following address:

$ <Current Directory>/M_weights/D/

As an example, running the SimplE_ignr model on wn18 will save the embeddings in the following folder:

$ <Current Directory>/SimplE_ignr_weights/wn18/

Learned Embeddings for SimplE

The best embeddings learned for SimplE_ignr and SimplE_avg on wn18 and fb15k can be downloaded from this link and this link respectively.

To use these embeddings, place them in the same folder as main.py, load the embeddings and use them.

Publication

Refer to the following publication for details of the models and experiments.

Cite SimplE

If you use this package for published work, please cite one (or both) of the following:

@inproceedigs{kazemi2018simple,
  title={SimplE Embedding for Link Prediction in Knowledge Graphs},
  author={Kazemi, Seyed Mehran and Poole, David},
  booktitle={Advances in Neural Information Processing Systems},
  year={2018}
}

@phdthesis{Kazemi_2018, 
  series={Electronic Theses and Dissertations (ETDs) 2008+}, 
  title={Representing and learning relations and properties under uncertainty}, 
  url={https://open.library.ubc.ca/collections/ubctheses/24/items/1.0375812}, 
  DOI={http://dx.doi.org/10.14288/1.0375812}, 
  school={University of British Columbia}, 
  author={Kazemi, Seyed Mehran}, 
  year={2018}, 
  collection={Electronic Theses and Dissertations (ETDs) 2008+}
}

Contact

Seyed Mehran Kazemi

Computer Science Department

The University of British Columbia

201-2366 Main Mall, Vancouver, BC, Canada (V6T 1Z4)

http://www.cs.ubc.ca/~smkazemi/

[email protected]

License

Licensed under the GNU General Public License Version 3.0. https://www.gnu.org/licenses/gpl-3.0.en.html

Copyright (C) 2018 Seyed Mehran Kazemi

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].