summaryrefslogtreecommitdiff
path: root/prolog/problems/world_data/capital_2/en.py
blob: 5ecd2ab8896e285680652be461310bc257f13a42 (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', M).
  Y = 'Dublin'.
</pre>
<p>Useful facts are given as <code>country(Name, ID, Capital, CapitalProvince, Size, Population)</code>.</p>
'''

hint = {}