ontolog-forum
[Top] [All Lists]

Re: [ontolog-forum] Natural Language based SPARQL Generator

To: ontolog-forum@xxxxxxxxxxxxxxxx
From: John F Sowa <sowa@xxxxxxxxxxx>
Date: Wed, 30 Jan 2013 23:16:54 -0500
Message-id: <5109F036.10609@xxxxxxxxxxx>
On 1/30/2013 1:00 PM, Kingsley Idehen wrote:
> Quick FYI re: http://quepy.machinalis.com/ .
>
> Examples:
>
> 1. What is the capital of Nigeria? --http://bit.ly/WvXAIb.
> 2. Who is the President of Nigeria? --http://bit.ly/XIsc5x.
> 3. What is the population of Nigeria? --http://bit.ly/XQbAJM.    (01)

I was *extremely* unimpressed by that system.    (02)

I typed each of those three sentences to Google and got the
answer just from the brief excerpts quoted in the first
few hits.  I didn't even have to click on any of the URLs.    (03)

Then I typed the following sentences to both Quepy and Google.
In each case, I typed the full sentence to Quepy & did a cut
and paste of exactly the same string to Google.  Since Quepy
would complain about capitalization, I was careful about that:    (04)

  1. Who was Einstein?    (05)

  2. What did Einstein do?    (06)

  3. When did Lindbergh cross the Atlantic?    (07)

  4. What is the chemical formula for acetone?    (08)

  5. When did the Revolutionary War end?    (09)

Quepy answered the first question by giving me a paragraph
from the Wikipedia entry for Einstein.  But it failed to
generate a SPARQL query for any of the other four questions.    (010)

For every one of those five questions, Google returned the
correct answer in the excerpts on the first page.  I didn't
even have to click on any of the URLs.    (011)

Google does not use RDF or SPARQL.  Neither one would be
of any value for generating the following responses.    (012)

John
_____________________________________________________________    (013)

1. Who was Einstein?    (014)

Google produced a sidebar with a lot of useful information
about Albert Einstein.  Its first hit was the following:    (015)

>     Albert Einstein - Wikipedia, the free encyclopedia
>     en.wikipedia.org/wiki/Albert_Einstein
>     Albert Einstein (pron.: /ˈælbərt ˈaɪnstaɪn/; German: [ˈalbɐt 
>ˈaɪnʃtaɪn] ( listen);
>     14 March 1879 – 18 April 1955) was a German-born theoretical physicist 
>...
>     Spinozism
>     - Brain
>     - Religious views of albert einstein
>     - Hans Albert Einstein    (016)

2. What did Einstein do?    (017)

First hit from Google:    (018)

>     What did albert einstein do? - Yahoo! Answers
>     answers.yahoo.com › All Categories › Arts & Humanities › History
>     12 answers - Feb 9, 2008
>     Top answer: Einstein came up with quite a few important ideas such as:
>     the photoelectric effect (which he won the Nobel prize for) Brownian 
>motion special ...
>     What did Albert Einstein do that was so smart?
>     ‎ - 8 answers - Nov 9, 2010
>     What did Einstein do?
>     ‎ - 13 answers - Aug 16, 2009
>     Could Albert Einstein do simple math?
>     ‎ - 7 answers - Feb 13, 2009
>     What did Einstein mean by saying, "God does not ...
>     ‎ - 13 answers - Jul 13, 2008
>
>     More results from answers.yahoo.com »    (019)

3. When did Lindbergh cross the Atlantic?    (020)

Google returned the Wikipedia article as the first hit.
The second hit was    (021)

> Lindbergh Flies the Atlantic, 1927
> www.charleslindbergh.com/history/paris.asp
> Charles Lindbergh Flies the Atlantic, 1927. ...
> New York City gave him the largest ticker tape parade ever,
> the president awarded him the Distinguished Flying Cross.    (022)

4. What is the chemical formula for acetone?    (023)

Google presented a sidebar with information about acetone,
including the formula.  Its first hit was    (024)

> Chemical formula of acetone
> www.chemicalformula.org/acetone
> Chemical formula of acetone also known as 2-propanone or propanone
> is C3H6O or OC(CH3)2. The complete structural formula is shown...    (025)

5. When did the Revolutionary War end?    (026)

Following are the first two hits from Google:    (027)

>     American Revolutionary War - Wikipedia, the free encyclopedia
>     en.wikipedia.org/wiki/American_Revolutionary_War
>     Militiamen were lightly armed, had little training, and usually
>     did not have uniforms. ... At the end of the American Revolution in 1783,
>     both the Continental Navy ...
>     Lexington and Concord
>     - Treaty of Paris (1783)
>     - List of American Revolutionary    (028)

>     When did the Revolutionary War end - WikiAnswers
>     wiki.answers.com › ... › War and Military History › American 
>Revolution
>     The American Revolution was fought from 1775 to 1783.
>     It effectively ended in October, 1781 in Yorktown, VA after
>     George Washington forced General ...    (029)

_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/ontolog-forum/  
Config Subscr: http://ontolog.cim3.net/mailman/listinfo/ontolog-forum/  
Unsubscribe: mailto:ontolog-forum-leave@xxxxxxxxxxxxxxxx
Shared Files: http://ontolog.cim3.net/file/
Community Wiki: http://ontolog.cim3.net/wiki/ 
To join: http://ontolog.cim3.net/cgi-bin/wiki.pl?WikiHomePage#nid1J    (030)

<Prev in Thread] Current Thread [Next in Thread>