SlideShare uma empresa 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

Mais conteúdo relacionado

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

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