|
From: | Suman Roy |
Subject: | Problem of Creating queries having a term involving function symbols |
Date: | Thu, 12 Apr 2012 17:04:03 +0530 |
Hello, We have created some rule base in Prolog for some industrial application. Now we want to create queries through Java APIs and subsequently fire them to Prolog interpreter on this rule base. Specifically, we are using “gnuprologjava-0.2.5 “ API . However, we are having problem creating queries which has a term involving function symbol inside a query predicate by using this API. For example, consider the following query, :- isSonOf(brother(Paul), John). We cannot create the term brother(Paul) using this API, where `brother’ is a function symbol in the vocabulary. Can you please suggest us how to create such terms using the above API? Regards, --Suman Suman Roy, Ph.D. Infosys Technologies Ltd., Bldg.-19, # 44 Electronics City, Hosur Road,
|
[Prev in Thread] | Current Thread | [Next in Thread] |