Here's a simple test case.
This query, as expected, returns on results:
--------------------------------------------------
topic($TOPIC),
instance-of($TOPIC, $TOPIC)?
--------------------------------------------------
This query, which should be functionaly identical (I think), returns
every topic:
--------------------------------------------------
my-instance-of($A, $B) :- { instance-of($A, $B) }.
topic($TOPIC),
my-instance-of($TOPIC, $TOPIC)?
--------------------------------------------------
I testing his in the omnigator Query page using ontopia-5.0.2.