[Developers] different search results from freebase & api

Faye Harris faye at metaweb.com
Wed Sep 3 00:26:01 UTC 2008


Hi Qi,

Search does more than querying topic names. Among other things, it looks 
for matches to your query in topic aliases, descriptions, and Wikipedia 
links. In this case, it found a topic ("Madonna") that has an alias of 
"Madonna Louise Ciccone Ritchie".

Your MQL query, on the other hand, asks for things with "Louise Ciccone 
Ritchie" as its name and name only. As you've found out, there is no 
such thing in Freebase.

You can learn more about the search API at:
http://www.freebase.com/view/guid/9202a8c04000641f8000000006ad84c9

A very good resource for learning about MQL can be found at:
http://www.freebase.com/view/guid/9202a8c04000641f800000000544e13e

-- Faye


qi li wrote:
> Dear All,
>
> When I played with freebase data and API, I found I could find search 
> results when I used search query of "Louise Ciccone Ritchie" on web 
> page 
> (http://www.freebase.com/search?limit=30&start=0&query=Louise+Ciccone+Ritchie 
> <http://www.freebase.com/search?limit=30&start=0&query=Louise+Ciccone+Ritchie>). 
> But I failed  at any results when I used MQL query 
> (http://www.freebase.com/api/service/mqlread?queries={%22item%22:{%22query%22:{%22name%22:%22Louise%20Ciccone%20Ritchie%22,%22type%22:[]}}} 
> <http://www.freebase.com/api/service/mqlread?queries=%7B%22item%22:%7B%22query%22:%7B%22name%22:%22Louise%20Ciccone%20Ritchie%22,%22type%22:%5B%5D%7D%7D%7D>)
>
> Could anybody tell me the "secret"? I didn't correctly write MQL query 
> or Mediapedia does more work in "Fuzzy" search part, that is, it 
> provides some methods to directly map Louise Ciccone Ritchie to Madonna?
>
> Thank you very much!
>
> Best,
> -- 
> Qi Li
> School of Information Science
> University of Pittsburgh
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>   



More information about the Developers mailing list