Contextual research for water-purification system