SlideShare una empresa de Scribd logo
1 de 51
Introduction
        Controlled Natural Languages
                           Conclusion




Controlled Natural Languages for Knowledge
                  Capture
           Intelligence Augmentation Forum


                               R. Denaux

                           School of Computing
                           University of Leeds


                   Leeds, 7th of June 2010



                              Denaux     Controlled Natural Languages
Introduction
                Controlled Natural Languages
                                   Conclusion


Outline

  1   Introduction
         Context
         Problem

  2   Controlled Natural Languages
        Definition
        Design Issues
        Implementation
        Demo

  3   Conclusion


                                      Denaux     Controlled Natural Languages
Introduction
                                                 Context
                Controlled Natural Languages
                                                 Problem
                                   Conclusion


Outline

  1   Introduction
         Context
         Problem

  2   Controlled Natural Languages
        Definition
        Design Issues
        Implementation
        Demo

  3   Conclusion


                                      Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing?




                                        Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing?




                                        Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing?




                                        Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing?




                                        Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing?




                                        Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing?




                                        Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing in OWL terminology?




                                        Denaux     Controlled Natural Languages
Introduction
                                                   Context
                  Controlled Natural Languages
                                                   Problem
                                     Conclusion


Knowledge Capture
What are we capturing in OWL terminology?




                                        Denaux     Controlled Natural Languages
Introduction
                                                    Context
                   Controlled Natural Languages
                                                    Problem
                                      Conclusion


Why do we need it?
Intelligence Augmentation




                                         Denaux     Controlled Natural Languages
Introduction
                                                 Context
                Controlled Natural Languages
                                                 Problem
                                   Conclusion


Outline

  1   Introduction
         Context
         Problem

  2   Controlled Natural Languages
        Definition
        Design Issues
        Implementation
        Demo

  3   Conclusion


                                      Denaux     Controlled Natural Languages
Introduction
                                                Context
               Controlled Natural Languages
                                                Problem
                                  Conclusion


Formalisation of Knowledge

  People have the real knowledge (sometimes encoded in
  documents, wikis, databases, etc.)
  Knowledge formalisation is not trivial and needs understanding
  of logical formalism: 1st order logic, OWL, etc.




                                     Denaux     Controlled Natural Languages
Introduction
                                                  Context
                 Controlled Natural Languages
                                                  Problem
                                    Conclusion


Wikis



        Conceptual Knowledge: Yes
        Factual Knowledge: Yes
  However:
        Not formal
        Knowledge extraction results are limited, despite
        semi-structured format




                                       Denaux     Controlled Natural Languages
Introduction
                                              Context
             Controlled Natural Languages
                                              Problem
                                Conclusion


Semantic Wikis




     Conceptual Knowledge: Yes, but cumbersome
     Factual Knowledge: Yes




                                   Denaux     Controlled Natural Languages
Introduction
                                              Context
             Controlled Natural Languages
                                              Problem
                                Conclusion


Ontology Engineering


     Conceptual Knowledge: Yes
     Factual Knowledge: Yes
  However:
     Requires knowledge elicitation phase
     Results are difficult to understand by domain experts




                                   Denaux     Controlled Natural Languages
Definition
                                  Introduction
                                                 Design Issues
                Controlled Natural Languages
                                                 Implementation
                                   Conclusion
                                                 Demo


Outline

  1   Introduction
         Context
         Problem

  2   Controlled Natural Languages
        Definition
        Design Issues
        Implementation
        Demo

  3   Conclusion


                                      Denaux     Controlled Natural Languages
Definition
                                     Introduction
                                                    Design Issues
                   Controlled Natural Languages
                                                    Implementation
                                      Conclusion
                                                    Demo


What is a Controlled Natural Language(CNL)?
Unfortunately...




                                         Denaux     Controlled Natural Languages
Definition
                                     Introduction
                                                    Design Issues
                   Controlled Natural Languages
                                                    Implementation
                                      Conclusion
                                                    Demo


What is a Controlled Natural Language(CNL)?
Unfortunately...




                                         Denaux     Controlled Natural Languages
Definition
                                     Introduction
                                                    Design Issues
                   Controlled Natural Languages
                                                    Implementation
                                      Conclusion
                                                    Demo


