/* File: ptq_examples.P ** Author(s): David S. Warren ** Contact: xsb-contact@cs.sunysb.edu ** ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998 ** ** XSB is free software; you can redistribute it and/or modify it under the ** terms of the GNU Library General Public License as published by the Free ** Software Foundation; either version 2 of the License, or (at your option) ** any later version. ** ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS ** FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for ** more details. ** ** You should have received a copy of the GNU Library General Public License ** along with XSB; if not, write to the Free Software Foundation, ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ** ** $Id: ptq_examples.P,v 1.1.1.1 1998/11/05 17:01:03 sbprolog Exp $ ** */ % Examples: :- export ex/2. ex(1,'john walks'). ex(2,'john walks in a park'). ex(3,'john believes that mary walks in a park'). ex(5,'a man tries to walk'). ex(6,'a woman tries to run allegedly'). ex(7,'john finds a unicorn'). ex(8,'john seeks a unicorn'). ex(9,'john dates mary'). ex(10,'a price rises'). ex(11,'john dates him'). ex(12,'john wishes to find a unicorn and eat it'). ex(13,'john talks about a unicorn'). ex(14,'john seeks a unicorn and mary seeks it'). %ex(15,'mary believes that john finds a unicorn and he eats it'). ex(16,'john tries to find a unicorn and wishes to eat it'). ex(17,'every man loves a woman'). ex(19,'a woman such that she walks runs'). ex(20,'every man loves a woman such that she loves him'). ex(21,'every man loves a woman and she loves him').