Natural Language Interfaces (NLI s)



Similar documents
Relational Schema. CS 4700/6700 A Sample of Small Database Design Using Microsoft Access

VIEWS virtual relation data duplication consistency problems

Part A: Data Definition Language (DDL) Schema and Catalog CREAT TABLE. Referential Triggered Actions. CSC 742 Database Management Systems

Lab Manual. Database Systems COT-313 & Database Management Systems Lab IT-216

CSC 443 Data Base Management Systems. Basic SQL

CS4025: Pragmatics. Resolving referring Expressions Interpreting intention in dialogue Conversational Implicature

SQL Nested & Complex Queries. CS 377: Database Systems

1. Introduction to Spoken Dialogue Systems

customer care solutions

How To Create A Table In Sql (Ahem)

Titanium Schedule Client Import Guide

Tutorial: How to Use SQL Server Management Studio from Home

Data Integrity in Travel Management Reporting

CS 338 Join, Aggregate and Group SQL Queries

Specialty Answering Service. All rights reserved.

Language Interface for an XML. Constructing a Generic Natural. Database. Rohit Paravastu

NATURAL LANGUAGE QUERY PROCESSING USING SEMANTIC GRAMMAR

Introduction to SQL: Data Retrieving

Chapter 9, More SQL: Assertions, Views, and Programming Techniques

CHAPTER 8: SQL-99: SCHEMA DEFINITION, BASIC CONSTRAINTS, AND QUERIES

Exploring Microsoft Office Access Chapter 2: Relational Databases and Multi-Table Queries

Materials Software Systems Inc (MSSI). Enabling Speech on Touch Tone IVR White Paper

Lab Manual. Databases. Microsoft Access. Peeking into Computer Science Access Lab manual

New York University Computer Science Department Courant Institute of Mathematical Sciences

Access Queries (Office 2003)

Joomla! Override Plugin

Business Rules for OR People: Methods for Process Automation. Gregory Glockner, Ph.D. ILOG, Inc.

How to Improve Database Connectivity With the Data Tools Platform. John Graham (Sybase Data Tooling) Brian Payton (IBM Information Management)

MS Access. Microsoft Access is a relational database management system for windows. Using this package, following tasks can be performed.

Natural Language Updates to Databases through Dialogue


Domain Knowledge Extracting in a Chinese Natural Language Interface to Databases: NChiql

VoiceXML-Based Dialogue Systems

Part 4: Database Language - SQL

Christian Leibold CMU Communicator CMU Communicator. Overview. Vorlesung Spracherkennung und Dialogsysteme. LMU Institut für Informatik

Chapter 8. SQL-99: SchemaDefinition, Constraints, and Queries and Views

Microsoft s new database modeling tool: Part 1

CSCI315 Database Design and Implementation

SQL Simple Queries. Chapter 3.1 V3.0. Napier University Dr Gordon Russell

Lab # 5. Retreiving Data from Multiple Tables. Eng. Alaa O Shama

2. Conceptual Modeling using the Entity-Relationship Model

More SQL: Assertions, Views, and Programming Techniques

Axiom Frequently Asked Questions

An Introduction to VoiceXML

HOW TO CREATE AND MERGE DATASETS IN SPSS

ABSTRACT 2. SYSTEM OVERVIEW 1. INTRODUCTION. 2.1 Speech Recognition

Travel Request. This document describes the functions used for Creating, Maintaining, Submitting and Approving Travel Requests and Expense Reports.

CS 6740 / INFO Ad-hoc IR. Graduate-level introduction to technologies for the computational treatment of information in humanlanguage

Lab Assignment Creating a Relational Database Schema from ER Diagram, Populating the Database and Querying over the database with SQL

VoiceXML Tutorial. Part 1: VoiceXML Basics and Simple Forms

Using Temporary Tables to Improve Performance for SQL Data Services

City of De Pere. Halogen How To Guide

History of SQL. Relational Database Languages. Tuple relational calculus ALPHA (Codd, 1970s) QUEL (based on ALPHA) Datalog (rule-based, like PROLOG)

The Relational Algebra

SECURITY CHAPTER 24 (6/E) CHAPTER 23 (5/E)

Relational Algebra. Query Languages Review. Operators. Select (σ), Project (π), Union ( ), Difference (-), Join: Natural (*) and Theta ( )

Using SQL Developer. Copyright 2008, Oracle. All rights reserved.

Asset Allocation Training Manual

!"#"$%&'(()!!!"#$%&'())*"&+%

There are five fields or columns, with names and types as shown above.

Autodesk Product Manager Tool

The Operations Management

Binary Logistic Regression

Travel Program Overview

Displaying Data from Multiple Tables. Chapter 4

Amadeus Selling Platform All Fares Plus

Factiva. User s Guide. Introduction

Summary on Chapter 4 Basic SQL

INF5820, Obligatory Assignment 3: Development of a Spoken Dialogue System

CMPT 354 Database Systems. Simon Fraser University Summer Instructor: Oliver Schulte

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

Structured Query Language (SQL)

Before using the Online Booking Tool, ensure all travel preferences have been updated. See Getting Started for more information.

Concur Travel User Guide

Introduction to tuple calculus Tore Risch

Data Integration and Exchange. L. Libkin 1 Data Integration and Exchange

Table of Contents. Pg 2

Using Natural Language Interfaces

Using Multiple Operations. Implementing Table Operations Using Structured Query Language (SQL)

A Multi-Modal Natural Language Interface to an Information Visualization Environment

Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences. Mike Dempsey

Using the SQL Procedure

Open-Source, Cross-Platform Java Tools Working Together on a Dialogue System

Scheme G. Sample Test Paper-I

A basic create statement for a simple student table would look like the following.

