hi guys,

can anyone tell me how to access a specific slot in the jesstab in protege
3.4.6 ?

i.e.
--------------------------------------------------------------------------------------------------------------------------------
(defrule find-something "finds something"
?p <- (object (is-a class-name)
(slot-name ?s)
(slot-name ?v))
=>
(printout t "bla bla " (instance-name ?p) " bla bla " (instance-name ?v) "
 bla. "crlf)
)
--------------------------------------------------------------------------------------------------------------------------------

the rule above works fine but when i try to do the following, then it doesnt
work anymore

--------------------------------------------------------------------------------------------------------------------------------
(defrule find-something "finds something"
?p <- (object (is-a class-name)
(slot-name specific-instance-of-a-class)
(slot-name ?v))
=>
(printout t "bla bla " (instance-name ?p) " bla bla " (instance-name ?v) "
 bla. "crlf)
)
--------------------------------------------------------------------------------------------------------------------------------

thank you for your time

Reply via email to