[Developers] priority in answers

Andi Vajda vajda at metaweb.com
Sun Nov 9 02:17:36 UTC 2008


On Nov 8, 2008, at 14:08, "Lilach Givati" <lilachg at semantinet.com>  
wrote:

> When I submit a simple query to get the type for “madonna”:
>
> [  {
>
>     "id" : null,
>
>     "name" : "madonna",
>
>     "type" : []
>
>   }]
>
> I get the /music/artist as the 32nd answer.
>
> Is there a way to get the most likely answers first?
>
For relevance-weighted queries use api/service/search?query=madonna.
The response includes the types by default. If you want only the name  
and types of matches add a mql_output parameter that looks like:
     [{"name": null, "type": []}

Andi..
> Thank you,
>
> Lilach
>
>
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20081108/f6f2b525/attachment.htm 


More information about the Developers mailing list