[Developers] Random pick...

Kendra Kuhl kendra.kuhl at juggle.com
Thu May 8 18:01:41 UTC 2008


Does somebody have a query like this handy?

 

Thanks,

 

Kendra

 

From: developers-bounces at freebase.com
[mailto:developers-bounces at freebase.com] On Behalf Of John Giannandrea
Sent: Tuesday, April 29, 2008 2:11 PM
To: For discussions about MQL, Freebase API and apps built on Freebase
Subject: Re: [Developers] Random pick...

 

 

Arthur van Hoff wrote:

I need to randomly pick a few topics of a specific type out of Freebase.

Any suggestions on how to do this without first requesting the entire list?

 

We dont currently have a good way to do this.

One option would be read the first and last timestamped instances of a type
and then run rand over the range and pick limit:1 at some random timestamp
ranges.

-jg

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080508/89feab04/attachment.htm 


More information about the Developers mailing list