Distributional compositional (DisCo) models are functors that compute the meaning of a sentence from the meaning of its words. We show that DisCo models in the category of sets and relations correspond precisely to relational databases. As a consequence, we get complexity-theoretic reductions from semantics and entailment of a fragment of natural language to evaluation and containment of conjunctive queries, respectively. Finally, we define question answering as an NP-complete problem.
CITATION STYLE
De Felice, G., Meichanetzidis, K., & Toumi, A. (2020). Functorial question answering. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 323, pp. 84–94). Open Publishing Association. https://doi.org/10.4204/EPTCS.323.6
Mendeley helps you to discover research relevant for your work.