thunlp / KB2E

Knowledge Graph Embeddings including TransE, TransH, TransR and PTransE
MIT License
1.4k stars 449 forks source link

what does test_pra.txt mean in PCRA.py? #66

Closed ShellingFord221 closed 5 years ago

ShellingFord221 commented 6 years ago

Hi, when I test pTransE for entity prediction, I have to make test_pra.txt by PCRA.py. But if there are multiple queries (e.g. ?-birthdate-0915, ?-birthplace-US, etc.), should there be multiple test_pra.txt? Or just one document? I'm a little bit confused.

Mrlyk423 commented 6 years ago

We put the relational paths of all entities in test_pra.txt. For the format of test_pra.txt, you can refer to #63 .