summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/en.py
blob: a57ff7f61a057898a2d2d1db778b7067b3493523 (plain)
1
2
3
4
5
6
7
8
9
name = 'Family relations'
description = '''\
<p>
<a target="_blank" href="[%@resource intro_en.html%]">First steps in Prolog</a>: defining rules for various family relations.
For tasks in this set a database of <a target="_blank" href="[%@resource famrel.svg%]">family trees</a> is already defined.
In Prolog, this information is represented with the predicates <code>parent/2</code>,
<code>male/1</code> and <code>female/1</code>.
</p>
'''