[Developers] Random pick...

John Giannandrea jg at metaweb.com
Tue Apr 29 19:11:03 UTC 2008


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/20080429/b646c264/attachment.htm 


More information about the Developers mailing list