SlideShare a Scribd company logo
1 of 24
Download to read offline
Natural Language Access to Data:
Where Reasoning Makes Sense
Richard Waldinger
Artificial Intelligence Center
SRI International
Cognitive Science Institute
Speaker Series
7 April 2016
1
natural language access to data
joint work
Cleo Condoravdi, Stanford University
Kyle Richardson, Stuttgart
University
Asuman Suenbuel, SAP
Vishal Sikka, SAP (now Infosys)
2
natural language access to data
the problem
accessing knowledge
from structured data sources.
via questions in natural
language.
3
natural language access to data
why is this hard?
natural language uncontrolled.
we want answers, not websites.
answers deduced or computed.
multiple databases.
sequence of ongoing queries.
4
natural language access to data
what makes it easier?
we restrict ourselves to a well-understood
subject domain.
business enterprise
we use already known databases.
access to SAP’s HANA database.
“Quest”
5
waldinger natural language access to datawaldinger natural language access to data
sample query sequence
Show a company with a long-term debt within
the last two years.
The debt is more than 5 million Euros.
It must be Swiss.
6
waldinger natural language access to datawaldinger natural language access to data
why does this require reasoning?
query may be logically complex.
to resolve ambiguities in the query.
differences in vocabularies.
bridge the inferential leap.
compose the answer.
7
waldinger natural language access to datawaldinger natural language access to data
approach (nl+deduction)
semantic parsing ⇒ semantic representation
transform ⇒ logical form
proof ⇒ answers
proof conducted in an axiomatic theory
theory contains links to databases.
8
waldinger natural language access to datawaldinger natural language access to data
implementation of Quest
natural language processing by SAPL
(Cascade Parser)
reasoning by SRI’s SNARK.
data from SAP’s HANA, Currency
Conversion, Nationality Tables, etc.
9
waldinger question answering/ deductionwaldinger question answering/ deduction
theorem prover (SNARK)
resolution (general reasoning).
paramodulation, rewriting (equality).
sorted unification.
answer extraction.
procedural attachment.
spatial and temporal reasoning.
10
waldinger natural language access to datawaldinger natural language access to data
axiomatic subject domain theory
defines concepts in queries.
expresses capabilities of the databases.
provides background knowledge to relate
them.
sort (type) structure
axioms
11
waldinger question answering/ deductionwaldinger question answering/ deduction
sort structure
entity
agent
company
time interval
debt
number
money
size
12
waldinger question answering/ deductionwaldinger question answering/ deduction
sorts of relations
company-has-debt(<company>, <debt>)
company-has-size(<company>, <size>)
within(<time interval>, <time interval>)
swiss(<agent>)
13
waldinger natural language access to datawaldinger natural language access to data
parsing
based on PARC natural language
technology (XLE + Bridge)
new parser (SAPL) written for Quest.
parser knows sort structure and sorts of
relations.
14
waldinger question answering/ deductionwaldinger question answering/ deduction
semantic parsing
query: Show a company with a high debt
within the last two years.
semantic representation (partial):
(quant exists company7 sort company)
(quant exists debt3 sort debt)
(scopes-over company7 debt3)
(in nscope debt3
(company-has-debt company7 debt3))
15
waldinger question answering/ deductionwaldinger question answering/ deduction
logical form
(exists ((company7 sort company)
(debt3 sort debt)
(time-interval5 sort time-interval))
(and (company-has-debt company7 debt3)
(within debt3 time-interval5)
(time-measure time-interval5 2 year)
(last time-interval5))
16
waldinger question answering/ deductionwaldinger question answering/ deduction
axiom: definition of high debt
high(debt-record(?company, ?money,…))
⇔
?money > dollars(1000000)
i.e., a debt is high if its money amount is
greater than 1 million dollars.
17
waldinger question answering/ deductionwaldinger question answering/ deduction
axiom: company has debt
company-has-debt(?company, ?debt) ⇔
(exists (?location, ?size, ?dso, ….)
company-record(?company,
?debt,
?location,
?size,
?dso, ….) &
positive(?debt)
procedural attachment
18
waldinger nl access to datawaldinger nl access to data
sample data
name money location date
SL Foods Inc. $105263551.70 CH 2007 Sept. 1
19
name: SL Foods Inc.
amount of debt: $105,263,551.70.
date debt incurred: Sept 1, 2007.
nationality: CH (Switzerland)
...
waldinger question answering/ deductionwaldinger question answering/ deduction
the answer(s)
the debt of sl food inc. is high,
the debt of sl food inc. is within the interval
from 9/1/2006 to 9/1/2008,
the duration of the interval from 9/1/2006
to 9/1/2008 is 2 years,
the interval from 9/1/2006 to 9/1/2008 is
last.
20
waldinger question answering/ deductionwaldinger question answering/ deduction
reasoning resolves ambiguity.
Show me a client with a high debt.
It was within the last 2 years.
(“It” must be the debt).
It should be Swiss.
(“It” must be the client)
21
waldinger question answering/ deductionwaldinger question answering/ deduction
crowd-sourced axiomatic theories
we currently translate english
questions into logical form.
we could also translate declarative
sentences into logical form.
develop axiomatic theory from text.
domain experts need not know logic.
22
waldinger question answering/ deductionwaldinger question answering/ deduction
other future work
other domains.
spoken input.
efficiency.
changing data bases.
23
waldinger question answering/ deductionwaldinger question answering/ deduction
reference
Natural Language Access to Data:
It Takes Common Sense
AAAI Symposium:
Logical Formalizations of
Common Sense Reasoning
24

More Related Content

Similar to Reasoning Makes Sense: NL Access to Data

2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitecture
2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitecture2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitecture
2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitectureAdam Muise
 
What is Hadoop? Nov 20 2013 - IRMAC
What is Hadoop? Nov 20 2013 - IRMACWhat is Hadoop? Nov 20 2013 - IRMAC
What is Hadoop? Nov 20 2013 - IRMACAdam Muise
 
Naresh_5_years
Naresh_5_yearsNaresh_5_years
Naresh_5_yearsvv Naresh
 
Big Data: selling the Business Case to the business
Big Data: selling the Business Case to the businessBig Data: selling the Business Case to the business
Big Data: selling the Business Case to the businessJ On The Beach
 
2014 feb 5_what_ishadoop_mda
2014 feb 5_what_ishadoop_mda2014 feb 5_what_ishadoop_mda
2014 feb 5_what_ishadoop_mdaAdam Muise
 
5 Tips to Building a Successful Big Data Strategy
5 Tips to Building a Successful Big Data Strategy5 Tips to Building a Successful Big Data Strategy
5 Tips to Building a Successful Big Data StrategyWestern Digital
 
[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...
[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...
[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...DataScienceConferenc1
 
Next Generation Hadoop Introduction
Next Generation Hadoop IntroductionNext Generation Hadoop Introduction
Next Generation Hadoop IntroductionAdam Muise
 
Data Mesh - It's not about technology, it's about people
Data Mesh - It's not about technology, it's about peopleData Mesh - It's not about technology, it's about people
Data Mesh - It's not about technology, it's about peopleDr. Arif Wider
 
Working Capital Manager
Working Capital ManagerWorking Capital Manager
Working Capital ManagerCashforce
 
A Better Understanding: Solving Business Challenges with Data
A Better Understanding: Solving Business Challenges with DataA Better Understanding: Solving Business Challenges with Data
A Better Understanding: Solving Business Challenges with DataEric Kavanagh
 
Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...
Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...
Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...Cambridge Semantics
 
201505 Statistical Thinking course extract
201505 Statistical Thinking course extract201505 Statistical Thinking course extract
201505 Statistical Thinking course extractJefferson Lynch
 
Data scientist enablement dse 400 week 8 roadmap
Data scientist enablement   dse 400   week 8 roadmap Data scientist enablement   dse 400   week 8 roadmap
Data scientist enablement dse 400 week 8 roadmap Dr. Mohan K. Bavirisetty
 

Similar to Reasoning Makes Sense: NL Access to Data (20)

2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitecture
2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitecture2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitecture
2014 feb 24_big_datacongress_hadoopsession2_moderndataarchitecture
 
What is Hadoop? Nov 20 2013 - IRMAC
What is Hadoop? Nov 20 2013 - IRMACWhat is Hadoop? Nov 20 2013 - IRMAC
What is Hadoop? Nov 20 2013 - IRMAC
 
Naresh_5_years
Naresh_5_yearsNaresh_5_years
Naresh_5_years
 
Big Data: selling the Business Case to the business
Big Data: selling the Business Case to the businessBig Data: selling the Business Case to the business
Big Data: selling the Business Case to the business
 
2014 feb 5_what_ishadoop_mda
2014 feb 5_what_ishadoop_mda2014 feb 5_what_ishadoop_mda
2014 feb 5_what_ishadoop_mda
 
5 Tips to Building a Successful Big Data Strategy
5 Tips to Building a Successful Big Data Strategy5 Tips to Building a Successful Big Data Strategy
5 Tips to Building a Successful Big Data Strategy
 
North pole inc
North pole incNorth pole inc
North pole inc
 
DS Intro 2.0
DS Intro 2.0DS Intro 2.0
DS Intro 2.0
 
[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...
[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...
[DSC Europe 22] The (Swiss cheese) data conundrum: Sourcing, curating and int...
 
Horse meat or beef? (3) D Murphy, National Grid, 21/3/13
Horse meat or beef? (3) D Murphy, National Grid, 21/3/13Horse meat or beef? (3) D Murphy, National Grid, 21/3/13
Horse meat or beef? (3) D Murphy, National Grid, 21/3/13
 
Next Generation Hadoop Introduction
Next Generation Hadoop IntroductionNext Generation Hadoop Introduction
Next Generation Hadoop Introduction
 
Data Mesh - It's not about technology, it's about people
Data Mesh - It's not about technology, it's about peopleData Mesh - It's not about technology, it's about people
Data Mesh - It's not about technology, it's about people
 
Working Capital Manager
Working Capital ManagerWorking Capital Manager
Working Capital Manager
 
A Better Understanding: Solving Business Challenges with Data
A Better Understanding: Solving Business Challenges with DataA Better Understanding: Solving Business Challenges with Data
A Better Understanding: Solving Business Challenges with Data
 
Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...
Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...
Anzo Smart Data Lake 4.0 - a Data Lake Platform for the Enterprise Informatio...
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Upmc tpdev7
Upmc tpdev7Upmc tpdev7
Upmc tpdev7
 
Bayesian reasoning
Bayesian reasoningBayesian reasoning
Bayesian reasoning
 
201505 Statistical Thinking course extract
201505 Statistical Thinking course extract201505 Statistical Thinking course extract
201505 Statistical Thinking course extract
 
Data scientist enablement dse 400 week 8 roadmap
Data scientist enablement   dse 400   week 8 roadmap Data scientist enablement   dse 400   week 8 roadmap
Data scientist enablement dse 400 week 8 roadmap
 

More from diannepatricia

Teaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watsonTeaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watsondiannepatricia
 
Cognitive systems institute talk 8 june 2017 - v.1.0
Cognitive systems institute talk   8 june 2017 - v.1.0Cognitive systems institute talk   8 june 2017 - v.1.0
Cognitive systems institute talk 8 june 2017 - v.1.0diannepatricia
 
Building Compassionate Conversational Systems
Building Compassionate Conversational SystemsBuilding Compassionate Conversational Systems
Building Compassionate Conversational Systemsdiannepatricia
 
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”diannepatricia
 
Cognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving AccessibilityCognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving Accessibilitydiannepatricia
 
Artificial Intellingence in the Car
Artificial Intellingence in the CarArtificial Intellingence in the Car
Artificial Intellingence in the Cardiannepatricia
 
“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”diannepatricia
 
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...diannepatricia
 
170330 cognitive systems institute speaker series mark sherman - watson pr...
170330 cognitive systems institute speaker series    mark sherman - watson pr...170330 cognitive systems institute speaker series    mark sherman - watson pr...
170330 cognitive systems institute speaker series mark sherman - watson pr...diannepatricia
 
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”diannepatricia
 
Cognitive Assistance for the Aging
Cognitive Assistance for the AgingCognitive Assistance for the Aging
Cognitive Assistance for the Agingdiannepatricia
 
From complex Systems to Networks: Discovering and Modeling the Correct Network"
From complex Systems to Networks: Discovering and Modeling the Correct Network"From complex Systems to Networks: Discovering and Modeling the Correct Network"
From complex Systems to Networks: Discovering and Modeling the Correct Network"diannepatricia
 
The Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented IntelligenceThe Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented Intelligencediannepatricia
 
Developing Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team CognitionDeveloping Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team Cognitiondiannepatricia
 
Cyber-Social Learning Systems
Cyber-Social Learning SystemsCyber-Social Learning Systems
Cyber-Social Learning Systemsdiannepatricia
 
“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”diannepatricia
 
"Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ..."Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ...diannepatricia
 
Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50diannepatricia
 
KATE - a Platform for Machine Learning
KATE - a Platform for Machine LearningKATE - a Platform for Machine Learning
KATE - a Platform for Machine Learningdiannepatricia
 
Cognitive Computing for Aging Society
Cognitive Computing for Aging SocietyCognitive Computing for Aging Society
Cognitive Computing for Aging Societydiannepatricia
 

More from diannepatricia (20)

Teaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watsonTeaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watson
 
Cognitive systems institute talk 8 june 2017 - v.1.0
Cognitive systems institute talk   8 june 2017 - v.1.0Cognitive systems institute talk   8 june 2017 - v.1.0
Cognitive systems institute talk 8 june 2017 - v.1.0
 
Building Compassionate Conversational Systems
Building Compassionate Conversational SystemsBuilding Compassionate Conversational Systems
Building Compassionate Conversational Systems
 
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
 
Cognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving AccessibilityCognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving Accessibility
 
Artificial Intellingence in the Car
Artificial Intellingence in the CarArtificial Intellingence in the Car
Artificial Intellingence in the Car
 
“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”
 
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
 
170330 cognitive systems institute speaker series mark sherman - watson pr...
170330 cognitive systems institute speaker series    mark sherman - watson pr...170330 cognitive systems institute speaker series    mark sherman - watson pr...
170330 cognitive systems institute speaker series mark sherman - watson pr...
 
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
 
Cognitive Assistance for the Aging
Cognitive Assistance for the AgingCognitive Assistance for the Aging
Cognitive Assistance for the Aging
 
From complex Systems to Networks: Discovering and Modeling the Correct Network"
From complex Systems to Networks: Discovering and Modeling the Correct Network"From complex Systems to Networks: Discovering and Modeling the Correct Network"
From complex Systems to Networks: Discovering and Modeling the Correct Network"
 
The Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented IntelligenceThe Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented Intelligence
 
Developing Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team CognitionDeveloping Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team Cognition
 
Cyber-Social Learning Systems
Cyber-Social Learning SystemsCyber-Social Learning Systems
Cyber-Social Learning Systems
 
“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”
 
"Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ..."Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ...
 
Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50
 
KATE - a Platform for Machine Learning
KATE - a Platform for Machine LearningKATE - a Platform for Machine Learning
KATE - a Platform for Machine Learning
 
Cognitive Computing for Aging Society
Cognitive Computing for Aging SocietyCognitive Computing for Aging Society
Cognitive Computing for Aging Society
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 

Reasoning Makes Sense: NL Access to Data

  • 1. Natural Language Access to Data: Where Reasoning Makes Sense Richard Waldinger Artificial Intelligence Center SRI International Cognitive Science Institute Speaker Series 7 April 2016 1
  • 2. natural language access to data joint work Cleo Condoravdi, Stanford University Kyle Richardson, Stuttgart University Asuman Suenbuel, SAP Vishal Sikka, SAP (now Infosys) 2
  • 3. natural language access to data the problem accessing knowledge from structured data sources. via questions in natural language. 3
  • 4. natural language access to data why is this hard? natural language uncontrolled. we want answers, not websites. answers deduced or computed. multiple databases. sequence of ongoing queries. 4
  • 5. natural language access to data what makes it easier? we restrict ourselves to a well-understood subject domain. business enterprise we use already known databases. access to SAP’s HANA database. “Quest” 5
  • 6. waldinger natural language access to datawaldinger natural language access to data sample query sequence Show a company with a long-term debt within the last two years. The debt is more than 5 million Euros. It must be Swiss. 6
  • 7. waldinger natural language access to datawaldinger natural language access to data why does this require reasoning? query may be logically complex. to resolve ambiguities in the query. differences in vocabularies. bridge the inferential leap. compose the answer. 7
  • 8. waldinger natural language access to datawaldinger natural language access to data approach (nl+deduction) semantic parsing ⇒ semantic representation transform ⇒ logical form proof ⇒ answers proof conducted in an axiomatic theory theory contains links to databases. 8
  • 9. waldinger natural language access to datawaldinger natural language access to data implementation of Quest natural language processing by SAPL (Cascade Parser) reasoning by SRI’s SNARK. data from SAP’s HANA, Currency Conversion, Nationality Tables, etc. 9
  • 10. waldinger question answering/ deductionwaldinger question answering/ deduction theorem prover (SNARK) resolution (general reasoning). paramodulation, rewriting (equality). sorted unification. answer extraction. procedural attachment. spatial and temporal reasoning. 10
  • 11. waldinger natural language access to datawaldinger natural language access to data axiomatic subject domain theory defines concepts in queries. expresses capabilities of the databases. provides background knowledge to relate them. sort (type) structure axioms 11
  • 12. waldinger question answering/ deductionwaldinger question answering/ deduction sort structure entity agent company time interval debt number money size 12
  • 13. waldinger question answering/ deductionwaldinger question answering/ deduction sorts of relations company-has-debt(<company>, <debt>) company-has-size(<company>, <size>) within(<time interval>, <time interval>) swiss(<agent>) 13
  • 14. waldinger natural language access to datawaldinger natural language access to data parsing based on PARC natural language technology (XLE + Bridge) new parser (SAPL) written for Quest. parser knows sort structure and sorts of relations. 14
  • 15. waldinger question answering/ deductionwaldinger question answering/ deduction semantic parsing query: Show a company with a high debt within the last two years. semantic representation (partial): (quant exists company7 sort company) (quant exists debt3 sort debt) (scopes-over company7 debt3) (in nscope debt3 (company-has-debt company7 debt3)) 15
  • 16. waldinger question answering/ deductionwaldinger question answering/ deduction logical form (exists ((company7 sort company) (debt3 sort debt) (time-interval5 sort time-interval)) (and (company-has-debt company7 debt3) (within debt3 time-interval5) (time-measure time-interval5 2 year) (last time-interval5)) 16
  • 17. waldinger question answering/ deductionwaldinger question answering/ deduction axiom: definition of high debt high(debt-record(?company, ?money,…)) ⇔ ?money > dollars(1000000) i.e., a debt is high if its money amount is greater than 1 million dollars. 17
  • 18. waldinger question answering/ deductionwaldinger question answering/ deduction axiom: company has debt company-has-debt(?company, ?debt) ⇔ (exists (?location, ?size, ?dso, ….) company-record(?company, ?debt, ?location, ?size, ?dso, ….) & positive(?debt) procedural attachment 18
  • 19. waldinger nl access to datawaldinger nl access to data sample data name money location date SL Foods Inc. $105263551.70 CH 2007 Sept. 1 19 name: SL Foods Inc. amount of debt: $105,263,551.70. date debt incurred: Sept 1, 2007. nationality: CH (Switzerland) ...
  • 20. waldinger question answering/ deductionwaldinger question answering/ deduction the answer(s) the debt of sl food inc. is high, the debt of sl food inc. is within the interval from 9/1/2006 to 9/1/2008, the duration of the interval from 9/1/2006 to 9/1/2008 is 2 years, the interval from 9/1/2006 to 9/1/2008 is last. 20
  • 21. waldinger question answering/ deductionwaldinger question answering/ deduction reasoning resolves ambiguity. Show me a client with a high debt. It was within the last 2 years. (“It” must be the debt). It should be Swiss. (“It” must be the client) 21
  • 22. waldinger question answering/ deductionwaldinger question answering/ deduction crowd-sourced axiomatic theories we currently translate english questions into logical form. we could also translate declarative sentences into logical form. develop axiomatic theory from text. domain experts need not know logic. 22
  • 23. waldinger question answering/ deductionwaldinger question answering/ deduction other future work other domains. spoken input. efficiency. changing data bases. 23
  • 24. waldinger question answering/ deductionwaldinger question answering/ deduction reference Natural Language Access to Data: It Takes Common Sense AAAI Symposium: Logical Formalizations of Common Sense Reasoning 24