Investigating PRECISE : Implementing a portable natural language interface to databases
A natural language interface to a database (NLIDB) lets a user query a database using a natural language. PRECISE (Popescu et al., 2003) is a formal model for a portable SQL NLIDB which interprets a question by pairing sentence tokens to database attributes and values with a maximum flow solution. P...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
KTH, Skolan för datavetenskap och kommunikation (CSC)
2015
|
Subjects: | |
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-166574 |
id |
ndltd-UPSALLA1-oai-DiVA.org-kth-166574 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-kth-1665742018-01-12T05:11:16ZInvestigating PRECISE : Implementing a portable natural language interface to databasesengEverling, NilsKTH, Skolan för datavetenskap och kommunikation (CSC)2015Computer SciencesDatavetenskap (datalogi)A natural language interface to a database (NLIDB) lets a user query a database using a natural language. PRECISE (Popescu et al., 2003) is a formal model for a portable SQL NLIDB which interprets a question by pairing sentence tokens to database attributes and values with a maximum flow solution. PRECISE is said to be sound and complete for a large class of semantically tractable questions. We implemented PRECISE and deployed it on Geoquery, a database of geographical facts. PRECISE made no errors in terms of returning a single, incorrect query, giving it the highest possible precision value. However, out of the 448 questions given, PRECISE was only able to produce SQL queries for 162, giving it a recall value of 0.361. A considerable amount of sentences gave rise to multiple interpretations, which prompted PRECISE to produce no query. Moreover, PRECISE by design could not produce queries for sentences which did not contain a WH-token ({"what", "where", "when", "who", "which"}). Our implementation of PRECISE required some manual configuration when deployed on Geoquery for best recall. While the results are tied to our implementation they give an indication of the size of the semantically tractable class as well as the portability of PRECISE. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-166574application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Computer Sciences Datavetenskap (datalogi) |
spellingShingle |
Computer Sciences Datavetenskap (datalogi) Everling, Nils Investigating PRECISE : Implementing a portable natural language interface to databases |
description |
A natural language interface to a database (NLIDB) lets a user query a database using a natural language. PRECISE (Popescu et al., 2003) is a formal model for a portable SQL NLIDB which interprets a question by pairing sentence tokens to database attributes and values with a maximum flow solution. PRECISE is said to be sound and complete for a large class of semantically tractable questions. We implemented PRECISE and deployed it on Geoquery, a database of geographical facts. PRECISE made no errors in terms of returning a single, incorrect query, giving it the highest possible precision value. However, out of the 448 questions given, PRECISE was only able to produce SQL queries for 162, giving it a recall value of 0.361. A considerable amount of sentences gave rise to multiple interpretations, which prompted PRECISE to produce no query. Moreover, PRECISE by design could not produce queries for sentences which did not contain a WH-token ({"what", "where", "when", "who", "which"}). Our implementation of PRECISE required some manual configuration when deployed on Geoquery for best recall. While the results are tied to our implementation they give an indication of the size of the semantically tractable class as well as the portability of PRECISE. |
author |
Everling, Nils |
author_facet |
Everling, Nils |
author_sort |
Everling, Nils |
title |
Investigating PRECISE : Implementing a portable natural language interface to databases |
title_short |
Investigating PRECISE : Implementing a portable natural language interface to databases |
title_full |
Investigating PRECISE : Implementing a portable natural language interface to databases |
title_fullStr |
Investigating PRECISE : Implementing a portable natural language interface to databases |
title_full_unstemmed |
Investigating PRECISE : Implementing a portable natural language interface to databases |
title_sort |
investigating precise : implementing a portable natural language interface to databases |
publisher |
KTH, Skolan för datavetenskap och kommunikation (CSC) |
publishDate |
2015 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-166574 |
work_keys_str_mv |
AT everlingnils investigatingpreciseimplementingaportablenaturallanguageinterfacetodatabases |
_version_ |
1718605839235809280 |