A New Data Structure for Processing Natural Language Database Queries

Richard Frost, Shane Peelar

2019

Abstract

Natural Language Query Interfaces (NLQIs) have once again captured the public imagination, but developing them has proven to be non-trivial. One way is by using a Compositional Semantics (CS) to directly compute the answer to a query from the meanings of its parts. The query is treated as an expression of a formal language, and interpreted directly with respect to a database which provides meanings for words, which are the basic components. The meanings of compound phrases in the query, and the answer to the query itself, are computed from their constituent words and phrases using semantic rules that are applied according to the query’s syntactic structure. Montague Semantics (MS), which is a type of CS, has been used in various NLQIs previously. MS accommodates common and proper nouns, adjectives, conjunction and disjunction, intransitive and binary transitive verbs, quantifiers, and intentional and modal constructs. MS does not provide an explicit denotation for n-ary transitive verbs nor does it provide an explanation of how to handle prepositional phrases. By adding events to MS and by introducing a new data structure, transitive verbs and prepositional phrases can be accommodated as well as other NL features that are often considered to be non-compositional.

Download


Paper Citation


in Harvard Style

Frost R. and Peelar S. (2019). A New Data Structure for Processing Natural Language Database Queries.In Proceedings of the 15th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST, ISBN 978-989-758-386-5, pages 80-87. DOI: 10.5220/0008124300800087


in Bibtex Style

@conference{webist19,
author={Richard Frost and Shane Peelar},
title={A New Data Structure for Processing Natural Language Database Queries},
booktitle={Proceedings of the 15th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,},
year={2019},
pages={80-87},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0008124300800087},
isbn={978-989-758-386-5},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 15th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,
TI - A New Data Structure for Processing Natural Language Database Queries
SN - 978-989-758-386-5
AU - Frost R.
AU - Peelar S.
PY - 2019
SP - 80
EP - 87
DO - 10.5220/0008124300800087