What is a Controlled Natural Language(CNL)?
Unfortunately...




                                         Denaux     Controlled Natural Languages
Definition
                                     Introduction
                                                    Design Issues
                   Controlled Natural Languages
                                                    Implementation
                                      Conclusion
                                                    Demo


What is a Controlled Natural Language(CNL)?
Unfortunately...




                                         Denaux     Controlled Natural Languages
Definition
                                     Introduction
                                                    Design Issues
                   Controlled Natural Languages
                                                    Implementation
                                      Conclusion
                                                    Demo


What is a Controlled Natural Language(CNL)?
Unfortunately...




                                         Denaux     Controlled Natural Languages
Definition
                             Introduction
                                            Design Issues
           Controlled Natural Languages
                                            Implementation
                              Conclusion
                                            Demo


What is a Controlled Natural Language(CNL)?




                                            Constraints
                                            Every CNL is a kind of
                                            Engineerd Language




                                 Denaux     Controlled Natural Languages
Definition
                             Introduction
                                            Design Issues
           Controlled Natural Languages
                                            Implementation
                              Conclusion
                                            Demo


What is a Controlled Natural Language(CNL)?



                                            Constraints
                                            Every CNL is a kind of
                                            Engineerd Language

                                            Optional Constraints
                                            A CNL usually can be
                                            translated into a Logical
                                            Formalism




                                 Denaux     Controlled Natural Languages
Definition
                             Introduction
                                            Design Issues
           Controlled Natural Languages
                                            Implementation
                              Conclusion
                                            Demo


What is a Controlled Natural Language(CNL)?



                                            Constraints
                                            Every CNL is a kind of
                                            Engineerd Language

                                            Optional Constraints
                                            A CNL Sentence usually has
                                            an Unambiguous Logical
                                            Translation




                                 Denaux     Controlled Natural Languages
Definition
                             Introduction
                                            Design Issues
           Controlled Natural Languages
                                            Implementation
                              Conclusion
                                            Demo


What is a Controlled Natural Language(CNL)?



                                            Constraints
                                            Every CNL is a kind of
                                            Engineerd Language

                                            Optional Constraints
                                            A CNL Sentence usually is an
                                            Easy-to-Learn Language




                                 Denaux     Controlled Natural Languages
Definition
                                    Introduction
                                                   Design Issues
                  Controlled Natural Languages
                                                   Implementation
                                     Conclusion
                                                   Demo


Broad subdivision of CNLs
Simplified NL vs Formally Underpinned CNLs



   Every Simplified NL is a kind of CNL.
        cannot be directly translated into a Logical Formalism
        is used to increase quality of documents
             easier to understand by humans (eg non-natives)
             easier to process by machines
        defined by a set of restrictions on the language:
             limited set of words to use
             disallowed constructs (eg: passive voice)
   eg: Simple English is a Simplified NL. Caterpillar Technical
   English is a Simplified NL.


                                        Denaux     Controlled Natural Languages
Definition
                                    Introduction
                                                   Design Issues
                  Controlled Natural Languages
                                                   Implementation
                                     Conclusion
                                                   Demo


Broad subdivision of CNLs
Simplified NL vs Formally Underpinned CNLs




   Every Formally Underpinned CNL is a kind of CNL.
        has a semantic mapping into a Logical Formalism
        is used to formalise knowledge
             easier (than logic formalism) to understand by humans
             directly processable by machines
        defined by a formal grammar
   eg: ACE, PENG, CPL(By BOEING), Common Logic Controlled
   English and Rabbit are all Formally Underpinned CNLs.



                                        Denaux     Controlled Natural Languages
Definition
                                  Introduction
                                                 Design Issues
                Controlled Natural Languages
                                                 Implementation
                                   Conclusion
                                                 Demo


Outline

  1   Introduction
         Context
         Problem

  2   Controlled Natural Languages
        Definition
        Design Issues
        Implementation
        Demo

  3   Conclusion


                                      Denaux     Controlled Natural Languages
Definition
                                 Introduction
                                                Design Issues
               Controlled Natural Languages
                                                Implementation
                                  Conclusion
                                                Demo


