Search Mailing List Archives
[protege-owl] invalid argument for SWRL rule
dr_zhangws at yahoo.com
Fri Jan 11 00:16:39 PST 2008
Good morning. I have some rules which are working well with build 122, and then i switched to build 125. Now the rules in ontology are not working when i checked them this morning. I got the following error with this simple rule as attached. What is the problem with them?
statemachine:hasStates(statemachine:PIcoTh03_Outdoor_sm, ?state) ∧
statemachine:doActivity(?state, ?doactivity) ∧
→ sqwrl:select(statemachine:PIcoTh03_Outdoor_sm, ?doactivity, ?result)
Exception running SQWRL queries: error running SQWRL queries: error running Jess rule engine: Jess reported an error in routine invokeSWRLBuiltIn
while executing (invokeSWRLBuiltIn "checkPIcoTh03_Outdoor" "sqwrl:select" 0 statemachine:PIcoTh03_Outdoor_sm ?doactivity ?result)
while executing defrule MAIN::checkPIcoTh03_Outdoor.
Message: unknown jess.Value parameter of type RU.SYMBOL with value 'false'; expecting an individual name, a class name, a property name or unbound variable: for (0-offset) argument #6 to built-in 'sqwrl:select' in rule 'checkPIcoTh03_Outdoor'.
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-owl