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

Differentiate “Who” from “What” #131

Open progval opened 9 years ago

progval commented 9 years ago

I think questions like “Who is Page?” should be parsed as “(Page, identity, ?) ∩ (?, instance of, human)” instead of just “(Page, identity, ?)”.

http://askplatyp.us/?lang=en&q=Who+is+Page%3F

http://www.wolframalpha.com/input/?i=Who+is+Page%3F

yhamoudi commented 9 years ago

Are we sure that Who is used only for humans (not animals for instance?). If yes, good idea!

progval commented 9 years ago

What about “(Page, identity, ?) ∩ ((?, instance of, human) ∪ (?, instance of, animal))”?

Tpt commented 9 years ago

The good class to use is "person". "person" is usually considered in ontologies (Wikidata, FOAF, schema.org...) as anything that have a personality. it may be a human, a movie character, a pet...

An other point: please don't deploy such features while the Wikidata module is not able to manage "instance of" well because as the triple (Barack Obama, instance of, person) is not in Wikidata we have to infer it from (Barack Obama, instance of, human) and (human, subclass of, person). I plan to work on it in a month or two but having an EntityStore that is frequently updated and in which we can do queries has a stronger priority.

Ezibenroc commented 9 years ago

Should we not use the types for this?

Tpt commented 9 years ago

I really think we should drop type feature: it adds nothing more than an intersection with (?, instance of, x).

Ezibenroc commented 9 years ago

So we should remove it from the datamodel. @yhamoudi already started coding some things about types.

Tpt commented 9 years ago

Pull request: https://github.com/ProjetPP/Documentation/pull/57