# coding=utf-8 name = 'ancestor/2' slug = 'the ancestor relation' description = '''\

ancestor(X, Y): X is an ancestor (parent, grandparent,...) of Y.

  ?- ancestor(patricia, X).
    X = john ;
    X = michael ;
    X = michelle.
''' hint = {}