Running SWRL not in JESS

View: New views
11 Messages — Rating Filter:   Alert me  

Running SWRL not in JESS

by Kormann, Joseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a series of SWRL statements that create new Individuals.

SWRL1: ClassA(x)->ClassB(x)

How can I execute this in SWRL without using JESS?

Sorry if this is a duplicate.

Thank you.
_______________________________________________
protege-owl mailing list
protege-owl@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Martin O'Connor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you do not use any custom SWRLTab built-ins you can use Pellet.

BTW, this rule does not create new individals: it reclassifies  
existing individuals.

Martin

Quoting "Kormann, Joseph" <joseph.kormann@...>:

> I have a series of SWRL statements that create new Individuals.
>
> SWRL1: ClassA(x)->ClassB(x)
>
> How can I execute this in SWRL without using JESS?
>
> Sorry if this is a duplicate.
>
> Thank you.
> _______________________________________________
> protege-owl mailing list
> protege-owl@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Kormann, Joseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin,

I'm trying to run one of the Pellet examples, http://owldl.com/ontologies/dl-safe.owl, however the rules aren't showing in Protégé. Any ideas?

> -----Original Message-----
> From: protege-owl-bounces@... [mailto:protege-owl-
> bounces@...] On Behalf Of Martin O'Connor
> Sent: Wednesday, July 09, 2008 2:18 PM
> To: protege-owl@...
> Subject: Re: [protege-owl] Running SWRL not in JESS
>
> If you do not use any custom SWRLTab built-ins you can use Pellet.
>
> BTW, this rule does not create new individals: it reclassifies
> existing individuals.
>
> Martin
>
> Quoting "Kormann, Joseph" <joseph.kormann@...>:
>
> > I have a series of SWRL statements that create new Individuals.
> >
> > SWRL1: ClassA(x)->ClassB(x)
> >
> > How can I execute this in SWRL without using JESS?
> >
> > Sorry if this is a duplicate.
> >
> > Thank you.
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl@...
> > 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@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Martin O'Connor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you using the latest release? Do you get an exception on loading?

Martin

Kormann, Joseph wrote:

>Martin,
>
>I'm trying to run one of the Pellet examples, http://owldl.com/ontologies/dl-safe.owl, however the rules aren't showing in Protégé. Any ideas?
>
>  
>
>>-----Original Message-----
>>From: protege-owl-bounces@... [mailto:protege-owl-
>>bounces@...] On Behalf Of Martin O'Connor
>>Sent: Wednesday, July 09, 2008 2:18 PM
>>To: protege-owl@...
>>Subject: Re: [protege-owl] Running SWRL not in JESS
>>
>>If you do not use any custom SWRLTab built-ins you can use Pellet.
>>
>>BTW, this rule does not create new individals: it reclassifies
>>existing individuals.
>>
>>Martin
>>
>>Quoting "Kormann, Joseph" <joseph.kormann@...>:
>>
>>    
>>
>>>I have a series of SWRL statements that create new Individuals.
>>>
>>>SWRL1: ClassA(x)->ClassB(x)
>>>
>>>How can I execute this in SWRL without using JESS?
>>>
>>>Sorry if this is a duplicate.
>>>
>>>Thank you.
>>>_______________________________________________
>>>protege-owl mailing list
>>>protege-owl@...
>>>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@...
>>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@...
>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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Kormann, Joseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin,

Protégé 3.4, b128. No errors while loading. I didn't try it against the latest release b/c of the errors everyone has been getting while using it. I was waiting for the "all clear" before getting the latest Protégé.

