knowledge representa0on introduc0on
play

Knowledge Representa0on Introduc0on Domain specific - PowerPoint PPT Presentation

Knowledge Representa0on Introduc0on Domain specific knowledge is needed to solve some problems. Knowledge base representa0on. Inference techniques


  1. Knowledge ¡Representa0on ¡

  2. Introduc0on ¡ • Domain ¡specific ¡knowledge ¡is ¡ needed ¡to ¡solve ¡some ¡problems. ¡ • Knowledge ¡base ¡– ¡representa0on. ¡ • Inference ¡techniques ¡ • Use ¡to ¡prove ¡facts. ¡ • Use ¡to ¡answer ¡queries ¡

  3. Knowledge ¡Representa0on ¡Schemes ¡ • Logical ¡representa0on ¡schemes ¡– ¡logical ¡proofs, ¡e.g. ¡ predicate ¡logic. ¡ • Procedural ¡representa0on ¡schemes ¡– ¡procedural ¡list ¡ of ¡instruc0ons, ¡e.g. ¡produc0on ¡rule ¡systems. ¡ • Network ¡representa0on ¡schemes ¡– ¡graphical ¡ representa0on, ¡e.g. ¡seman0c ¡networks ¡and ¡ conceptual ¡graphs. ¡ • Structured ¡representa0on ¡schemes ¡–extension ¡of ¡ network ¡schemes, ¡e.g. ¡scripts ¡and ¡frames. ¡ . ¡ • Structures ¡for ¡incomplete ¡or ¡inconsistent ¡knowledge: ¡ Bayesian ¡reasoning, ¡Dempster-­‑Shafer, ¡fuzzy ¡logic. ¡

  4. Seman0c ¡Networks ¡ • Consists ¡of ¡nodes ¡and ¡arcs. ¡ • Nodes ¡represents ¡objects. ¡ • Arcs ¡represents ¡rela0onships ¡between ¡ the ¡objects. ¡ • Rela0onships: ¡ – is-­‑a ¡ ¡ – Instance ¡ . ¡ – has/has-­‑a ¡ – Others ¡

  5. Example ¡1 ¡ Clyde ¡is ¡an ¡elephant. ¡ Mammal is-a Elephant . ¡ instance Clyde

  6. Example ¡2 ¡ has has Tail Dog 4 Legs is-a communicates Great Barks Dane height Tall instance has Pluto Spots

  7. Example ¡3 ¡ Mammal is-a has-a Nose Person instance Pee-Wee Brooklyn uniform team Blue Dodgers Reese colour

  8. Example ¡4 ¡ John’s ¡height ¡is ¡72. ¡ height 72 John John ¡is ¡taller ¡than ¡Bill. ¡ John Bill height height greater H2 H1 than

  9. Example ¡5 ¡ John ¡gives ¡Mary ¡the ¡book. ¡ recipient giver Mary Give John object Book32

  10. Using ¡Case ¡Frames ¡ • Problems ¡with ¡seman0c ¡networks ¡ • A\empts ¡to ¡standardize ¡seman0c ¡ networks ¡led ¡to ¡the ¡development ¡of ¡ case ¡frames. ¡ • Each ¡sentence ¡is ¡represented ¡by ¡a ¡case ¡ frame. ¡ • Each ¡case ¡frame ¡represents ¡an ¡ac0on. ¡ • Case ¡frames ¡define ¡case ¡rela0onships: ¡ . ¡ agent, ¡object, ¡instrument, ¡loca0on ¡and ¡ 0me. ¡ ¡

  11. Example: ¡Case ¡Frame ¡ past time agent object Fix Sarah chair instrument glue

  12. Exercises ¡ Construct ¡seman0c ¡networks ¡for ¡the ¡ ¡ following ¡statements: ¡ • Pompeian(Marcus), ¡Blacksmith(Marcus). ¡ ¡ • Mary ¡gave ¡the ¡green ¡coloured ¡vase ¡to ¡ her ¡favorite ¡cousin. ¡ • John ¡went ¡downtown ¡to ¡deposit ¡his ¡ money ¡in ¡a ¡bank. ¡

  13. Conceptual ¡Graphs ¡ • Is ¡a ¡connected ¡bipar0te ¡graph. ¡ • Conceptual ¡rela0on ¡nodes ¡ represent ¡rela0ons ¡between ¡ concepts. ¡ ¡ • The ¡arcs ¡connec0ng ¡nodes ¡are ¡not ¡ labeled. ¡ • Concepts ¡are ¡represented ¡by ¡boxes. ¡ • Rela0ons ¡by ¡ellipses. ¡

  14. Conceptual ¡Graph ¡Rela0ons ¡ 1-ary relation bird flies 2-ary relation dog brown colour 3-ary relation mother child parents father

  15. Example ¡ Mary ¡gave ¡John ¡the ¡book. ¡ person: agent give object Mary person: agent book John

  16. Unique ¡Markers ¡ • If ¡an ¡individual ¡object ¡is ¡unknown ¡a ¡ unique ¡marker ¡can ¡be ¡used ¡in ¡place ¡ of ¡the ¡name ¡of ¡the ¡object. ¡ ¡ • A ¡unique ¡marker ¡is ¡comprised ¡of ¡a ¡ hash ¡symbol ¡(#) ¡followed ¡by ¡a ¡ number. ¡ • Each ¡object ¡has ¡its ¡own ¡unique ¡ marker. ¡

  17. Example ¡1: ¡Unique ¡Markers ¡ dog: brown colour Emma dog: brown colour #1352

  18. Example ¡2: ¡Unique ¡Marker ¡ dog: brown colour #1352 ”emma” name

  19. Example ¡ ¡ Her ¡name ¡was ¡McGill ¡and ¡she ¡called ¡herself ¡ Lil, ¡but ¡everyone ¡knew ¡her ¡as ¡Nancy. ¡ person: name name #941 “McGill” ”Nancy” name “Lil”

  20. Generic ¡Markers ¡ • A ¡generic ¡marker ¡is ¡used ¡to ¡ represent ¡an ¡unspecified ¡individual ¡ of ¡a ¡type. ¡ ¡ • A ¡generic ¡marker ¡is ¡represented ¡by ¡ an ¡asterisk ¡*. ¡ ¡ • Name ¡variables ¡can ¡also ¡be ¡used, ¡ e.g., ¡*X ¡to ¡indicate ¡an ¡unspecified ¡ individual. ¡

  21. Example: ¡Generic ¡Marker ¡ The ¡dog ¡is ¡scratching ¡its ¡ear ¡with ¡its ¡paw. ¡ object dog: *X agent scratch ear instrument part paw dog: *X part

  22. Display ¡Form ¡ John ¡is ¡going ¡to ¡Boston ¡by ¡bus. ¡ person: go agent destination John city: instance Boston bus

  23. Linear ¡Form ¡ John ¡is ¡going ¡to ¡Boston ¡by ¡bus. ¡ [Go] ¡– ¡ (Agnt) ¡→ ¡[Person: ¡John] ¡ (Dest) ¡→ ¡[City: ¡Boston] ¡ (Inst) ¡→ ¡[Bus] ¡

  24. Exercises ¡ Construct ¡conceptual ¡graphs ¡for ¡the ¡ ¡ following ¡statements: ¡ • Jane ¡gave ¡Tom ¡an ¡ice ¡cream. ¡ • Basketball ¡players ¡are ¡tall. ¡ • Paul ¡cut ¡down ¡the ¡tree ¡with ¡an ¡axe. ¡ • Place ¡all ¡the ¡ingredients ¡in ¡a ¡bowl ¡and ¡ mix ¡thoroughly. ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend