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] SWRL/Jess exception

Martin O'Connor martin.oconnor at stanford.edu
Fri Aug 15 15:40:17 PDT 2008


I will update the parser for the next build to fix this problem.

Martin

Quoting "Kormann, Joseph" <joseph.kormann at lmco.com>:

> Are you using the automatic SWRL builder in Protégé? I found out you  
>  cannot use the symbols, "->", you need to use the ASCII   
> 'implication' symbol which is '\u2192'. Check the SWRLParser.java   
> file for the ASCII symbol for 'and'.
>
>> -----Original Message-----
>> From: protege-owl-bounces at mailman.stanford.edu [mailto:protege-owl-
>> bounces at mailman.stanford.edu] On Behalf Of Donald Hillman
>> Sent: Friday, August 15, 2008 12:14 PM
>> To: User support for the Protege-OWL editor
>> Subject: Re: [protege-owl] SWRL/Jess exception
>>
>> Each time I execute a SWRL rule, I receive the message
>> "SWRLRuleJessBridgeException
>> Jess reported an error in routine HasLHS.add pattern. Message Variable
>> used before definition"
>>
>> I have verified that the RHS variables are bound in the LHS, and that
>> the OWL ontology supports the rule.  I have also reinstalled Protege 3.4
>> Build 505 with the jess.jar file, but the exception is still thrown.
>> It looks like a Java error.
>>
>> Have others experienced this problem?
>>
>> --Donald Hillman
>>
>> Samson Tu wrote:
>> > Perhaps you used a variable on the RHS of a rule without having it bound
>> >   on the LHS? There is no "variable declaration" in SWRL tab.
>> >
>> > Samson
>> >
>> >
>> > Donald Hillman wrote:
>> >
>> >> When attempting to run a SRWL rule with Jess, the exception 'using
>> >> variable before definition' is thrown. This appears to indicate that a
>> >> variable has not been declared.  How is a variable declared using the
>> >> Jess plugin or otherwise?
>> >>
>> >
>> > _______________________________________________
>> > protege-owl mailing list
>> > protege-owl at lists.stanford.edu
>> > https://mailman.stanford.edu/mailman/listinfo/protege-owl
>> >
>> > Instructions for unsubscribing:
>> http://protege.stanford.edu/doc/faq.html#01a.03
>> >
>>
>>
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing:
>> http://protege.stanford.edu/doc/faq.html#01a.03
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:   
> http://protege.stanford.edu/doc/faq.html#01a.03
>





More information about the protege-owl mailing list