thunlp / KB2E

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

transE seems doesn't work on DBpedia? #59

Closed ShellingFord221 closed 5 years ago

ShellingFord221 commented 6 years ago

Hi guys, do you work transE on DBpedia? I can't get head+relation=tail. Why is that?

ShellingFord221 commented 6 years ago

Sorry, I mean pTransE. If there is only one path from head to tail, and there is only relation in the path, can we still get head+relation=tail using embeddings trained from pTransE?

Mrlyk423 commented 6 years ago

Sorry, I do not understand what you mean. Do you mean when given a head entity and a path, how to obtain the tail? In this case, you can calculate the path embedding, and also obtain tail entity similar to TransE by vec(head)+vec(path).

kavinduchamiran commented 5 years ago

@ShellingFord221 from where did you obtain DBPedia dataset?