Error detection in Knowledge Graphs: Path Ranking, Embeddings or both?
Here we provide the code for the Path Ranking Guided Embeddings (PRGE) framework. This is a hybrid approach that utilizes confidence scores from a Path Ranking method to Train Knowledge Graph Embeddings.
- PRGE training script in src folder
- Evaluation notebooks for results (already run with provided results)
We provide already trained embeddings (download from here) and additional files for 3 different datasets: 2 benchmark datasets (FB15K, WN18) and one custom dataset (Dementia, see here for more info). These embeddings can be directly used for the evaluation scripts. The additional files (triples/confidence scores) can be used to train the embeddings from scratch using the cpp script provided.