ProjetPP / PPP-QuestionParsing-Grammatical

Question Parsing module for the PPP using a grammatical approch
GNU Affero General Public License v3.0
33 stars 11 forks source link

“Where is the capital of France?” not handled correctly #58

Closed progval closed 9 years ago

progval commented 9 years ago

~~“Where is the ENS de Lyon?” ~~ Neither is “Where is the ENS of Lyon?” “Where is the ENS Lyon?” is, though.

Irrelevant.

True problem: Where is the capital of France?

Ezibenroc commented 9 years ago

Where is the ENS de Lyon?

You use a foreign language. We do not expect it to work.You should ask Where is the "ENS de Lyon"?

Where is the ENS of Lyon?

There is no such thing as "ENS of Lyon".

The true problem is Where is the capital of France?

progval commented 9 years ago

Couldn't you try to interpret this kind of questions in two different ways, and return both results?

yhamoudi commented 9 years ago

i've located the problem and we could hope to obtain ((Lyon,Ens,?),location,?)

Ezibenroc commented 9 years ago

There is not such thing as "ENS" on the Wikidata entity of "Lyon" (certainly the same thing for all other databases). Do not focus on it.

But we should return ((France,capital,?),location,?) for "Where is the capital of France?"?