Logic Programming
Logic Programming. A little bit of Prolog. Objects and relations between objects Facts and rules parent( pam , bob). parent( tom,bob ). parent(tom, liz ). parent(bob , ann ). parent(bob, pat). parent(pat, jim ). ? parent(bob, pat). ? parent(bob, liz ). ? parent(bob, ben ).
1.05k views • 58 slides