Using Prolog - Prolog online 1.click Program 2.enter Prolog Facts & Rules (at the left)3.enter Query (at the right bottom), and click Run.