> -----Original Message-----
> From: protege-owl-bounces@... [mailto:protege-owl-
> bounces@...] On Behalf Of Martin O'Connor
> Sent: Friday, July 25, 2008 2:28 PM
> To: User support for the Protege-OWL editor
> Subject: Re: [protege-owl] Running SWRL not in JESS
>
> Are you using the latest release? Do you get an exception on loading?
>
> Martin
>
> Kormann, Joseph wrote:
>
> >Martin,
> >
> >I'm trying to run one of the Pellet examples,
> http://owldl.com/ontologies/dl-safe.owl, however the rules aren't showing
> in Protégé. Any ideas?
> >
> >
> >
> >>-----Original Message-----
> >>From: protege-owl-bounces@... [mailto:protege-owl-
> >>bounces@...] On Behalf Of Martin O'Connor
> >>Sent: Wednesday, July 09, 2008 2:18 PM
> >>To: protege-owl@...
> >>Subject: Re: [protege-owl] Running SWRL not in JESS
> >>
> >>If you do not use any custom SWRLTab built-ins you can use Pellet.
> >>
> >>BTW, this rule does not create new individals: it reclassifies
> >>existing individuals.
> >>
> >>Martin
> >>
> >>Quoting "Kormann, Joseph" <joseph.kormann@...>:
> >>
> >>
> >>
> >>>I have a series of SWRL statements that create new Individuals.
> >>>
> >>>SWRL1: ClassA(x)->ClassB(x)
> >>>
> >>>How can I execute this in SWRL without using JESS?
> >>>
> >>>Sorry if this is a duplicate.
> >>>
> >>>Thank you.
> >>>_______________________________________________
> >>>protege-owl mailing list
> >>>protege-owl@...
> >>>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@...
> >>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@...
> >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@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Kormann, Joseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin,

I actually get the exception:

SWRLJessBridge load failed: could not find jess.Rete - or an error occured on initialization
SQWRLQueryTab load failed: could not find jess.Rete - or an error occured on initialization
Protege Wizards v1.0 beta build 14
Loaded OWL wizards library

> -----Original Message-----
> From: protege-owl-bounces@... [mailto:protege-owl-
> bounces@...] On Behalf Of Martin O'Connor
> Sent: Friday, July 25, 2008 2:28 PM
> To: User support for the Protege-OWL editor
> Subject: Re: [protege-owl] Running SWRL not in JESS
>
> Are you using the latest release? Do you get an exception on loading?
>
> Martin
>
> Kormann, Joseph wrote:
>
> >Martin,
> >
> >I'm trying to run one of the Pellet examples,
> http://owldl.com/ontologies/dl-safe.owl, however the rules aren't showing
> in Protégé. Any ideas?
> >
> >
> >
> >>-----Original Message-----
> >>From: protege-owl-bounces@... [mailto:protege-owl-
> >>bounces@...] On Behalf Of Martin O'Connor
> >>Sent: Wednesday, July 09, 2008 2:18 PM
> >>To: protege-owl@...
> >>Subject: Re: [protege-owl] Running SWRL not in JESS
> >>
> >>If you do not use any custom SWRLTab built-ins you can use Pellet.
> >>
> >>BTW, this rule does not create new individals: it reclassifies
> >>existing individuals.
> >>
> >>Martin
> >>
> >>Quoting "Kormann, Joseph" <joseph.kormann@...>:
> >>
> >>
> >>
> >>>I have a series of SWRL statements that create new Individuals.
> >>>
> >>>SWRL1: ClassA(x)->ClassB(x)
> >>>
> >>>How can I execute this in SWRL without using JESS?
> >>>
> >>>Sorry if this is a duplicate.
> >>>
> >>>Thank you.
> >>>_______________________________________________
> >>>protege-owl mailing list
> >>>protege-owl@...
> >>>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@...
> >>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@...
> >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@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Tania Tudorache :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Joseph,

I could reproduce the problem in Protege 3.4 b130.

Protege 3.4 b540 loads the http://owldl.com/ontologies/dl-safe.owl fine
and shows the rules.

The exceptions that you got are harmless. It means that there is no
jess.jar in the protege-owl directory, so it won't be able to execute
the rules using Jess.

If you want to use Jess, see Installation section from here:

http://protege.cim3.net/cgi-bin/wiki.pl?SWRLJessTab

Tania


Kormann, Joseph wrote:

