xwhan / DeepPath

code and docs for my EMNLP paper "DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoning"
533 stars 135 forks source link

Do you think KG can solve this kind of question? #3

Closed guotong1988 closed 6 years ago

guotong1988 commented 6 years ago

1, A lives in C. (A, liveInCity, C) B lives in C. (B, liveInCity, C) Does A and B live in the same city?

2, A is 180 cm height. (A, height, 180) B is 175 cm height. (B, height, 175) Is B taller than A?

Thank you very much.

xwhan commented 6 years ago

the first example is trivial for KB reasoning. If you have enough examples of this reasoning pattern, current model should be able to learn such rule.

for the second one, if you only rely on KB reasoning, you should add the triple (180, larger than, 175) as another evidence. This kind of common sense can be challenging for existing system to learn.

guotong1988 commented 6 years ago

Thank you.

guotong1988 commented 6 years ago

How you think Semantic Parsing method for KG? Thank you.

xwhan commented 6 years ago

Myself do not work on semantic parsing. You can read Percy Liang or Scott Yih's papers

guotong1988 commented 6 years ago

Thank you.

guotong1988 commented 6 years ago

So you think semantic parsing is also promising and hot?

xwhan commented 6 years ago

yes