hi;

i have a KB in jess format ,each fact is definate like that :
(MAIN::triple 
(predicate
"http://www.owl-ontologies.com/unnamed.owl#CODE_PARENT_GEOGRAPHIQUE";) 
(subject "http://www.owl-ontologies.com/unnamed.owl#_30M_Instance_70";) 
(object "30M"))

that 's my query :

(defquery search-by-systeme   
"Finds Systeme with a given name"    
(declare (variables ?Ob))
(triple (predicate ?Pr) (subject ?Sb) (object ?Ob)))

to make a query to this KB , i use java ;but a problem is when i run my
query 
QueryResult result1 = engine.runQueryStar("search-by-systeme", new
ValueVector().add("30M")); 

it dont give me any result .i know that a mistake is in argement values
"30M".

so,can u help me plz ?

tks
-- 
View this message in context: 
http://www.nabble.com/String-between-jess-and-java--tp23775454p23775454.html
Sent from the Jess mailing list archive at Nabble.com.



--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------

Reply via email to