Query 4, works for small data set (can't test the medium set yet because
it won't download)