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

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

description = '''\
<p><code>mother(M, C)</code>: <code>M</code> is the mother of <code>C</code>.</p>
<pre>
  ?- mother(tina, william).
    true.
  ?- mother(nevia, X).
    X = luana ;
    X = daniela.
</pre>'''

hint = {}