> Martin,
>
> I actually get the exception:
>
> SWRLJessBridge load failed: could not find jess.Rete - or an error occured on initialization
> SQWRLQueryTab load failed: could not find jess.Rete - or an error occured on initialization
> Protege Wizards v1.0 beta build 14
> Loaded OWL wizards library
>
>  
>> -----Original Message-----
>> From: protege-owl-bounces@... [mailto:protege-owl-
>> bounces@...] On Behalf Of Martin O'Connor
>> Sent: Friday, July 25, 2008 2:28 PM
>> To: User support for the Protege-OWL editor
>> Subject: Re: [protege-owl] Running SWRL not in JESS
>>
>> Are you using the latest release? Do you get an exception on loading?
>>
>> Martin
>>
>> Kormann, Joseph wrote:
>>
>>    
>>> Martin,
>>>
>>> I'm trying to run one of the Pellet examples,
>>>      
>> http://owldl.com/ontologies/dl-safe.owl, however the rules aren't showing
>> in Protégé. Any ideas?
>>    
>>>
>>>      
>>>> -----Original Message-----
>>>> From: protege-owl-bounces@... [mailto:protege-owl-
>>>> bounces@...] On Behalf Of Martin O'Connor
>>>> Sent: Wednesday, July 09, 2008 2:18 PM
>>>> To: protege-owl@...
>>>> Subject: Re: [protege-owl] Running SWRL not in JESS
>>>>
>>>> If you do not use any custom SWRLTab built-ins you can use Pellet.
>>>>
>>>> BTW, this rule does not create new individals: it reclassifies
>>>> existing individuals.
>>>>
>>>> Martin
>>>>
>>>> Quoting "Kormann, Joseph" <joseph.kormann@...>:
>>>>
>>>>
>>>>
>>>>        
>>>>> I have a series of SWRL statements that create new Individuals.
>>>>>
>>>>> SWRL1: ClassA(x)->ClassB(x)
>>>>>
>>>>> How can I execute this in SWRL without using JESS?
>>>>>
>>>>> Sorry if this is a duplicate.
>>>>>
>>>>> Thank you.
>>>>> _______________________________________________
>>>>> protege-owl mailing list
>>>>> protege-owl@...
>>>>> 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@...
>>>> 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@...
>>> 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@...
>> 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@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Kormann, Joseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tania,

Thanks for helping to confirm my sanity. We are evaluating Pellet, due to cost restrictions of JESS. I'll look to load b540 on my system and see how it works. Are there any Pellet installation instructions needed that I should be aware of?

> -----Original Message-----
> From: protege-owl-bounces@... [mailto:protege-owl-
> bounces@...] On Behalf Of Tania Tudorache
> Sent: Monday, July 28, 2008 4:12 PM
> To: User support for the Protege-OWL editor
> Subject: Re: [protege-owl] Running SWRL not in JESS
>
> Hi Joseph,
>
> I could reproduce the problem in Protege 3.4 b130.
>
> Protege 3.4 b540 loads the http://owldl.com/ontologies/dl-safe.owl fine
> and shows the rules.
>
> The exceptions that you got are harmless. It means that there is no
> jess.jar in the protege-owl directory, so it won't be able to execute
> the rules using Jess.
>
> If you want to use Jess, see Installation section from here:
>
> http://protege.cim3.net/cgi-bin/wiki.pl?SWRLJessTab
>
> Tania
>
>
> Kormann, Joseph wrote:
> > Martin,
> >
> > I actually get the exception:
> >
> > SWRLJessBridge load failed: could not find jess.Rete - or an error
> occured on initialization
> > SQWRLQueryTab load failed: could not find jess.Rete - or an error
> occured on initialization
> > Protege Wizards v1.0 beta build 14
> > Loaded OWL wizards library
> >
> >
> >> -----Original Message-----
> >> From: protege-owl-bounces@... [mailto:protege-owl-
> >> bounces@...] On Behalf Of Martin O'Connor
> >> Sent: Friday, July 25, 2008 2:28 PM
> >> To: User support for the Protege-OWL editor
> >> Subject: Re: [protege-owl] Running SWRL not in JESS
> >>
> >> Are you using the latest release? Do you get an exception on loading?
> >>
> >> Martin
> >>
> >> Kormann, Joseph wrote:
> >>
> >>
> >>> Martin,
> >>>
> >>> I'm trying to run one of the Pellet examples,
> >>>
> >> http://owldl.com/ontologies/dl-safe.owl, however the rules aren't
> showing
> >> in Protégé. Any ideas?
> >>
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: protege-owl-bounces@... [mailto:protege-owl-
> >>>> bounces@...] On Behalf Of Martin O'Connor
> >>>> Sent: Wednesday, July 09, 2008 2:18 PM
> >>>> To: protege-owl@...
> >>>> Subject: Re: [protege-owl] Running SWRL not in JESS
> >>>>
> >>>> If you do not use any custom SWRLTab built-ins you can use Pellet.
> >>>>
> >>>> BTW, this rule does not create new individals: it reclassifies
> >>>> existing individuals.
> >>>>
> >>>> Martin
> >>>>
> >>>> Quoting "Kormann, Joseph" <joseph.kormann@...>:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>> I have a series of SWRL statements that create new Individuals.
> >>>>>
> >>>>> SWRL1: ClassA(x)->ClassB(x)
> >>>>>
> >>>>> How can I execute this in SWRL without using JESS?
> >>>>>
> >>>>> Sorry if this is a duplicate.
> >>>>>
> >>>>> Thank you.
> >>>>> _______________________________________________
> >>>>> protege-owl mailing list
> >>>>> protege-owl@...
> >>>>> 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@...
> >>>> 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@...
> >>> 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@...
> >> 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@...
> > 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@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Tania Tudorache :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You don't need to install Pellet separately. It comes bundled with the
protege full installation and it is accessible through the reasoning
menu -> Pellet, or through the API through the reasoning API [1].

