Transform SMW query for sites into something more usable and return out.