summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/mother_2/en.py
blob: 3614473a0c5f5104590a00aac8df87d7a1af0e3e (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 = {}