Skip to main content

Real-World Knowledge Representation and Reasoning

  • Chapter
  • First Online:
Fundamentals of Artificial Intelligence
  • 12k Accesses

Abstract

Apart from its theoretical significance, the AI must represent real-world knowledge, and produce reasoning using that. The real-world things are collections of entities in different classes. This chapter presents the representations structures for such knowledge, e.g., taxonomies and reasoning based on that. Other phenomena in real-world, that are presented are, action and change, commonsense reasoning, ontology structures for different domains, like, language, and world. The Sowa’s ontology for objects, and processes, both concrete and abstract, is explained. The situation calculus is presented in its formal details, along with worked exercises. The more prevalent real-world reasoning, like nonmonotonic and default reasoning are also treated in sufficient details, along with supporting worked exercises. This is followed, with summary of the chapter, and exhaustive list of practice exercises.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 84.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Chowdhary KR (2004) Natural language processing for word-sense disambiguation and information extraction. PhD thesis, Department of Computer Science and Engineering, J.N.V. University, Jodhpur (India)

    Google Scholar 

  2. Davis E, Marcus G (2015) Commonsense reasoning and commonsense knowledge in artificial intelligence. Commun ACM 58(9):92–103

    Article  Google Scholar 

  3. https://protege.stanford.edu/. Cited 19 Dec 2017

  4. Douglas BL (1995) CYC: a large-scale investment in knowledge infrastructure. Commun ACM 38(11):33–38

    Article  Google Scholar 

  5. Fridman-Noy N, Hafner CD (1997) The state of the art in ontology design: a survey and comparative review. AI Mag 53–74

    Google Scholar 

  6. http://clarity.princeton.edu/pub/wordnet/. Cited 19 Dec 2017

  7. Sowa JF (1995) Distinctions, combinations, and constraints. In: Proceedings of the workshop on basic ontological issues in knowledge sharing. Montreal, Canada

    Google Scholar 

  8. Devedzic V (2002) Understanding ontological engineering. Commun ACM 45(4):136–144

    Article  Google Scholar 

  9. Pinto JA (1994) Temporal reasoning in the situation calculus. PhD Dissertation, Submitted to the Graduate department of Computer Science, University of Toronto

    Google Scholar 

  10. Thielscher M (1999) From situation calculus to fluent calculus: State update axioms as a solution to the inferential frame problem. Artif Intell 111:277–299

    Article  MathSciNet  Google Scholar 

  11. Antoniou G (1999) A tutorial on default logics. ACM Comput Surv 31(3)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to K. R. Chowdhary .

Exercises

