knowledge representation
play

Knowledge Representation Other Examples Volker Sorge Intro to AI: - PowerPoint PPT Presentation

Intro to AI: Lecture 5 Volker Sorge Background Object Oriented Representations Example: RDF Knowledge Representation Other Examples Volker Sorge Intro to AI: Knowledge Representation Lecture 5 Volker Sorge Background Object Oriented


  1. Intro to AI: Lecture 5 Volker Sorge Background Object Oriented Representations Example: RDF Knowledge Representation Other Examples Volker Sorge

  2. Intro to AI: Knowledge Representation Lecture 5 Volker Sorge Background Object Oriented Representations ◮ The problem of how to represent knowledge and Example: RDF Other Examples reasoning with it or about it. ◮ Obvious questions are: 1. What is knowledge? 2. What is a representation? 3. How do we reason? We are mainly interested in the first two questions here.

  3. Intro to AI: Implicit vs. Explicit Lecture 5 Volker Sorge Background Object Oriented Representations Example: RDF ◮ Knowledge can be learned and implicitly represented. Other Examples ◮ Examples: Neural nets, evolutionary algorithms. ◮ Knowledge can be explicitly represented. ◮ Allows for human encoding, extension and inspection. ◮ We can learn something about the knowledge, explain behaviour etc.

  4. Intro to AI: Types of Explicit Knowledge Representation Lecture 5 Volker Sorge Background Object Oriented Representations Example: RDF ◮ Logic representation Other Examples ◮ Knowledge is represented as logical sentences. ◮ Each sentence is self-contained ◮ But representation is flat ◮ Object Oriented representation ◮ Hiearchically structured and organised ◮ Sentences are grouped ◮ Translatable to logic

  5. Intro to AI: Semantic Networks Lecture 5 Volker Sorge Background Object Oriented Representations ◮ Hierarchies of Classes similar to object oriented Example: RDF programming. Other Examples ◮ Classes are sets of entities. ◮ Classes have properties that can be inherited. ◮ Both classes and entities can have relations. ◮ Multiple inheritance is always conjunctive. Expresses simple sentences of Object – Predicate – Subject: ◮ A bird is a vertebrae. ◮ Paul is a brother and a father.

  6. Intro to AI: Simple Semantic Networks Lecture 5 Volker Sorge Background ◮ Semantic Networks allow for simple subclass relations Object Oriented Representations (IsA links) and properties (HasA links). Example: RDF Other Examples Source: Wikipedia

  7. Intro to AI: Complex Relations Lecture 5 Volker Sorge Background Object Oriented ◮ More complex models can incorporate more relations. Representations Example: RDF Source: http://www.jfsowa.com/pubs/semnet.htm Other Examples

  8. Intro to AI: Problems Lecture 5 Volker Sorge Background Object Oriented Representations ◮ Inheritance can lead to incorrect knowledge. Example: RDF Other Examples ◮ Example: ◮ Bird has the property flight. ◮ Penguin inherits from bird. ◮ Multiple inheritance can aggravate this problem and lead to contradiction. ◮ Solution: Override inheritance, where sub-class values override super-class values.

  9. Intro to AI: RDF Lecture 5 Volker Sorge Background Object Oriented Representations ◮ W3C resource description framework for semantic web Example: RDF Other Examples applications ◮ Basic idea is to enable a semantic description of information implemented as web resources ◮ Automatic identification of different web services ◮ Sharing of data across different resources ◮ Also enables easier retrieval of similar facts

  10. Intro to AI: RDF: Basics Lecture 5 Volker Sorge Background ◮ Resources are given by URIs Object Oriented Representations ◮ Described in Object – Predicate – Subject relations Example: RDF ◮ This effectively defines a graph with directed edges for Other Examples relations ◮ Example: :Birmingham a :City :Birmingham :inCounty :WestMidlands :Birmingham :inCountry :UK :UK :inContinent :Europe All subjects and objects could be described with Maps URLs.

  11. Intro to AI: RDF Example: Google recipe search Lecture 5 Volker Sorge ◮ Webmasters/Authors are encouraged to use semantic Background Object Oriented markup for recipes Representations ◮ Microdata or RDF format for ingredients, cooking time, Example: RDF etc. Other Examples ◮ This enables Google search for recipes with respect to ingredients only. ◮ https://developers.google.com/ structured-data/rich-snippets/recipes < span rel= "v:ingredient" > < span typeof= "v:Ingredient" > < span property= "v:name" > White sugar < /span > : < span property= "v:amount" > 3/4 cup < /span > < /span > < /span >

  12. Intro to AI: Example: Wolfram Alpha Lecture 5 Volker Sorge Background Object Oriented Representations Example: RDF Other Examples ◮ http://www.wolframalpha.com ◮ (Mainly) scientific knowledge base. ◮ Scientific backend of Siri. ◮ http://www.wolframalpha.com/examples

  13. Intro to AI: Example: Google Knowledge Graph Lecture 5 Volker Sorge Background Object Oriented Representations Example: RDF Other Examples ◮ http://www.google.co.uk/insidesearch/ features/search/knowledge.html ◮ (Now only available on the wayback machine!) ◮ Scientific and general knowledge base. ◮ Mined from Wikipedia and search.

Recommend


More recommend