Ontology Course Exercises
[Home |
Publications |
Tools |
What‘s New |
About]
- Quantification. Code the following statements in SUO-KIF:
- "All the king's horses and all the king's men are in England."
- The king would like to exchange his entire kingdom for a horse. Or more poetically: "A horse, a horse, my kingdom for a horse!"
- "He never met a horse he didn't like."
- Rules. Code the following statements in SUO-KIF:
- "Every good boy likes fudge."
- "All good men will come to the aid of their country."
- "Some men are born to greatness..."
- "A right triangle is a triangle with a one right angle."
- Negation. Code the following statements in SUO-KIF:
- "Mike didn't go to school."
- "Mike was going to school when he got hit by a bus."
- "Fortunately, Mike didn't die."
- Case roles. Code the following statements in SUO-KIF and SUMO:
- "John turns the screw with the screwdriver."
- "Johns walks from the store to his home."
- "John saw the explosion."
- Processes. Define the following terms in SUO-KIF and SUMO:
- Following
- Rehabilitating
- Interrogating
- Planing (wood or other material)
- Time and change. Code the following in SUO-KIF and SUMO:
- "John has a different car than he had last year."
- "Mary graduated in 2000."
- "Tom is older than Jim."
- "Lou has a party every year in August."
- Sets and groups. Code the following in SUO-KIF and SUMO:
- "There are 15 children in the classroom."
- "The five-member board approved the motion."
- "Susan joined Acme Software."
- Comparatives and Superlatives. Code the following in SUO-KIF and
SUMO:
- "Tom is shorter than Bill."
- "The Hope Diamond is the most expensive diamond."
- "Bill is the wealthiest man."
- Spatial expressions. Code the following in SUO-KIF and SUMO:
- "Atlanta is north of Miami."
- "Sally travels to New York City."
- "The vase is on top of the table."
- Part-whole relations. State the relationship between
- a chair and its legs
- a snail and its shell
- Mike and his left ear
- a chicken and an egg
- Roles. Code the following in SUO-KIF and SUMO:
- "Mary is a pianist."
- "Rudolph is a reindeer."
- "Bill was president in 1999."
- "Joe is brown."
- Measures. Code the following in SUO-KIF and SUMO:
- "The battery has 300 Amp-hours of electric power."
- "The house is 2000 square feet."
- "The container holds 5 gallons."
- Represent the statements below in SUO-KIF syntax and terms from SUMO
whenever possible.
- if John likes Sue then Sue likes John
- if John likes someone, that person likes him
- If Someone likes someone else then he or she has the attribute of
being likable
- Every likable person knows someone
- Every human has two feet
- Every human is likable in the afternoon
- John eats with a fork
- Create a very basic definition for skipping (as in "The little girl was skipping down the path."), consisting of at least the following statements in SUO-KIF and SUMO, paying careful attention to
strictly correct syntax.
- documentation string
- termFormat expression
- subclass statement
- extra credit: create a rule that defines what is essential about skipping compared to walking, jumping, etc.
- Beliefs, desires and higher-order logic
- Jimmy wants a dog
- Billy wants to be 21 years old
- In 2003 Jane was 15 years old
- John thinks that there are unicorns in the world
Webmaster