/RawNP

Official code for RawNP (ECML-PKDD 2023)

Primary LanguagePython

RawNP: Few-shot Inductive Link Prediction on Knowledge Graphs

Official Code Repository for the paper "Towards Few-shot Inductive Link Prediction on Knowledge Graphs: A Relational Anonymous Walk-guided Neural Process Approach" (ECML-PKDD 2023) Paper is available at link

Preparation work

  • Put the preprocessed datasets in Dataset/
  • Put the pre-trained embeddings in Pretraining/
  • Checkpoints of the model will be saved in Checkpoints/

Run the experiements

bash run.sh

Apendix

Appendix for the paper is in fold Appendix/