Data analysis software that combines search, aggregation and inference generation