Balancing Expressivity and Parseability

  Limiting statements per sentence
      NL: To describe in an unambiguous manner the inland
      hydrology feature classes surveyed by Ordnance Survey
      with the intention of improving the use of the surveyed data
      by our customers and enabling semi-automatic processing
      of these data.
      CNL: Ontology describes the OS Inland Hydrology Feature
      Classes.
      CNL: Ontology aims to improve Data Usage Of OS Data.
      CNL: Ontology aims to enable Semi-automatic Processing
      of OS Data.
      etc.

                                     Denaux     Controlled Natural Languages
Definition
                                  Introduction
                                                 Design Issues
                Controlled Natural Languages
                                                 Implementation
                                   Conclusion
                                                 Demo


Balancing Expressivity and Parseability




  Anaphoric Reference
    1 A pilot does not have a valid license.
    2 It is expired.




                                      Denaux     Controlled Natural Languages
Definition
                                  Introduction
                                                 Design Issues
                Controlled Natural Languages
                                                 Implementation
                                   Conclusion
                                                 Demo


Capturing the formal semantics




  Subjunction
      An Actor is a Person. (Actor == Person?)
      Every Actor is a kind of Person.




                                      Denaux     Controlled Natural Languages
Definition
                                 Introduction
                                                Design Issues
               Controlled Natural Languages
                                                Implementation
                                  Conclusion
                                                Demo


Capturing the formal semantics




  Relation vs Definition
      Every River flows into a Sea
      A River is anything that: is a kind of Body of Water; flows
      into a Sea.




                                     Denaux     Controlled Natural Languages
Definition
                                Introduction
                                               Design Issues
              Controlled Natural Languages
                                               Implementation
                                 Conclusion
                                               Demo


Capturing the formal semantics




  Property Domain
     The relationship “flows into” must have the subject River.
     Everything that “flows into” something is a River.




                                    Denaux     Controlled Natural Languages
Definition
                                 Introduction
                                                Design Issues
               Controlled Natural Languages
                                                Implementation
                                  Conclusion
                                                Demo


Limiting Ambiguity




  Lists
       Every River flows into a Sea or a Lake.
      Every River flows into a Sea or flows into a Lake




                                     Denaux     Controlled Natural Languages
Definition
                                  Introduction
                                                 Design Issues
                Controlled Natural Languages
                                                 Implementation
                                   Conclusion
                                                 Demo


Limiting Ambiguity




  Lists with cardinality restrictions
      Every River flows into exactly 1 Sea or Lake.




                                      Denaux     Controlled Natural Languages
Definition
                                 Introduction
                                                Design Issues
               Controlled Natural Languages
                                                Implementation
                                  Conclusion
                                                Demo


Limiting Ambiguity




  Concept or Relationship?
      Every River flows into a Sea.
      Every River Flow has a direction.




                                     Denaux     Controlled Natural Languages
Definition
                                  Introduction
                                                 Design Issues
                Controlled Natural Languages
                                                 Implementation
                                   Conclusion
                                                 Demo


Outline

  1   Introduction
         Context
         Problem

  2   Controlled Natural Languages
        Definition
        Design Issues
        Implementation
        Demo

  3   Conclusion


                                      Denaux     Controlled Natural Languages
Definition
                                 Introduction
                                                Design Issues
               Controlled Natural Languages
                                                Implementation
                                  Conclusion
                                                Demo


Discourse Representation Structure




  First Order Logic
  PENG ACE




                                     Denaux     Controlled Natural Languages
Definition
                               Introduction
                                              Design Issues
             Controlled Natural Languages
                                              Implementation
                                Conclusion
                                              Demo


Lightweight NLP


  CLoNE Rabbit




                                   Denaux     Controlled Natural Languages
Definition
                                  Introduction
                                                 Design Issues
                Controlled Natural Languages
                                                 Implementation
                                   Conclusion
                                                 Demo


Outline

  1   Introduction
         Context
         Problem

  2   Controlled Natural Languages
        Definition
        Design Issues
        Implementation
        Demo

  3   Conclusion


                                      Denaux     Controlled Natural Languages
Definition
                  Introduction
                                 Design Issues
Controlled Natural Languages
                                 Implementation
                   Conclusion
                                 Demo




                      Denaux     Controlled Natural Languages
