<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Prolog - Page 33 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Prolog&amp;p=32">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Prolog&amp;p=34">3.Next</a>
</p>
<p>continues with the goals of that first alternative. If any goal fails in the course of executing the program, all variable bindings that were made since the most recent choice-point was created are undone, and execution continues with the next alternative of that choice-point. This execution strategy is called chronological <a href="page.php?w=backtracking">backtracking</a>. For example, given the family relation program defined above, the following query will be evaluated to true:<syntaxhighlight lang="prolog"> ?- sibling(sally, erica). Yes</syntaxhighlight></p>

<p>This</p><p>
<a accesskey="1" href="page.php?w=Prolog&amp;p=32">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Prolog&amp;p=34">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
