Rule-based Reasoning in Semantic Text Analysis

Slides:



Advertisements
Similar presentations
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Advertisements

Ontologies and Databases Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
WIMS 2014, June 2-4Thessaloniki, Greece1 Optimized Backward Chaining Reasoning System for a Semantic Web Hui Shi, Kurt Maly, and Steven Zeil Contact:
ICE1341 Programming Languages Spring 2005 Lecture #6 Lecture #6 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information and Communications University.
Proceedings of the Conference on Intelligent Text Processing and Computational Linguistics (CICLing-2007) Learning for Semantic Parsing Advisor: Hsin-His.
Logic.
Intelligent systems Lecture 6 Rules, Semantic nets.
UNIT-III By Mr. M. V. Nikum (B.E.I.T). Programming Language Lexical and Syntactic features of a programming Language are specified by its grammar Language:-
ISBN Chapter 3 Describing Syntax and Semantics.
Building and Analyzing Social Networks Web Data and Semantics in Social Network Applications Dr. Bhavani Thuraisingham February 15, 2013.
Research topics Semantic Web - Spring 2007 Computer Engineering Department Sharif University of Technology.
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 52 Database Systems I Relational Algebra.
C. Varela; Adapted w/permission from S. Haridi and P. Van Roy1 Declarative Computation Model Defining practical programming languages Carlos Varela RPI.
ModelicaXML A Modelica XML representation with Applications Adrian Pop, Peter Fritzson Programming Environments Laboratory Linköping University.
PZ02A - Language translation
CS 330 Programming Languages 09 / 18 / 2007 Instructor: Michael Eckmann.
Describing Syntax and Semantics
Amarnath Gupta Univ. of California San Diego. An Abstract Question There is no concrete answer …but …
1 Relational Algebra and Calculus Chapter 4. 2 Relational Query Languages  Query languages: Allow manipulation and retrieval of data from a database.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
Marković Miljan 3139/2011
Context Tailoring the DBMS –To support particular applications Beyond alphanumerical data Beyond retrieve + process –To support particular hardware New.
Lecture 05 Structured Query Language. 2 Father of Relational Model Edgar F. Codd ( ) PhD from U. of Michigan, Ann Arbor Received Turing Award.
RELATIONAL FAULT TOLERANT INTERFACE TO HETEROGENEOUS DISTRIBUTED DATABASES Prof. Osama Abulnaja Afraa Khalifah
Logical Agents Logic Propositional Logic Summary
ISBN Chapter 3 Describing Semantics -Attribute Grammars -Dynamic Semantics.
SPARQL Query Graph Model (How to improve query evaluation?) Ralf Heese and Olaf Hartig Humboldt-Universität zu Berlin.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 Relational Algebra.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
Semantics In Text: Chapter 3.
The AI War LISP and Prolog Basic Concepts of Logic Programming
Bigscholar 2014, April 8, Seoul, South Korea1 Trust and Hybrid Reasoning for Ontological Knowledge Bases Hui Shi, Kurt Maly, and Steven Zeil Contact:
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
1 Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
1 Structure of Compilers Lexical Analyzer (scanner) Modified Source Program Parser Tokens Semantic Analysis Syntactic Structure Optimizer Code Generator.
The International RuleML Symposium on Rule Interchange and Applications Visualization of Proofs in Defeasible Logic Ioannis Avguleas 1, Katerina Gkirtzou.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
A Test Case Suite for Hornlog+ RuleML 1.01 A Test Case Suite for Hornlog+ RuleML 1.01 CS6795 Semantic Web Techniques Team 3: Zhenzhi Cui Radhika Yadav.
Maitrayee Mukerji. INPUT MEMORY PROCESS OUTPUT DATA INFO.
Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Ivan Rygaev, Dialogue 2017 Laboratory of Computational Linguistics Institute.
By P. S. Suryateja Asst. Professor, CSE Vishnu Institute of Technology
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Knowledge Representation
Relational Algebra Chapter 4, Part A
Review for the Midterm Exam
CS416 Compiler Design lec00-outline September 19, 2018
Relational Algebra 461 The slides for this text are organized into chapters. This lecture covers relational algebra, from Chapter 4. The relational calculus.
Analyzing and Securing Social Networks
LING 581: Advanced Computational Linguistics
Unit# 9: Computer Program Development
Mini Language Interpreter Programming Languages (CS 550)
Relational Algebra Chapter 4, Sections 4.1 – 4.2
Query Optimization CS 157B Ch. 14 Mien Siao.
KNOWLEDGE REPRESENTATION
Query Processing CSD305 Advanced Databases.
The Logic of Declarative Statements
CS416 Compiler Design lec00-outline February 23, 2019
Probabilistic Databases
Ontologies and Databases
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
This Lecture Substitution model
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Lec00-outline May 18, 2019 Compiler Design CS416 Compiler Design.
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Language translation Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

Rule-based Reasoning in Semantic Text Analysis Ivan Rygaev Laboratory of Computational Linguistics Kharkevich Institute for Information Transmission Problems RAS, Moscow, Russia RuleML+RR London, July 2017 Ivan Rygaev | RuleML+RR 2017

SemETAP Semantic Text Analyzer Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems SemETAP Semantic Text Analyzer ETAP-3 is a powerful linguistic processor Syntactic parser Machine translation Paraphrasing, UNL etc. SemETAP semantic analyzer is a part of ETAP-3 Translates an original sentence to a language-independent semantic representation in a formal language. Applies logical rules (concept definitions) to infer new knowledge. Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Text Understanding The ultimate goal to achieve near-human understanding of the text How can we measure understanding? The amount of inferences that can be made out of the text How can we test inferences? Questioning SemETAP is able to answer questions for which there is no direct answer in the original text Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems An example Input sentence: John sold an umbrella to Peter Questions (easy for humans): Who bought the umbrella? (Peter) What did John give to Peter? (the umbrella) What did John get? (money) Who owns the umbrella? (Peter) Where is the knowledge? In the meaning of the words sell, buy, give, get and own. Ivan Rygaev | RuleML+RR 2017

Semantic Analysis Steps Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Semantic Analysis Steps Syntactic Tree Basic Semantic Structure Words are translated to semantic concepts and syntactic relations to semantic roles (roughly) Enhanced Semantic Structure Concept definitions applied to extend the semantic graph Ivan Rygaev | RuleML+RR 2017

Basic Semantic Structure Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Basic Semantic Structure hasGivenName (Human_1, "John") hasAgent (Selling_1, Human_1) hasAgent2 (Selling_1, Human_2) hasGivenName (Human_2, "Peter") hasObject (Selling_1, Umbrella_1) Ivan Rygaev | RuleML+RR 2017

Concept Definition Example Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Concept Definition Example Rule Selling: Selling(?selling) Implication: hasAgent(?selling, ?seller) & Agent(?seller) & hasAgent2(?selling, ?buyer) & Agent(?buyer) & hasObject(?selling, ?thing) & hasPrice(?selling, ?money) & CurrencyMeasure(?money) & Buying(?buying) & hasAgent(?buying, ?buyer) & hasAgent2(?buying, ?seller) & hasObject(?buying, ?thing) & hasPrice(?buying, ?money) Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Rules Logic Selling is Buying with swapped arguments Buying is Exchange for money Exchange is two mutual Givings Giving implies change of the owner Getting is Giving with slightly different argument roles. Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Rule Features Conjunctive existential rules compatible with Datalog± Almost necessarily contain new variables in the rule head Applied in the forward chaining manner (chase) A number of techniques to guarantee termination Restricted chase: do not add exactly the same subgraph that already exists Functional relations simplify checking for existence Depth limit: do not apply the rule if no variables from the rule head would map to the original individuals from the text Ivan Rygaev | RuleML+RR 2017

Question Processing Steps Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Question Processing Steps Basic semantic structure of the question is built Individuals corresponding to wh-words are marked in a special way The semantic structure is used as a pattern for SPARQL query The query is run against the enhanced semantic structure of the text Returned wh-word individuals are displayed to the user Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Implementation Originally we used Virtuoso DB to store the semantic graphs SPARQL insert queries to apply the rules Easy to write but not efficient Too much overhead in the query execution Almost no control on the query performance optimization Recently we switched to RDFox reasoner (Oxford) Very efficient in-memory RDF storage and reasoner Optimized for chase Meets all the requirements mentioned above Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Desired Features Probabilistic uncertainty Supported: on the level of individuals – epistemic modality Desired: on the level of propositions/atoms/triples Disjunctive uncertainty Desired: allow disjunction in the rule head Negation Supported: on the level of individuals – Negation concept Universal quantifier Desired: at least in the context of negation Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Future Work Restricted chase is not enough Depends on the sequence of rule application Sometimes can create duplicates Solution: need to look for a noncontradicting subgraph rather than exactly the same one (coreference problem) Depth limit might be too strong Can potentially eliminate useful inferences Solution: use query rewriting to increase the depth Benchmarking Such rules can be used to test the reasoners performance Ivan Rygaev | RuleML+RR 2017

Ivan Rygaev | RuleML+RR 2017 Using Winograd Schemas for Evaluation of Implicit Information Extraction Systems Thank you! Ivan Rygaev | RuleML+RR 2017