# Revision history [back]

This is not related to KnowRob but a problem with Prolog or your test files. You'll need to check if test.pl contains the correct predicate definitions, no syntax errors (did you get any error messages when starting Prolog?) and if the lines with definitions of e.g. cup(cup0) start with :-

This is not related to KnowRob but a problem with Prolog or your test files. You'll need to check if test.pl contains the correct predicate definitions, no syntax errors (did you get any error messages when starting Prolog?) and if the lines with definitions of e.g. cup(cup0) start with :-

EDIT When I just copy/paste your file and try it, it works for me. System configuration seems to be the same, maybe you need to check why the first output line seems to be missing in your case (..compiled...)

tenorth@lapradig6:~\$ prolog -f test.pl
% [...]/test.pl compiled 0.00 sec, 4,112 bytes
Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 5.10.4)
Copyright (c) 1990-2011 University of Amsterdam, VU Amsterdam
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.