Search Mailing List Archives
[protege-owl] invalid argument for SWRL rule
martin.oconnor at stanford.edu
Fri Jan 11 08:02:40 PST 2008
Can you send me the offending ontology with the rule. Are you sure that it is this query that is failing – argument #6 implies that the sqwrl:select has at least seven arguments.
From: protege-owl-bounces at lists.stanford.edu [mailto:protege-owl-bounces at lists.stanford.edu] On Behalf Of zhang weishan
Sent: Friday, January 11, 2008 12:17 AM
To: protege-owl at lists.stanford.edu
Subject: [protege-owl] invalid argument for SWRL rule
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'.
Never miss a thing. Make Yahoo <http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs> your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-owl