blob: c181ab54e1f06003aa6c88452691757a42879173 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# coding=utf-8
name = 'grandparent/2'
slug = 'the grandparent relation'
description = '''\
<p><code>grandparent(P, C)</code>: <code>P</code> is a grandparent of <code>C</code>.</p>
<pre>
?- grandparent(tina, X).
X = vanessa ;
X = patricia.
?- grandparent(tina, vanessa).
true.
</pre>'''
hint = {}
|