Introduction
             Controlled Natural Languages
                                Conclusion


Typical Usage of Novice User




     See example sentences to get a feeling for the language
     Write sentence
     Get feedback and improve sentence until correctly parsed




                                   Denaux     Controlled Natural Languages
Introduction
             Controlled Natural Languages
                                Conclusion


How to Evaluate a CNL




     Use a made up world with made up concepts
     Use a “Controlled Visual Language”




                                   Denaux     Controlled Natural Languages
Introduction
             Controlled Natural Languages
                                Conclusion


Knowledge Capture with CNLs



     Conceptual Knowledge: Yes
     Factual Knowledge: Yes
  However:
     No guarantee that conceptual knowledge is directly usable
     Is OWL(or 1st Order Logics) correctly understood?




                                   Denaux     Controlled Natural Languages
Introduction
                    Controlled Natural Languages
                                       Conclusion


ROO: Rabbit to OWL Ontology Authoring.
Example of adapting to ontology contributors



         Domain experts:
              Good knowledge of the domain to be represented
              Limited or no Ontology Engineering experience
              Limited or no knowledge of OWL, Protégé, etc.
         ROO provides tool support for domain experts:
              Guidance through ontology construction methodology
              Controlled Natural Language interface
              No OWL specific terminology
         Adaptation at design time, not at runtime
         Re-use techniques from User Modelling and
         Personalisation


                                          Denaux     Controlled Natural Languages
Introduction
                    Controlled Natural Languages
                                       Conclusion


ROO: Rabbit to OWL Ontology Authoring.
Example of adapting to ontology contributors




                                          Denaux     Controlled Natural Languages
Introduction
                    Controlled Natural Languages
                                       Conclusion


ROO: Rabbit to OWL Ontology Authoring.
Example of adapting to ontology contributors




                                          Denaux     Controlled Natural Languages
Introduction
                    Controlled Natural Languages
                                       Conclusion


ROO: Rabbit to OWL Ontology Authoring.
Example of adapting to ontology contributors




                                          Denaux     Controlled Natural Languages
Introduction
              Controlled Natural Languages
                                 Conclusion


Acknowledgements


  3rd Party Images used:
      http://shlomit.deviantart.com/art/
      Keanu-Reeves-portrait-118051274
      http://owen-c.deviantart.com/art/
      Paillard-Bolex-H16-48443994
      http://eliskan.deviantart.com/art/
      World-Map-127501551
      http://so-aesthetic.deviantart.com/art/
      Drama-Masks-49646555



                                    Denaux     Controlled Natural Languages

Más contenido relacionado

Último

Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfAarwolf Industries LLC
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 

Último (20)

Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdf
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 

