Some questions
Next: Using and
Up: A geographical knowledge base (PP)
Previous: A geographical knowledge base (PP)
Back: to main list of student notes
To start, please
load the new knowledge base by doing
library(countries).
when in Prolog.
Now try some questions. Can you:
- Ask a question to find the capital of
bulgaria
. Remember that
all names of things are in lower case, even though in English, they
would begin with a capital letter.
- Ask which country has capital
vaduz
.
- Find on which river
vaduz
lies.
- Find which countries adjoin the
irish_sea
.
- Find which countries have exactly the same name as their capitals.
Was this knowledge base written before or after German unification?
Before or after Berlin became capital?
Before or after the breakup of the USSR?
Next: Using and
Up: A geographical knowledge base (PP)
Previous: A geographical knowledge base (PP)
Back: to main list of student notes
Jocelyn Paine
Tue Jun 4 17:40:31 BST 1996