summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/father_2/en.py
blob: c8a3d74746b5c60eaa57c61d4f8444c8d65b2cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# coding=utf-8

name = 'father/2'
slug = 'the father-child relation'

description = '''\
<p><code>father(?X, ?Y)</code>: <code>X</code> is the father of <code>Y</code>.</p>
<pre>
?- father(thomas, william).
  true.
?- father(aleksander, X).
  X = luana ;
  X = daniela.
</pre>'''

hint = {}