Controlled Natural Languages for Knowledge Capture

  • 1. Introduction Controlled Natural Languages Conclusion Controlled Natural Languages for Knowledge Capture Intelligence Augmentation Forum R. Denaux School of Computing University of Leeds Leeds, 7th of June 2010 Denaux Controlled Natural Languages
  • 2. Introduction Controlled Natural Languages Conclusion Outline 1 Introduction Context Problem 2 Controlled Natural Languages Definition Design Issues Implementation Demo 3 Conclusion Denaux Controlled Natural Languages
  • 3. Introduction Context Controlled Natural Languages Problem Conclusion Outline 1 Introduction Context Problem 2 Controlled Natural Languages Definition Design Issues Implementation Demo 3 Conclusion Denaux Controlled Natural Languages
  • 4. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing? Denaux Controlled Natural Languages
  • 5. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing? Denaux Controlled Natural Languages
  • 6. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing? Denaux Controlled Natural Languages
  • 7. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing? Denaux Controlled Natural Languages
  • 8. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing? Denaux Controlled Natural Languages
  • 9. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing? Denaux Controlled Natural Languages
  • 10. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing in OWL terminology? Denaux Controlled Natural Languages
  • 11. Introduction Context Controlled Natural Languages Problem Conclusion Knowledge Capture What are we capturing in OWL terminology? Denaux Controlled Natural Languages
  • 12. Introduction Context Controlled Natural Languages Problem Conclusion Why do we need it? Intelligence Augmentation Denaux Controlled Natural Languages
  • 13. Introduction Context Controlled Natural Languages Problem Conclusion Outline 1 Introduction Context Problem 2 Controlled Natural Languages Definition Design Issues Implementation Demo 3 Conclusion Denaux Controlled Natural Languages
  • 14. Introduction Context Controlled Natural Languages Problem Conclusion Formalisation of Knowledge People have the real knowledge (sometimes encoded in documents, wikis, databases, etc.) Knowledge formalisation is not trivial and needs understanding of logical formalism: 1st order logic, OWL, etc. Denaux Controlled Natural Languages
  • 15. Introduction Context Controlled Natural Languages Problem Conclusion Wikis Conceptual Knowledge: Yes Factual Knowledge: Yes However: Not formal Knowledge extraction results are limited, despite semi-structured format Denaux Controlled Natural Languages
  • 16. Introduction Context Controlled Natural Languages Problem Conclusion Semantic Wikis Conceptual Knowledge: Yes, but cumbersome Factual Knowledge: Yes Denaux Controlled Natural Languages
  • 17. Introduction Context Controlled Natural Languages Problem Conclusion Ontology Engineering Conceptual Knowledge: Yes Factual Knowledge: Yes However: Requires knowledge elicitation phase Results are difficult to understand by domain experts Denaux Controlled Natural Languages
  • 18. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Outline 1 Introduction Context Problem 2 Controlled Natural Languages Definition Design Issues Implementation Demo 3 Conclusion Denaux Controlled Natural Languages
  • 19. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Unfortunately... Denaux Controlled Natural Languages
  • 20. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Unfortunately... Denaux Controlled Natural Languages
  • 21. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Unfortunately... Denaux Controlled Natural Languages
  • 22. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Unfortunately... Denaux Controlled Natural Languages
  • 23. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Unfortunately... Denaux Controlled Natural Languages
  • 24. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Constraints Every CNL is a kind of Engineerd Language Denaux Controlled Natural Languages
  • 25. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Constraints Every CNL is a kind of Engineerd Language Optional Constraints A CNL usually can be translated into a Logical Formalism Denaux Controlled Natural Languages
  • 26. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Constraints Every CNL is a kind of Engineerd Language Optional Constraints A CNL Sentence usually has an Unambiguous Logical Translation Denaux Controlled Natural Languages
  • 27. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo What is a Controlled Natural Language(CNL)? Constraints Every CNL is a kind of Engineerd Language Optional Constraints A CNL Sentence usually is an Easy-to-Learn Language Denaux Controlled Natural Languages
  • 28. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Broad subdivision of CNLs Simplified NL vs Formally Underpinned CNLs Every Simplified NL is a kind of CNL. cannot be directly translated into a Logical Formalism is used to increase quality of documents easier to understand by humans (eg non-natives) easier to process by machines defined by a set of restrictions on the language: limited set of words to use disallowed constructs (eg: passive voice) eg: Simple English is a Simplified NL. Caterpillar Technical English is a Simplified NL. Denaux Controlled Natural Languages
  • 29. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Broad subdivision of CNLs Simplified NL vs Formally Underpinned CNLs Every Formally Underpinned CNL is a kind of CNL. has a semantic mapping into a Logical Formalism is used to formalise knowledge easier (than logic formalism) to understand by humans directly processable by machines defined by a formal grammar eg: ACE, PENG, CPL(By BOEING), Common Logic Controlled English and Rabbit are all Formally Underpinned CNLs. Denaux Controlled Natural Languages
  • 30. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Outline 1 Introduction Context Problem 2 Controlled Natural Languages Definition Design Issues Implementation Demo 3 Conclusion Denaux Controlled Natural Languages
  • 31. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Balancing Expressivity and Parseability Limiting statements per sentence NL: To describe in an unambiguous manner the inland hydrology feature classes surveyed by Ordnance Survey with the intention of improving the use of the surveyed data by our customers and enabling semi-automatic processing of these data. CNL: Ontology describes the OS Inland Hydrology Feature Classes. CNL: Ontology aims to improve Data Usage Of OS Data. CNL: Ontology aims to enable Semi-automatic Processing of OS Data. etc. Denaux Controlled Natural Languages
  • 32. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Balancing Expressivity and Parseability Anaphoric Reference 1 A pilot does not have a valid license. 2 It is expired. Denaux Controlled Natural Languages
  • 33. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Capturing the formal semantics Subjunction An Actor is a Person. (Actor == Person?) Every Actor is a kind of Person. Denaux Controlled Natural Languages
  • 34. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Capturing the formal semantics Relation vs Definition Every River flows into a Sea A River is anything that: is a kind of Body of Water; flows into a Sea. Denaux Controlled Natural Languages
  • 35. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Capturing the formal semantics Property Domain The relationship “flows into” must have the subject River. Everything that “flows into” something is a River. Denaux Controlled Natural Languages
  • 36. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Limiting Ambiguity Lists Every River flows into a Sea or a Lake. Every River flows into a Sea or flows into a Lake Denaux Controlled Natural Languages
  • 37. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Limiting Ambiguity Lists with cardinality restrictions Every River flows into exactly 1 Sea or Lake. Denaux Controlled Natural Languages
  • 38. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Limiting Ambiguity Concept or Relationship? Every River flows into a Sea. Every River Flow has a direction. Denaux Controlled Natural Languages
  • 39. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Outline 1 Introduction Context Problem 2 Controlled Natural Languages Definition Design Issues Implementation Demo 3 Conclusion Denaux Controlled Natural Languages
  • 40. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Discourse Representation Structure First Order Logic PENG ACE Denaux Controlled Natural Languages
  • 41. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Lightweight NLP CLoNE Rabbit Denaux Controlled Natural Languages
  • 42. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Outline 1 Introduction Context Problem 2 Controlled Natural Languages Definition Design Issues Implementation Demo 3 Conclusion Denaux Controlled Natural Languages
  • 43. Definition Introduction Design Issues Controlled Natural Languages Implementation Conclusion Demo Denaux Controlled Natural Languages
  • 44. Introduction Controlled Natural Languages Conclusion Typical Usage of Novice User See example sentences to get a feeling for the language Write sentence Get feedback and improve sentence until correctly parsed Denaux Controlled Natural Languages
  • 45. Introduction Controlled Natural Languages Conclusion How to Evaluate a CNL Use a made up world with made up concepts Use a “Controlled Visual Language” Denaux Controlled Natural Languages
  • 46. Introduction Controlled Natural Languages Conclusion Knowledge Capture with CNLs Conceptual Knowledge: Yes Factual Knowledge: Yes However: No guarantee that conceptual knowledge is directly usable Is OWL(or 1st Order Logics) correctly understood? Denaux Controlled Natural Languages
  • 47. Introduction Controlled Natural Languages Conclusion ROO: Rabbit to OWL Ontology Authoring. Example of adapting to ontology contributors Domain experts: Good knowledge of the domain to be represented Limited or no Ontology Engineering experience Limited or no knowledge of OWL, Protégé, etc. ROO provides tool support for domain experts: Guidance through ontology construction methodology Controlled Natural Language interface No OWL specific terminology Adaptation at design time, not at runtime Re-use techniques from User Modelling and Personalisation Denaux Controlled Natural Languages
  • 48. Introduction Controlled Natural Languages Conclusion ROO: Rabbit to OWL Ontology Authoring. Example of adapting to ontology contributors Denaux Controlled Natural Languages
  • 49. Introduction Controlled Natural Languages Conclusion ROO: Rabbit to OWL Ontology Authoring. Example of adapting to ontology contributors Denaux Controlled Natural Languages
  • 50. Introduction Controlled Natural Languages Conclusion ROO: Rabbit to OWL Ontology Authoring. Example of adapting to ontology contributors Denaux Controlled Natural Languages
  • 51. Introduction Controlled Natural Languages Conclusion Acknowledgements 3rd Party Images used: http://shlomit.deviantart.com/art/ Keanu-Reeves-portrait-118051274 http://owen-c.deviantart.com/art/ Paillard-Bolex-H16-48443994 http://eliskan.deviantart.com/art/ World-Map-127501551 http://so-aesthetic.deviantart.com/art/ Drama-Masks-49646555 Denaux Controlled Natural Languages