Tutorial Segmentation and Classification

THE FACTORS THAT INFLUENCES REVENUE MANAGEMENT POLICY. Cătălin PETRUŞ 1 Livia TOANCĂ 2

Online Database Management System

Performing Queries Using PROC SQL (1)

Advanced Query for Query Developers

SQL-99: Schema Definition, Basic Constraints, and Queries

SQL Server An Overview

Information Systems SQL. Nikolaj Popov

Creating Tables ACCESS. Normalisation Techniques

Who do I contact if I have issues with Concur Travel? The following support options are available to travelers regarding Concur Travel.

Using Microsoft Access

SPSS Workbook 1 Data Entry : Questionnaire Data

NATURAL LANGUAGE TO SQL CONVERSION SYSTEM

A Natural Language Database Interface For SQL-Tutor

Natural Language Database Interface for the Community Based Monitoring System *

Transcription:

Natural Language Interfaces (NLI s) Mapping from (free-form) English text (or speech) to SQL English text or speech response to query rather than responding with a table optional PRIMARY ENGLISH SPEECH ENGLISH TEXT SQL optional optional

Natural Language Interfaces (Example) Which females with PhD s in Department27 earn over $50,000? SELECT Fname, Lname FROM Employee, Department WHERE Gender = F AND Degree = PhD AND DNO = 27 AND Salary > 50000

Natural Language Interfaces - History 1970 s and 1980 s A flurry of interest in commercial systems (one of the first applications of NLP in the marketplace) PROBLEM: Difficult to adapt to new domains (especially by novice users) 1988-2000+ - Speech-based natural language database interfaces (ATIS)

Natural Language Interfaces - History HAL Lotus NLI Inc. Data talker NLQ (Battelle) Natural Language Query Intelligent Query ==> WIDE USE WILL DEPEND ON SPEECH RECOGNITION TECHNOLOGY

General Syntax of English Queries LIST the minimum PROJECT and PROJECT that SELECT and SELECT CMD all maximum ATTRS, ATTRS which CONDS or CONDS φ average where φ who List Show Give me I need etc. SELECT FROM Employee WHERE AND

General Syntax of English Queries LIST the minimum PROJECT and PROJECT that SELECT and SELECT CMD all maximum ATTRS, ATTRS which CONDS or CONDS φ average where φ who List Show Give me I need etc. SELECT FROM Employee WHERE AND Where does this come from?

Mapping from Words to Attributes Which females with PhD s in Department27 earn over $50,000? GENDER DEGREE DNO SALARY SELECT Fname, Lname FROM Employee, Department WHERE Gender = F AND Degree = PhD AND DNO = 27 AND Salary > 50000

Selecting Attribute Names from Seen Values ATTRIBUTE NAME SEEN VALUES Department Lname Locations Accounting Sales Research Smith Jones Madison Skaggsville Boston Madison NAMED ENTITY CLASSIFICATION: Proper name->type

General Syntax of English Queries LIST the minimum PROJECT and PROJECT that SELECT and SELECT CMD all maximum ATTRS, ATTRS which CONDS or CONDS φ average where φ who List Show Give me I need etc. SELECT FROM Employee WHERE AND We can build complex finite-state English grammars and maps to SQL.

Range Qualifiers ( V ) <QUAL> <X> earns more than 50,000 is over 30 years old ENGLISH SQL more than > at least >= over > less than < under < below < not more than <= <null> =

Issues Attachment Ambiguity Find all female employees and managers

Issues Attachment Ambiguity Find all (female employees) and managers

Issues Attachment Ambiguity Find all female (employees and managers) Conjunction Ambiguity

Issues Attachment Ambiguity Find all female employees and managers Which females with PhD s in accounting Which females with PhD s in sales

Issues Attachment Ambiguity Find all female employees and managers Which females with PhD s in accounting Which females with PhD s in sales

Issues Continued What to Output? Which females with PhD s working in accounting earn over $50,000?

Issues Continued What to Output? Which females with PhD s working in accounting earn over $50,000? Default attributes to return for each target entity: Employee Lname, Fname Department -> Dname (DNO) Plus attribute values computed in query and not specified directly e.g. Salary

Problems with NLI s People don t know what they can ask for unless (and possibly if) they are expert users Menus (or menu dialog) may be more helpful

Key Opportunity for NLI s - SPEECH If you have a computer in front of you, menus or point-andclick are often easier/more efficient than typing a full sentence (e.g. * Show me all earthquakes in Indonesia from 1950 to 1960 that were over 7.0 on the Richter scale * List all stocks in my portfolio which were down more than 20% in today s trading. vs. a QBE or fill-in-the-blanks interface If you are in the car on a cellphone, without text/gui-based input or output then verbal questions and answers are much more natural

ATIS (air travel) Speech Interface Example Please tell me all the flights that leave for Boston today. SELECT FNO FROM FLIGHT WHERE DestinationCity = Boston AND Date = 11-19-2002 AND OriginCity = Atlanta

ATIS (air travel) Speech Interface Example Please tell me all the flights that leave for Boston today. SELECT FNO FROM FLIGHT WHERE DestinationCity = Boston AND Date = 11-19-2002 AND OriginCity = Atlanta Dialog/Context-based assumed information e.g. OriginCity or today s date

Speech-based NLI s Open issue is still what to display/answer? Please tell me all the flights that leave for Boston today. * just the flight numbers (literal answer to their question)? * the flight departure times also? * flight departure and arrival times? * the lowest fare(s)? computer-driven NLI dialogues asking users targeted questions based on likely needs more constrained knowledge of what the user is likely to say (i.e. the answer domain) much improves speech recognition accuracy (i.e. if system is expecting a city name, time or airline the entropy of the input is much reduced)