I am trying to find out which way of finding an answer to a query in prolog is faster.
For instance, if
employee('John',23).
rule2('John', 'Likes to play basketball').
if faster than:
employee('John', '23').
rule2(employee('John,_),'Likes to play basketball').