标签: prolog swi-prolog inference-engine
我试图找出在prolog中查找查询答案的方法更快。
例如,如果
employee('John',23). rule2('John', 'Likes to play basketball').
如果快于:
employee('John', '23'). rule2(employee('John,_),'Likes to play basketball').