Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T00:10:18.061Z Has data issue: false hasContentIssue false

An ASP-based Approach to Answering Natural Language Questions for Texts

Published online by Cambridge University Press:  04 February 2022

DHRUVA PENDHARKAR
Affiliation:
Department of Computer Science, The University of Texas at Dallas, Richardson, TX 75080, USA (e-mails: Dhruva.Pendharkar@utdallas.edu, Kinjal.Basu@utdallas.edu, Farhad.Shakerin@utdallas.edu, gupta@utdallas.edu)
KINJAL BASU
Affiliation:
Department of Computer Science, The University of Texas at Dallas, Richardson, TX 75080, USA (e-mails: Dhruva.Pendharkar@utdallas.edu, Kinjal.Basu@utdallas.edu, Farhad.Shakerin@utdallas.edu, gupta@utdallas.edu)
FARHAD SHAKERIN
Affiliation:
Department of Computer Science, The University of Texas at Dallas, Richardson, TX 75080, USA (e-mails: Dhruva.Pendharkar@utdallas.edu, Kinjal.Basu@utdallas.edu, Farhad.Shakerin@utdallas.edu, gupta@utdallas.edu)
GOPAL GUPTA
Affiliation:
Department of Computer Science, The University of Texas at Dallas, Richardson, TX 75080, USA (e-mails: Dhruva.Pendharkar@utdallas.edu, Kinjal.Basu@utdallas.edu, Farhad.Shakerin@utdallas.edu, gupta@utdallas.edu)
Rights & Permissions [Opens in a new window]

Abstract

An approach based on answer set programming (ASP) is proposed in this paper for representing knowledge generated from natural language texts. Knowledge in a text is modeled using a Neo Davidsonian-like formalism, which is then represented as an answer set program. Relevant commonsense knowledge is additionally imported from resources such as WordNet and represented in ASP. The resulting knowledge-base can then be used to perform reasoning with the help of an ASP system. This approach can facilitate many natural language tasks such as automated question answering, text summarization, and automated question generation. ASP-based representation of techniques such as default reasoning, hierarchical knowledge organization, preferences over defaults, etc., are used to model commonsense reasoning methods required to accomplish these tasks. In this paper, we describe the CASPR system that we have developed to automate the task of answering natural language questions given English text. CASPR can be regarded as a system that answers questions by “understanding” the text and has been tested on the SQuAD data set, with promising results.

Information

Type
Rapid Communication
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Fig 1. Example of POS tagging and dependency graph.

Figure 1

Fig 2. Entry for the concept of lion in WordNet.

Figure 2

Fig 3. System architecture.

Figure 3

Fig 4. Semantic graph representing event regions.

Figure 4

Fig 5. Concept graph of hypernym relation.

Figure 5

Fig 6. ASP Rules representing the animal branch of “lion”.

Figure 6

Table 1. Expected answer types for question types

Figure 7

Table 2. Results for question answering