If you want to use Pellet through DIG (not recommended because of the
many DIG limitations), then you would have to install it separately.

Pellet has support for SWRL rules, and some limited built-ins. However,
you would not be able to use with Pellet the built-in libraries that are
available in the SWRL built-in library.

Tania

[1]: http://protegewiki.stanford.edu/index.php/ProtegeReasonerAPI
[2]: http://protege.cim3.net/cgi-bin/wiki.pl?SWRLTab




Kormann, Joseph wrote:

> Tania,
>
> Thanks for helping to confirm my sanity. We are evaluating Pellet, due to cost restrictions of JESS. I'll look to load b540 on my system and see how it works. Are there any Pellet installation instructions needed that I should be aware of?
>
>  
>> -----Original Message-----
>> From: protege-owl-bounces@... [mailto:protege-owl-
>> bounces@...] On Behalf Of Tania Tudorache
>> Sent: Monday, July 28, 2008 4:12 PM
>> To: User support for the Protege-OWL editor
>> Subject: Re: [protege-owl] Running SWRL not in JESS
>>
>> Hi Joseph,
>>
>> I could reproduce the problem in Protege 3.4 b130.
>>
>> Protege 3.4 b540 loads the http://owldl.com/ontologies/dl-safe.owl fine
>> and shows the rules.
>>
>> The exceptions that you got are harmless. It means that there is no
>> jess.jar in the protege-owl directory, so it won't be able to execute
>> the rules using Jess.
>>
>> If you want to use Jess, see Installation section from here:
>>
>> http://protege.cim3.net/cgi-bin/wiki.pl?SWRLJessTab
>>
>> Tania
>>
>>
>> Kormann, Joseph wrote:
>>    
>>> Martin,
>>>
>>> I actually get the exception:
>>>
>>> SWRLJessBridge load failed: could not find jess.Rete - or an error
>>>      
>> occured on initialization
>>    
>>> SQWRLQueryTab load failed: could not find jess.Rete - or an error
>>>      
>> occured on initialization
>>    
>>> Protege Wizards v1.0 beta build 14
>>> Loaded OWL wizards library
>>>
>>>
>>>      
>>>> -----Original Message-----
>>>> From: protege-owl-bounces@... [mailto:protege-owl-
>>>> bounces@...] On Behalf Of Martin O'Connor
>>>> Sent: Friday, July 25, 2008 2:28 PM
>>>> To: User support for the Protege-OWL editor
>>>> Subject: Re: [protege-owl] Running SWRL not in JESS
>>>>
>>>> Are you using the latest release? Do you get an exception on loading?
>>>>
>>>> Martin
>>>>
>>>> Kormann, Joseph wrote:
>>>>
>>>>
>>>>        
>>>>> Martin,
>>>>>
>>>>> I'm trying to run one of the Pellet examples,
>>>>>
>>>>>          
>>>> http://owldl.com/ontologies/dl-safe.owl, however the rules aren't
>>>>        
>> showing
>>    
>>>> in Protégé. Any ideas?
>>>>
>>>>        
>>>>>          
>>>>>> -----Original Message-----
>>>>>> From: protege-owl-bounces@... [mailto:protege-owl-
>>>>>> bounces@...] On Behalf Of Martin O'Connor
>>>>>> Sent: Wednesday, July 09, 2008 2:18 PM
>>>>>> To: protege-owl@...
>>>>>> Subject: Re: [protege-owl] Running SWRL not in JESS
>>>>>>
>>>>>> If you do not use any custom SWRLTab built-ins you can use Pellet.
>>>>>>
>>>>>> BTW, this rule does not create new individals: it reclassifies
>>>>>> existing individuals.
>>>>>>
>>>>>> Martin
>>>>>>
>>>>>> Quoting "Kormann, Joseph" <joseph.kormann@...>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>> I have a series of SWRL statements that create new Individuals.
>>>>>>>
>>>>>>> SWRL1: ClassA(x)->ClassB(x)
>>>>>>>
>>>>>>> How can I execute this in SWRL without using JESS?
>>>>>>>
>>>>>>> Sorry if this is a duplicate.
>>>>>>>
>>>>>>> Thank you.
>>>>>>> _______________________________________________
>>>>>>> protege-owl mailing list
>>>>>>> protege-owl@...
>>>>>>> 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@...
>>>>>> 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@...
>>>>> 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@...
>>>> 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@...
>>> 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@...
>> 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@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Re: Running SWRL not in JESS

