summaryrefslogtreecommitdiff
path: root/prolog/problems/world_data/capital_2/en.py
blob: 3a26ccf1e64d5c83d335b74b53467cf262276bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
name = 'capital/2'
slug = 'capitals'

description = '''\
<p><code>capital(X, Y)</code>: <code>Y</code> is the capital city of country <code>X</code>.</p>
<pre>
?- capital('Ireland', Y).
  Y = 'Dublin'.
</pre>
<p>Useful facts are given as <code>country(Name, ID, Capital, CapitalProvince, Size, Population)</code>.</p>
'''

hint = {}