Foundations of Digital Methods: Query Design