Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Logseq | 21,352 | 2 days ago | 1,440 | agpl-3.0 | Clojure | |||||
A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap | ||||||||||
Typedb | 3,369 | 6 | 5 | 2 days ago | 24 | December 13, 2018 | 173 | agpl-3.0 | Java | |
TypeDB: a strongly-typed database | ||||||||||
Awesome Network Embedding | 2,218 | 2 years ago | 3 | |||||||
A curated list of network embedding techniques. | ||||||||||
Terminusdb | 2,213 | 2 days ago | 171 | apache-2.0 | Prolog | |||||
TerminusDB is a distributed database with a collaboration model | ||||||||||
Ampligraph | 1,908 | 24 days ago | 12 | May 25, 2021 | 32 | apache-2.0 | Python | |||
Python library for Representation Learning on Knowledge Graphs https://docs.ampligraph.org | ||||||||||
Nlp Knowledge Graph | 1,319 | 6 days ago | mit | |||||||
自然语言处理、知识图谱、对话系统三大技术研究与应用。 | ||||||||||
Dgl Ke | 1,091 | 12 days ago | 6 | January 25, 2021 | 55 | apache-2.0 | Python | |||
High performance, easy-to-use, and scalable package for learning large-scale knowledge graph embeddings. | ||||||||||
Contextualise | 968 | 5 months ago | 7 | May 14, 2022 | 56 | mit | Python | |||
Contextualise is an effective tool particularly suited for organising information-heavy projects and activities consisting of unstructured and widely diverse data and information resources | ||||||||||
Stock Knowledge Graph | 896 | 3 years ago | 15 | mit | Python | |||||
利用网络上公开的数据构建一个小型的证券知识图谱/知识库 | ||||||||||
Awesome Knowledge Graph | 881 | 18 days ago | 4 | |||||||
A curated list of Knowledge Graph related learning materials, databases, tools and other resources |
Join the conversation on Slack
Open source library based on TensorFlow that predicts links between concepts in a knowledge graph.
AmpliGraph is a suite of neural machine learning models for relational Learning, a branch of machine learning that deals with supervised learning on knowledge graphs.
Use AmpliGraph if you need to:
AmpliGraph's machine learning models generate knowledge graph embeddings, vector representations of concepts in a metric space:
It then combines embeddings with model-specific scoring functions to predict unseen and novel links:
The new version features TensorFlow 2 back-end and Keras style APIs that makes it faster, easier to use and
extend the support for multiple features. Further, the data input/output pipeline has changed, and the support for
some obsolete models was discontinued.
See the Changelog for a more thorough list of changes.
AmpliGraph includes the following submodules:
Create and activate a virtual environment (conda)
conda create --name ampligraph python=3.8
source activate ampligraph
AmpliGraph 2 is built on TensorFlow 2.x. Install from pip or conda:
CPU-only
pip install "tensorflow>=2.9"
or
conda install tensorflow'>=2.9'
Install TensorFlow 2 for Mac OS M1 chip
conda install -c apple tensorflow-deps
pip install --user tensorflow-macos==2.10
pip install --user tensorflow-metal==0.6
In case of problems with installation refer to Tensorflow Plugin page on Apple developer site.
Install the latest stable release from pip:
pip install ampligraph
If instead you want the most recent development version, you can clone the repository
and install from source (your local working copy will be on the latest commit on the develop
branch).
The code snippet below will install the library in editable mode (-e
):
git clone https://github.com/Accenture/AmpliGraph.git
cd AmpliGraph
pip install -e .
>>> import ampligraph
>>> ampligraph.__version__
'2.0.0'
AmpliGraph includes implementations of TransE, DistMult, ComplEx, HolE, ConvE, and ConvKB. Their predictive power is reported below and compared against the state-of-the-art results in literature. More details available here.
FB15K-237 | WN18RR | YAGO3-10 | FB15k | WN18 | |
---|---|---|---|---|---|
Literature Best | 0.35* | 0.48* | 0.49* | 0.84** | 0.95* |
TransE (AmpliGraph 2) | 0.31 | 0.22 | 0.50 | 0.62 | 0.64 |
DistMult (AmpliGraph 2) | 0.30 | 0.47 | 0.48 | 0.71 | 0.82 |
ComplEx (AmpliGraph 2) | 0.31 | 0.50 | 0.49 | 0.73 | 0.94 |
HolE (AmpliGraph 2) | 0.30 | 0.47 | 0.47 | 0.73 | 0.94 |
TransE (AmpliGraph 1) | 0.31 | 0.22 | 0.51 | 0.63 | 0.66 |
DistMult (AmpliGraph 1) | 0.31 | 0.47 | 0.50 | 0.78 | 0.82 |
ComplEx (AmpliGraph 1) | 0.32 | 0.51 | 0.49 | 0.80 | 0.94 |
HolE (AmpliGraph 1) | 0.31 | 0.47 | 0.50 | 0.80 | 0.94 |
ConvE (AmpliGraph 1) | 0.26 | 0.45 | 0.30 | 0.50 | 0.93 |
ConvE (1-N, AmpliGraph 1) | 0.32 | 0.48 | 0.40 | 0.80 | 0.95 |
ConvKB (AmpliGraph 1) | 0.23 | 0.39 | 0.30 | 0.65 | 0.80 |
The project documentation can be built from your local working copy with:
cd docs
make clean autogen html
See guidelines from AmpliGraph documentation.
If you like AmpliGraph and you use it in your project, why not starring the project on GitHub!
If you instead use AmpliGraph in an academic publication, cite as:
@misc{ampligraph,
author= {Luca Costabello and
Alberto Bernardi and
Adrianna Janik and
Sumit Pai and
Chan Le Van and
Rory McGrath and
Nicholas McCarthy and
Pedro Tabacof},
title = {{AmpliGraph: a Library for Representation Learning on Knowledge Graphs}},
month = mar,
year = 2019,
doi = {10.5281/zenodo.2595043},
url = {https://doi.org/10.5281/zenodo.2595043}
}
AmpliGraph is licensed under the Apache 2.0 License.