Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] invalid argument for SWRL rule

Martin O'Connor 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.

 

Martin

 

  _____  

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

 

Dear all,
  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?

  Cheers,
  Weishan

statemachine:hasStates(statemachine:PIcoTh03_Outdoor_sm, ?state)  ∧
statemachine:doActivity(?state, ?doactivity)  ∧
statemachine:actionResult(?doactivity, ?result) 
  → 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...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20080111/75309503/attachment.html>


More information about the protege-owl mailing list