% cd Desktop
You should see hw3pr1.pl when you type ls,
which is the command to list all the files in the directory.
/usr/local/bin/swipl -f hw3pr1.pl
or any other file name you'd like. Remember that you can use the up arrow to repeat
a command you've typed earlier (so that there's no need to retype it).
parent(X, bart).
once the hw3pr1.pl file is loaded. Recall that
the semicolon means OR, and asks for more
possible solutions. Hitting return stops the search for possible
solutions to a predicate query.