by Kormann, Joseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tania,

I loaded Protégé 3.4b504 and loaded the dl-safe.owl (attached). Maybe I'm missing something on how to execute to get the inferences. Example, when I select the 'dl-safe:Abel' Individual, the dl-safe:Father is marked is red.

In the 'SWRL' tab, I select the dl-safe:BadChildRule, right-mouse to 'Get Inferred Property Value' and it hangs while saying at the top, "Getting properties values for individual: Querying reasoner..." I can leave that alone for up to 30 mins without any change.

When loading dl-safe.owl, I get the error:
-processing GCI: null -- java.lang.NullPointerException at edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.process
GeneralizedConceptInclusions(Unknown Source)
At edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.doPostP
rocessing(Unknown Source)
at edu.stanford.smi.protegex.owl.jena.parser.TripleProcessor.doPostProce
ssing(Unknown Source)
at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.doFinalPos
tProcessing(Unknown Source)
at edu.stanford.smi.protegex.owl.model.util.ImportHelper.importOntologie
s(Unknown Source)
at edu.stanford.smi.protegex.owl.swrl.ui.tab.SWRLTab.activateSWRL(Unknow
n Source)
at edu.stanford.smi.protegex.owl.swrl.ui.tab.SWRLTab.initialize(Unknown
Source)
at edu.stanford.smi.protege.widget.WidgetUtilities.createTabWidget(Unkno
wn Source)
at edu.stanford.smi.protege.ui.ProjectView.addTab(Unknown Source)
at edu.stanford.smi.protege.ui.ProjectView.createTabbedPane(Unknown Sour
ce)
at edu.stanford.smi.protege.ui.ProjectView.<init>(Unknown Source)
at edu.stanford.smi.protege.ui.ProjectManager.displayCurrentProject(Unkn
own Source)
at edu.stanford.smi.protege.ui.ProjectManager.displayCurrentProject(Unkn
own Source)
at edu.stanford.smi.protege.ui.ProjectManager.openProjectRequest(Unknown
 Source)
at edu.stanford.smi.protege.ui.WelcomeDialog.openOtherButton_actionPerfo
rmed(Unknown Source)
at edu.stanford.smi.protege.ui.WelcomeDialog$3.actionPerformed(Unknown S
ource)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
31)

