|
Exercise: CycL Translations
Because many of the terms used in this exercise are not included in OpenCyc,
we recommend that you print this exercise and try it on paper. When you have finished the
exercise, click here to see the answers.
This exercise is divided into three parts:
Part 1: CycL to English translation
Part 2: English to CycL translation
Part 3: Relating Constants
Part 1: CycL to English translation
Express the following CycL assertions in ordinary English (acceptable translations into English may vary).
(and
(isa NeilArmstrong Astronaut)
(performedBy FirstLunarLanding NeilArmstrong)
(eventOccursAt FirstLunarLanding MoonOfEarth))
(implies
(performedBy FirstLunarLanding ?ARMSTRONG)
(isa ?ARMSTRONG Astronaut))
(implies
(performedBy GettysburgAddress-Speech ? SPEAKER)
(equals ?SPEAKER AbrahamLincoln))
(implies
(isa ?SOMEONE Person)
(isa ?SOMEONE Primate))
(genls Dog Mammal)
(implies
(isa ?EARTH Planet)
(thereExists ?SUN (isa ?SUN Star))
(implies
(and
(father ?CHILD ?PARENT)
(siblings ?PARENT ?SIB)
(isa ?SIB FemalePerson))
(aunts ?CHILD ?SIB))
(implies
(orbits ?X ?Y)
(thereExists ?PATH
(thereExists ?ORBITING-MOVEMENT
(and
(isa ?PATH OrbitalPath)
(surrounds-Ringlike ?PATH ?Y)
(traverses-Complete ?ORBITING-MOVEMENT ?PATH)
(objectMoving ?ORBITING-MOVEMENT ?X)))))
(implies
(and
(isa ?EXP ExperiencingHunger)
(doneBy ?EXP ?ANI)
(isa ?ANI Animal))
(desires ?ANI
(thereExists ?EAT
(and
(isa ?EAT EatingEvent)
(performedBy ?EAT ?ANI)))))
Part 2: English to CycL translation
Using the suggested CycL vocabulary, translate the following English sentences into well-formed CycL assertions.
|
Logical Terms
|
Predicates
|
Attributes
|
|
#$thereExists
|
#$feelsEmotion |
#$feelsTowardsEvent
|
#$High
|
|
#$thereExistAtLeast
|
#$holdsIn |
#$genls |
#$Medium |
|
#$thereExistAtMost
|
#$objectActedOn |
#$hasAttributes |
#$Low |
|
#$forAll
|
#$eventOccursAt |
#$isa |
|
|
#$and
|
#$anatomicalParts |
#$performedBy |
|
|
#$implies
|
#$hasPets |
#$likesRoleInActivity |
|
|
#$not
|
#$employees |
#$feelsTowardEvent |
|
|
|
#$temperament |
|
|
Individuals
|
Collections
|
Functions
|
|
#$Rover
|
#$Enjoyment |
#$Primate |
#$DeadFn |
|
#$Blake
|
#$Chewing |
#$ShapeType |
|
|
#$Cycorp
|
#$Circle |
#$Swimming-Generic |
|
|
#$Dog |
#$Tail |
|
|
#$DomesticPet |
#$TwoDimensionalShape |
|
|
#$Lake |
#$Bone-BodyPart |
|
|
#$Person |
#$Viciousness |
|
|
|
|
|
|
|
|
|
- Rover is Blake's pet.
- Rover is the pet of a Cycorp employee.
- Blake has at least one pet.
- Everyone who works at Cycorp has at least one pet.
- Every pet of a Cycorp employee has at most one tail.
- Rover is swimming in a lake. (Do this without naming the swimming event in question.)
- Rover is chewing on a bone.
- Dogs really like to chew on bones.
- Circles are shapes.
- All people are primates.
11. All dogs are highly vicious.
Part 3: Relating constants
Vocabulary:
|
(#$isa X Y) |
X is an instance of Y |
|
(#$genls X Y) |
Every instance of X is an instance of Y |
|
(#$performedBy X Y) |
X is/was performed by Y |
|
(#$mainColorOfObject X Y) |
The main color of X is Y |
|
#$Rover |
the dog depicted in the image above |
|
#$RoverSwimmingInTheLake |
the event depicted in the image above |
|
#$BeigeColor |
an individual attribute, and #$Rover's color |
|
#$Dog |
the collection of all dogs |
|
#$Mammal |
the collection of all mammals |
|
#$Color |
the collection of color attributes |
|
#$PhysicalAttribute |
a collection of attributes |
Using the vocabulary provided above, write a CycL sentence expressing the relationship, if any, between the following pairs of constants:
- #$Rover and #$Dog
- #$Rover and #$Mammal
- #$RoverSwimmingInTheLake and #$Rover
- #$Rover and #$BeigeColor
- #$BeigeColor and #$Color
- #$BeigeColor and #$PhysicalAttribute
Click here to see the answers.
|