Exercises

  1. 1.

    Give the top level ontology of following structures, represent the concepts using relations, and attributes.

    1. a.

      University system—consisting of faculties, departments, teachers, classes, students, courses, etc.

    2. b.

      Organizational ontology of a manufacturing firm.

    3. c.

      Organizational ontology of a project based software company.

    4. d.

      Government system ontology with various bodies and their responsibilities.

  2. 2.

    Suggest some applications of Sowa’s ontology.

  3. 3.

    Compare and contrast the Wordnet and Sowa’s ontology, and explain the reasoning performed in both with small examples.

  4. 4.

    Represent the ontologies of the following worlds, and explain, how you will perform the question-answering using each of these ontology?

    1. a.

      Ontology of Shirt.

    2. b.

      Ontology of Dining table.

    3. c.

      Ontology of University system.

  5. 5.

    Suggest the approach, how you will generate e-learning exercises using the ontology.

  6. 6.

    What is unnatural deduction in reference to situation calculus? Give examples to justify your claims.

  7. 7.

    How the inheritance works in a world of contexts? For example, in space-craft, on earth, and when context changes from one to other?

  8. 8.

    Show some similarities between “contexts” and “properties” in expressing situation calculus axioms.

  9. 9.

    Consider a robotic-hand which can move between several bins, pickup an object from the bin if the hand is above the bin and the hand is empty. The hand can drop an object into a bin if the hand is holding an object and the hand is above the bin. Moving of hand from any bin to any other bin is always possible, it does not require any preconditions. The actions are:

    • drop(xy) (drop object x into bin y)

    • move(y) (move hand to be above the bin y)

    • grab(xy) (pickup object x from bin y).

    The fluents are:

    • holding(xs) (the hand is holding x in situation s)

    • over(ys) (the hand is over bin y in situation s)

    • in(xys) (object x is in the bin y in a situation s).

    1. a.

      Write the axioms for move, drop and grab actions.

    2. b.

      Write the successor state axioms for all the fluents.

  1. 10.

    A robot is to pickup n (\(n=10\)) cuboid lying on the table and drop one-by-one in a bucket, available nearby the table. Write the statements for sequential calculus. What are the situations, actions, and fluents here?

  2. 11.

    Consider the eight puzzle shown in Fig. 6.8 with initial and goal states (situations).  

    The objective is to go from a initial situation to the goal situation. We are allowed to move a tile into the empty space if that tile is adjacent to the empty space (e.g. in the initial situation tile 6 and 8 are adjacent to empty space). The locations are numbered as 1-9, as shown in initial situation, with number 9 as empty tile. The tiles are numbered 1-8. There is a single action move(tl) which indicates moving tile t to location l. Assume a predicate \(adjacent(l_1 , l_2)\), which is true when location \(l_2\) is one move from \(l_1\). It is only possible to do a move action if a tile is in a location adjacent to an empty location. The only fluent is location(tls) meaning tile t is in location l in situation s. Given this, write down:

    • initial conditions,

    • effect axioms,

    • precondition axioms, and

    • from the effect axioms derive the successor state axioms.

  3. 12.

    Given the following set of facts and default rules:

    1. a.

      People typically live in the same city where they work (default: \(d_1\))

    2. b.

      People typically live in the same city where their spouses are (default: \(d_2\))

    3. c.

      John works in New Delhi (fact: \(f_1\))

    4. d.

      John’s spouse works in Mumbai (fact: \(f_2\))

    Answer these questions:

    1. a.

      Where does John live according to default logic?

    2. b.

      Where does John live according to your intuition?

  4. 13.

    Formalize these set of facts and default rules:

    1. a.

      Bob usually speaks the truth (\(d_1\)).

    2. b.

      John usually speaks the truth (\(d_2\)).

    3. c.

      Bob says that the suspect stabbed the victim to death (\(f_1\)).

    4. d.

      John says that the suspect shot the victim to death (\(f_2\)).

    5. e.

      Nobody can be both stabbed and shot to death (\(f_3\)).

    6. f.

      Stabbing or shooting to death is killing (\(f_4\)).

    Answer these questions:

    1. a.

      Did the suspect kill the victim according to default logic?

    2. b.

      Did the suspect kill the victim according to your intuitions?

  5. 14.

    Is the formula (6.10) sufficient and correct form of default reasoning, with X as variable? Justify your answer.

  6. 15.

    Translate the following into first-order predicate logic, and check whether the given conclusion follow from it?

    Typically, the computer science students like computers. Female students who like computers are typically interested in cognitive science. The computer science students are typically female: for example Anita, Babita, Cathy; but Dorthy is an exception to this rule. Conclusion: Anita, Babita, Cathy are interested in cognitive science; Dorthy is not interested in cognitive science.

  7. 16.

    Compute the default extensions of following theories \(T = (M, D)\):

    1. a.

      \(M=\{a\}, D = \{\frac{a: \lnot b}{c}, \frac{:\lnot c}{d}, \frac{:\lnot d}{e}\}\)

    2. b.

      \(M=\{a\rightarrow c, b \rightarrow c \}, D = \{\frac{: \lnot b}{a}, \frac{:\lnot a}{b}, \frac{:\lnot d}{e}\}\)

    3. c.

      \(M=\{ \}, D = \{ \frac{: \lnot b}{a}, \frac{:\lnot a}{b}, \frac{:\lnot d}{d}\}\)

    4. d.

      \(M=\{p\wedge q\}, D = \{ \frac{b : a}{a}, \frac{:\lnot a}{a}, \frac{:\lnot a}{\lnot c}, \frac{:\lnot q}{b},\frac{:\lnot p}{q}\}\)

  8. 17.

    Compute the default extensions of \(T = \langle M, D\rangle \), where

    $$\begin{aligned}&M = \{\forall x [mynah(x) \rightarrow \lnot nests(x)],\\&\qquad \forall x [penguin(x) \rightarrow \lnot flies(x)],\\&\qquad \forall x [birds(x) \equiv mynah(x) \vee penguin(x) \vee canary(x)], \\&\qquad bird(Tweety)\},\\&D = \{\frac{bird(x): nests(x)}{nest(x)}, \frac{bird(x): flies(x)}{flies(x)}\} \end{aligned}$$
  9. 18.

    Find the extensions of the following default theories:

    1. a.

      \(T=\langle \{ \}, \{\frac{ :\lnot p}{p}, \frac{p\vee q: \lnot p}{\lnot p}\}\rangle \)

    2. b.

      \(T=\langle \{\lnot Sun\text {-}shining \wedge Summer\}, \{\frac{Summer:\lnot Rain}{Sun\text {-}shining}\}\rangle \)

    3. c.

      \(T=\langle \{ \}, \{\frac{r:\exists x~P(x)}{\exists x~p(x)}, \frac{:r \wedge \lnot p(x)}{r \wedge \lnot p(x)}\}\rangle \)

    4. d.

      \(T=\langle \{p\vee q\}, \{\frac{ :\lnot p}{p}, \frac{p\vee q: \lnot p}{\lnot p}\}\rangle \)

  10. 19.

    Assume that \(\langle D, W\rangle \) be a propositional default theory, and \(D^\prime \) be a set of normal defaults such that \(D \subseteq D^\prime \). If E is an extension of \(\langle D, W\rangle \), then show that there exists an extension \(E^\prime \) of \(\langle D^\prime , W\rangle \) such that \(E \subseteq E^\prime \).

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature India Private Limited

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Chowdhary, K.R. (2020). Real-World Knowledge Representation and Reasoning. In: Fundamentals of Artificial Intelligence. Springer, New Delhi. https://doi.org/10.1007/978-81-322-3972-7_6

Download citation

  • DOI: https://doi.org/10.1007/978-81-322-3972-7_6

  • Published:

  • Publisher Name: Springer, New Delhi

  • Print ISBN: 978-81-322-3970-3

  • Online ISBN: 978-81-322-3972-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics