Presentation is loading. Please wait.

Presentation is loading. Please wait.

CILC2011 A framework for structured knowledge extraction and representation from natural language via deep sentence analysis Stefania Costantini Niva Florio.

Similar presentations


Presentation on theme: "CILC2011 A framework for structured knowledge extraction and representation from natural language via deep sentence analysis Stefania Costantini Niva Florio."— Presentation transcript:

1 CILC2011 A framework for structured knowledge extraction and representation from natural language via deep sentence analysis Stefania Costantini Niva Florio Alessio Paolucci Università Degli Studi Dell’Aquila

2 Outline 1. Motivation 2. Our Proposal 3. Workflow 4. Deep Analysis: Parsing & Dependency Structure 5. Context Disambiguation 6. Resolution 7. OOLOT 8. RDF/OWL Exporting 9. Example 10. Conclusion

3 “overcome the knowledge acquisition bottleneck” Motivation

4 Structured data from plain text The more interesting one: Ontology population (Semantic Web) …but endless possibilities!!!

5 Our Proposal Our framework allows us to:  Extract knowledge from natural language sentences using a deep analysis technique based on linguistic dependencies and phrase syntactic structure.  Use OOLOT (Ontology Oriented Language of Thought) an intermediate language based on ASP (Answer Set Programming), specifically designed for the representation of the distinctive features of the knowledge extracted from natural language.  Easily Integrate our framework in the context of the Semantic Web. OOLOT lets us exploit the non monotonic reasoning (through ASP) to deal with common sense reasoning and other typical aspects of the knowledge encoded through the Natural Language.

6 Workflow

7 Parsing Syntactic Parsing:  It can determine the syntactic structure of a sentence  Chomsky’s constituent analysis  It builds up the elements in their hierarchical order  Syntactic parsers decompose a text into tokens and attribute them their grammatical function Statistical Parsing:  It is based on a corpus of training annotated data  It gathers information about the frequency with which the elements are needed in specific contexts  Only statistic may be not enough to determine when to split a symbol in sub- symbols Probabilistic Context Free Grammar (PCFG):  More than one production rule may apply to a sequence of words, thus resulting in a conflict  It uses the frequency of various productions to order them

8 Parsing Stanford Parser: PCFG parser

9 Parsing Statistical parsing is useful to solve problems like ambiguity and efficiency We lose part of the semantic information BUT Dependency Grammar: words in a sentence are connected by means of binary, asymmetrical governor-dependent relationships

10 Context Disambiguation Given a (finite) set of contexts, assign each lexical item to one (or more) context(s) including a score. Context_1Context_2Context… Context_m Lexical Item We use a simple, frequency-based, disambiguation algorithm.

11 Resolution Car Each lexical item (a word, or a set of), is resolved against popular ontologies, including DBPedia, YAGO, GeoNames, WordNet 3 OWL, …

12 OOLOT The language of thought is an intermediate format mainly inspired by Kowalski’s LoT. It has been introduced to represent the extracted knowledge in a way that is totally independent from original lexical items and, therefore, from original language. Our LOT is itself a language, but its lexicon is ontology oriented, so we adopted the acronym OOLOT (Ontology Oriented Language Of Thought). OOLOT is used to represent the knowledge extracted from natural language sentences, so basically the bricks of OOLOT (lexicons) are ontological identifier related to concepts (in the ontology), and they are not a translation at lexical level.

13 OOLOT: Lambda-based translation Example: “Many girls eat apples”

14 OOLOT: Lambda-based translation Example: “Many girls eat apples”

15 OOLOT: Lambda-based translation

16

17 And, finally, after applying apple to the previous partial expression, we have:

18 RDF/OWL Exporting Since OOLOT is designed to have a representation very close to RDF, it's possible to export toward RDF/OWL. In many cases, when is possible to maintain the semantic, there is a 1:1 mapping, otherwise we're starting using RDF/OWL syntactic approximations through reification (when you can’t preserve the original semantic) OOLOT: predicate(subject, object) RDF: Best case:

19 Framework In Action “Ferrari is an Italian sports car manufacturer based in Maranello.”

20 Framework in Action

21

22

23

24

25

26 Conclusion & Future Works OOLOT Deep Analysis RDF Exporting Dependency Parsing ASP Further exploit: OOLOT language ASP to RDF/OWL Exporting This is a quite new framework, so many aspects need to be refined and improved.


Download ppt "CILC2011 A framework for structured knowledge extraction and representation from natural language via deep sentence analysis Stefania Costantini Niva Florio."

Similar presentations


Ads by Google