Content deleted Content added
Undid revision 924668795 by 117.211.160.77 (talk): ? |
|||
Line 93:
====Examples====
The following example demonstrates two facts (describing what ''father'' is) and one rule (describing the ''meaning'' of ''sibling''). These three sentences use symbols (father, zeus, hermes, perseus and sibling) and some abstract variables (X, Y and Z). The ''mother'' relationship has been omitted for clarity.
<source lang="prolog">
father(zeus, hermes).
|