[Developers] Looking for Beyonce

Arthur van Hoff AVH at zing.net
Wed Nov 7 04:13:14 UTC 2007


How do I query for an artist either by name or by alias? Section 3.2.20 of the documentation mentions that there is no way to express an OR relationship.  I need to match against either an alias or a name because some bands don't have their name listed as an alias.


-----Original Message-----
From: developers-bounces at freebase.com [mailto:developers-bounces at freebase.com] On Behalf Of John Giannandrea
Sent: Tuesday, November 06, 2007 3:15 PM
To: For discussions about MQL,Freebase API and apps built on Freebase
Subject: Re: [Developers] Looking for Beyonce



generally the unaccented name is saved as an alias.  e.g.

{
   "query":[{
     "/common/topic/alias":[],
     "/common/topic/alias~=":"Beyonce",
     "id":null,
     "name":null,
     "type":"/music/artist"
   }]
}


On Nov 6, 2007, at 2:41 PM, Arthur van Hoff wrote:

> Hi,
>
>
>
> Most users are used to searching for Beyonce (without the accent)  
> and finding Beyoncé.
>
>
>
> {
>
>   "query":[{
>
>     "id":null,
>
>     "name":null,
>
>     "name~=":"Beyonce",
>
>     "type":"/music/artist"
>
>   }]
>
> }
>
>
>
> But this query does not return any results. Any suggestion on how  
> to search while ignoring accented characters?
>
>
>
> Have fun,
>
>
>
>     Arthur
>
>
>
> ___________________________________________
>
> Arthur van Hoff, CTO Software and Services, Dell-ZING
>
> W: 650-267-2413, F: 650-267-2498, M: 650-283-0842
>
>
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers

_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers


More information about the Developers mailing list