Erotetics is the logic of questions and answers. The field has been developed over the last hundred years and is nicely summarized by (Wisniewski 2015).
How, if at all, was SPARQL, the RDF query language, influenced by the research in that field?
- Wisniewski, Andrzej. "Semantics of questions." The handbook of contemporary semantic theory 3 (2015): 273. (pdf)