Hi Henrik, > I try: (? (db 'a1 '+Similarity A @X) (show @X)) (I assumed you forgot > the quotes above or maybe they're not needed?), and: (? (db a1
Ah, that won't work. Pilog does not evaluate the argument as Lisp does. It wants to do pattern matching. So the 'A' in the above query will never match (besides, as you suspected, the quotes). Please try: (? @A A (db a1 +Similarity @A @X) (show @X)) or perhaps - if you know that 'A' is the object {MyA} - directly (? (db a1 +Similarity {MyA} @X) (show @X)) Cheers, - Alex -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]