http://www.bigdbahead.com/?p=176 Social Networking type queries with NDB