> -----Original Message-----
> From: protege-owl-bounces@... [mailto:protege-owl-
> bounces@...] On Behalf Of Tania Tudorache
> Sent: Monday, July 28, 2008 7:09 PM
> To: User support for the Protege-OWL editor
> Subject: Re: [protege-owl] Running SWRL not in JESS
>
> You don't need to install Pellet separately. It comes bundled with the
> protege full installation and it is accessible through the reasoning
> menu -> Pellet, or through the API through the reasoning API [1].
>
> If you want to use Pellet through DIG (not recommended because of the
> many DIG limitations), then you would have to install it separately.
>
> Pellet has support for SWRL rules, and some limited built-ins. However,
> you would not be able to use with Pellet the built-in libraries that are
> available in the SWRL built-in library.
>
> Tania
>
> [1]: http://protegewiki.stanford.edu/index.php/ProtegeReasonerAPI
> [2]: http://protege.cim3.net/cgi-bin/wiki.pl?SWRLTab
>
>
>
>
> Kormann, Joseph wrote:
> > Tania,
> >
> > Thanks for helping to confirm my sanity. We are evaluating Pellet, due
> to cost restrictions of JESS. I'll look to load b540 on my system and see
> how it works. Are there any Pellet installation instructions needed that I
> should be aware of?
> >
> >
> >> -----Original Message-----
> >> From: protege-owl-bounces@... [mailto:protege-owl-
> >> bounces@...] On Behalf Of Tania Tudorache
> >> Sent: Monday, July 28, 2008 4:12 PM
> >> To: User support for the Protege-OWL editor
> >> Subject: Re: [protege-owl] Running SWRL not in JESS
> >>
> >> Hi Joseph,
> >>
> >> I could reproduce the problem in Protege 3.4 b130.
> >>
> >> Protege 3.4 b540 loads the http://owldl.com/ontologies/dl-safe.owl fine
> >> and shows the rules.
> >>
> >> The exceptions that you got are harmless. It means that there is no
> >> jess.jar in the protege-owl directory, so it won't be able to execute
> >> the rules using Jess.
> >>
> >> If you want to use Jess, see Installation section from here:
> >>
> >> http://protege.cim3.net/cgi-bin/wiki.pl?SWRLJessTab
> >>
> >> Tania
> >>
> >>
> >> Kormann, Joseph wrote:
> >>
> >>> Martin,
> >>>
> >>> I actually get the exception:
> >>>
> >>> SWRLJessBridge load failed: could not find jess.Rete - or an error
> >>>
> >> occured on initialization
> >>
> >>> SQWRLQueryTab load failed: could not find jess.Rete - or an error
> >>>
> >> occured on initialization
> >>
> >>> Protege Wizards v1.0 beta build 14
> >>> Loaded OWL wizards library
> >>>
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: protege-owl-bounces@... [mailto:protege-owl-
> >>>> bounces@...] On Behalf Of Martin O'Connor
> >>>> Sent: Friday, July 25, 2008 2:28 PM
> >>>> To: User support for the Protege-OWL editor
> >>>> Subject: Re: [protege-owl] Running SWRL not in JESS
> >>>>
> >>>> Are you using the latest release? Do you get an exception on loading?
> >>>>
> >>>> Martin
> >>>>
> >>>> Kormann, Joseph wrote:
> >>>>
> >>>>
> >>>>
> >>>>> Martin,
> >>>>>
> >>>>> I'm trying to run one of the Pellet examples,
> >>>>>
> >>>>>
> >>>> http://owldl.com/ontologies/dl-safe.owl, however the rules aren't
> >>>>
> >> showing
> >>
> >>>> in Protégé. Any ideas?
> >>>>
> >>>>
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: protege-owl-bounces@... [mailto:protege-owl-
> >>>>>> bounces@...] On Behalf Of Martin O'Connor
> >>>>>> Sent: Wednesday, July 09, 2008 2:18 PM
> >>>>>> To: protege-owl@...
> >>>>>> Subject: Re: [protege-owl] Running SWRL not in JESS
> >>>>>>
> >>>>>> If you do not use any custom SWRLTab built-ins you can use Pellet.
> >>>>>>
> >>>>>> BTW, this rule does not create new individals: it reclassifies
> >>>>>> existing individuals.
> >>>>>>
> >>>>>> Martin
> >>>>>>
> >>>>>> Quoting "Kormann, Joseph" <joseph.kormann@...>:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> I have a series of SWRL statements that create new Individuals.
> >>>>>>>
> >>>>>>> SWRL1: ClassA(x)->ClassB(x)
> >>>>>>>
> >>>>>>> How can I execute this in SWRL without using JESS?
> >>>>>>>
> >>>>>>> Sorry if this is a duplicate.
> >>>>>>>
> >>>>>>> Thank you.
> >>>>>>> _______________________________________________
> >>>>>>> protege-owl mailing list
> >>>>>>> protege-owl@...
> >>>>>>> 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@...
> >>>>>> 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@...
> >>>>> 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@...
> >>>> 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@...
> >>> 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@...
> >> 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@...
> > 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@...
> 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@...
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

dl-safe.owl (8K) Download Attachment