[Developers] different search results from freebase & api

Eynard, Davide davide.eynard at hp.com
Wed Sep 3 00:29:46 UTC 2008


Hi!

Yes, actually searching for "Louise Ciccone Ritchie" via the Web interface
does a much fuzzier search which, as far as I know, also takes into account
"also known as" properties and substrings instead of exact matches.

In this particular case the name is a substring of an alias of a common topic,
so you can find the original topic id and name with a query like the following
one:

  {
    "alias~=" : "Louise Ciccone Ritchie",
    "id" : null,
    "name" : null,
    "type" : "/common/topic"
  }

Hope the solution is not too trivial, let me know if you need something more
general.

Cheers,

da

From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of qi li
Sent: Tuesday, September 02, 2008 5:07 PM
To: crism at metaweb.com; developers at freebase.com
Subject: [Developers] different search results from freebase & api

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). 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080903/8b631465/attachment.htm 


More information about the Developers mailing list