AskNowQA / AutoSPARQL

Warning: Not working at the moment. Maintainer on parental leave. AutoSPARQL allows to create SPARQL queries over RDF knowledge bases from natural language with low effort.
http://aksw.org/Projects/AutoSPARQL.html
GNU General Public License v3.0
91 stars 54 forks source link

Case in queries #4

Open timfu opened 12 years ago

timfu commented 12 years ago

"houses in summertown" fails for me, as does "houses in headington" etc.

I think it's about capitalization, as

"houses in Summertown" works as does "houses in Headington"

etc.

I guess we can live with this, but it would be great if we could just accept lowercase locations as well.

LorenzBuehmann commented 12 years ago

Yes, that's indeed a problem, but currently I see no solution to this problem. We use a POS tagger (e.g. http://nlp.stanford.edu:8080/parser/index.jsp) when processing the question.

houses in Summertown -> houses/NNS in/IN Summertown/NNP houses in Summertown -> houses/NNS in/IN Summertown/NN

Based on the POS tagging we decide whether it is a class or resource.

timfu commented 12 years ago

Could you add something to the error message, like if it's "in" followed by a lower-case, we add something like "try in upper case" or "did you mean...".

Doesn't have high priority, but I fear most people will run into this.