Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-08 Thread Carlo Allocca
Hello Barry, 

Yes, that's what i did. 

Please, allow to ask another question:

I am using OWLIM through Sesame WorkBench as it will provide me a good start 
point for a demo that i am preparing. However, I am figuring out whether I can 
use OWLIM to make my solution more dynamic. I come to the point:

Step One:
I create with protege an ontology O which contains the following set of triples:




and I modified a file "Rules_builtin.pie" that contains the rule:

Id: TLO_EquivPropByFLODSubProp
 x    y   
 y    x   
    ---
 x    y

what I did was I create an OWLIM repository (Id=owlim) using Sesame WorkBench 
and before using it modifies the configuration (in particular the "ruleset") as 
described here 
http://owlim.ontotext.com/display/OWLIMv53/OWLIM+FAQ#OWLIMFAQ-HowdoIchangetheconfigurationofanOWLIMSesamerepositoryafterithasbeencreated%3F

then I add O. By doing it I can ask give me the instances of "TLO_EquivalentTo" 
and it correctly answer me. 


Step Two: 

Using protege again, I modified the ontology O as in the following:









and I modified the file "Rules_builtin.pie"  as below  and i called it 
"Rules_builtinNew.pie"

Id: TLO_EquivPropByFLODSubProp
 x    y   
 y    x   
    ---
 x    y


Id: TLO_EquivPropTransitivity
 x    y   
 y    z   
    ---
 x    z

What I did here was:

1) changed the configuration (in particular the "ruleset") as described here 
http://owlim.ontotext.com/display/OWLIMv53/OWLIM+FAQ#OWLIMFAQ-HowdoIchangetheconfigurationofanOWLIMSesamerepositoryafterithasbeencreated%3F
putting the obsolete path of the file Rules_builtinNew.pie. I can see it when I 
query SYSTEM. 

2) Added the modified ontology O. 

By doing so when I ask give me the instances of "TLO_EquivalentTo", it is like 
the rule  Id: TLO_EquivPropTransitivity has not been applied (i.e i don't get 
the triple   ). 


My questions are:

1) am I doing anything wrong or missing anything?

2) Once created and added owl files to an OWLIM repository configured using 
"Rules_builtin.pie" and later I need to change it (as Rules_builtinNew.pie) by 
adding/removing rules: Is  there any way (except to create a new repository 
from scratch ) to make the materialisation of the created owlim repository 
updated with the Rules_builtinNew.pie?


Thank you for your help and support. 
Best Regards, 

Carlo







--- Gio 7/3/13, Barry Norton  ha scritto:

Da: Barry Norton 
Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 18:58

Yeah, I got caught out by 'doing things properly'. If you've not added any data 
you won't do any harm by changing the ruleset post-creation (I guess as long as 
you restart to compile the new ruleset then add data)

B

----- Reply message -
From: "Carlo Allocca" 
To: "Barry Norton" 
Cc: 
Subject: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
Date: Thu, Mar 7, 2013 5:10 PM


Hello Barry, 

while you wrote me I was doing what you suggested in the previous email and I 
did it. It is working fine doing it using Sesame workbench. 

One more, following the link 
http://owlim.ontotext.com/display/OWLIMv53/OWLIM+FAQ#OWLIMFAQ-HowdoIchangetheconfigurationofanOWLIMSesamerepositoryafterithasbeencreated%3F
as you suggester earlier, it is written explicitly that "...but there are other 
parameters that can not be changed once the 
repository is created, e.g. the rule-set (in the case of OWLIM-SE)."

I read it after i run the query, but it is working!!!. 

Many Thanks, 
Regards, 
Carlo


--- Gio 7/3/13, Barry Norton  ha scritto:

Da: Barry Norton 
Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 16:25


  

    
  
  
    

      Sorry, no, not with the Sesame Workbench.

      

      The OWLIM Workbench has a field where you can fill this in, but
      that's also a change in way of doing things...

      

      Barry

      

      

      On 07/03/2013 14:14, Carlo Allocca wrote:

    
    
      
        
          
            Hi Barry, 
              

              
              thank you for your reply. As I have to prepare a demo
                very soon (less than one week time), the only parameter
                i need is ruleset as i need to use customized rules. 
              Any suggestion using sesame workbench?
              

              
              Carlo
              

                --- Gio 7/3/13, Barry Norton 
                ha scritto:

             

Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Barry Norton
Yeah, I got caught out by 'doing things properly'. If you've not added any data 
you won't do any harm by changing the ruleset post-creation (I guess as long as 
you restart to compile the new ruleset then add data)

B

- Reply message -
From: "Carlo Allocca" 
To: "Barry Norton" 
Cc: 
Subject: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
Date: Thu, Mar 7, 2013 5:10 PM


Hello Barry, 

while you wrote me I was doing what you suggested in the previous email and I 
did it. It is working fine doing it using Sesame workbench. 

One more, following the link 
http://owlim.ontotext.com/display/OWLIMv53/OWLIM+FAQ#OWLIMFAQ-HowdoIchangetheconfigurationofanOWLIMSesamerepositoryafterithasbeencreated%3F
as you suggester earlier, it is written explicitly that "...but there are other 
parameters that can not be changed once the 
repository is created, e.g. the rule-set (in the case of OWLIM-SE)."

I read it after i run the query, but it is working!!!. 

Many Thanks, 
Regards, 
Carlo


--- Gio 7/3/13, Barry Norton  ha scritto:

Da: Barry Norton 
Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 16:25


  


  
  


  Sorry, no, not with the Sesame Workbench.

  

  The OWLIM Workbench has a field where you can fill this in, but
  that's also a change in way of doing things...

  

  Barry

  

  

  On 07/03/2013 14:14, Carlo Allocca wrote:



  

  
Hi Barry, 
  

  
  thank you for your reply. As I have to prepare a demo
very soon (less than one week time), the only parameter
i need is ruleset as i need to use customized rules. 
  Any suggestion using sesame workbench?
  

  
  Carlo
  

--- Gio 7/3/13, Barry Norton 
ha scritto:



  Da: Barry Norton 

  Oggetto: Re: [Owlim-discussion] setting Ruleset owlim
  repository using sesame workbench

  A: "Carlo Allocca" 

  Cc: owlim-discussion@ontotext.com

  Data: Giovedì 7 marzo 2013, 14:39

  

  

  

Carlo, I'd personally avoid using the Workbench
if you've significant parameters to set.



In the getting-started/ folder of the
distribution you'll find a set of parameters in
owlim.ttl, which you can copy and edit. One can
either instantiate a repository these with using
GettingStarted.jar (which will also help you
load ontologies and data), or can push it
directly to your live Sesame endpoint over its
HTTP interface with curl (my preference).



Barry







On 07/03/2013 13:33, Carlo Allocca wrote:

  
  

  

  Dear
All, 



it is again me. I would like to ask
  the following:



I creating a new OWLIM-SE
  repository with sesame workbench and
  my question is:



How Can I set "RulesSet"  with
  myfile.pie ?



I have done it using OWLIM as java
  library, but how to do it using sesame
  workbench?



Thank you very much for your help. 



Regards, 
Carlo
  

  





Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Carlo Allocca
Hello Barry, 

while you wrote me I was doing what you suggested in the previous email and I 
did it. It is working fine doing it using Sesame workbench. 

One more, following the link 
http://owlim.ontotext.com/display/OWLIMv53/OWLIM+FAQ#OWLIMFAQ-HowdoIchangetheconfigurationofanOWLIMSesamerepositoryafterithasbeencreated%3F
as you suggester earlier, it is written explicitly that "...but there are other 
parameters that can not be changed once the 
repository is created, e.g. the rule-set (in the case of OWLIM-SE)."

I read it after i run the query, but it is working!!!. 

Many Thanks, 
Regards, 
Carlo


--- Gio 7/3/13, Barry Norton  ha scritto:

Da: Barry Norton 
Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 16:25


  


  
  


  Sorry, no, not with the Sesame Workbench.

  

  The OWLIM Workbench has a field where you can fill this in, but
  that's also a change in way of doing things...

  

  Barry

  

  

  On 07/03/2013 14:14, Carlo Allocca wrote:



  

  
Hi Barry, 
  

  
  thank you for your reply. As I have to prepare a demo
very soon (less than one week time), the only parameter
i need is ruleset as i need to use customized rules. 
  Any suggestion using sesame workbench?
  

  
  Carlo
  

--- Gio 7/3/13, Barry Norton 
ha scritto:



  Da: Barry Norton 

      Oggetto: Re: [Owlim-discussion] setting Ruleset owlim
          repository using sesame workbench

  A: "Carlo Allocca" 

  Cc: owlim-discussion@ontotext.com

  Data: Giovedì 7 marzo 2013, 14:39

  

  

  

Carlo, I'd personally avoid using the Workbench
if you've significant parameters to set.



In the getting-started/ folder of the
distribution you'll find a set of parameters in
owlim.ttl, which you can copy and edit. One can
either instantiate a repository these with using
GettingStarted.jar (which will also help you
load ontologies and data), or can push it
directly to your live Sesame endpoint over its
HTTP interface with curl (my preference).



Barry







On 07/03/2013 13:33, Carlo Allocca wrote:

  
  

  

  Dear
All, 



it is again me. I would like to ask
  the following:



I creating a new OWLIM-SE
  repository with sesame workbench and
  my question is:



How Can I set "RulesSet"  with
  myfile.pie ?



I have done it using OWLIM as java
  library, but how to do it using sesame
  workbench?



Thank you very much for your help. 



Regards, 
Carlo
  

  






___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion

  
  


  

  

  

  



  

___
Owli

Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Barry Norton


Sorry, no, not with the Sesame Workbench.

The OWLIM Workbench has a field where you can fill this in, but that's 
also a change in way of doing things...


Barry


On 07/03/2013 14:14, Carlo Allocca wrote:

Hi Barry,

thank you for your reply. As I have to prepare a demo very soon (less 
than one week time), the only parameter i need is ruleset as i need to 
use customized rules.

Any suggestion using sesame workbench?

Carlo

--- *Gio 7/3/13, Barry Norton //* ha scritto:


Da: Barry Norton 
Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository
using sesame workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 14:39


Carlo, I'd personally avoid using the Workbench if you've
significant parameters to set.

In the getting-started/ folder of the distribution you'll find a
set of parameters in owlim.ttl, which you can copy and edit. One
can either instantiate a repository these with using
GettingStarted.jar (which will also help you load ontologies and
data), or can push it directly to your live Sesame endpoint over
its HTTP interface with curl (my preference).

Barry



On 07/03/2013 13:33, Carlo Allocca wrote:

Dear All,

it is again me. I would like to ask the following:

I creating a new OWLIM-SE repository with sesame workbench and my
question is:

How Can I set "RulesSet"  with myfile.pie ?

I have done it using OWLIM as java library, but how to do it
using sesame workbench?

Thank you very much for your help.

Regards,
Carlo



___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com  

http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion




___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Barry Bishop

Hello Carlo,

Due to the nature of the Workbench, it is difficult to set this up to 
allow a full path to be entered.


I recommend creating a new repository with any rule-set, e.g. 'empty', 
then before you access it for the first time, change the rule-set 
parameter as described here:


http://owlim.ontotext.com/display/OWLIMv53/OWLIM+FAQ#OWLIMFAQ-HowdoIchangetheconfigurationofanOWLIMSesamerepositoryafterithasbeencreated%3F

Make sure you don't change it after it has been initialised as this will 
cause some consisteny problems later.


I hope this helps,
barry

Barry Bishop
OWLIM Product Manager
Ontotext AD
Tel: +43 650 2000 237
email: barry.bis...@ontotext.com
skype: bazbishop
www.ontotext.com

On 03/07/2013 03:14 PM, Carlo Allocca wrote:

Hi Barry,

thank you for your reply. As I have to prepare a demo very soon (less 
than one week time), the only parameter i need is ruleset as i need to 
use customized rules.

Any suggestion using sesame workbench?

Carlo

--- *Gio 7/3/13, Barry Norton //* ha scritto:


Da: Barry Norton 
    Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository
    using sesame workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 14:39


Carlo, I'd personally avoid using the Workbench if you've
significant parameters to set.

In the getting-started/ folder of the distribution you'll find a
set of parameters in owlim.ttl, which you can copy and edit. One
can either instantiate a repository these with using
GettingStarted.jar (which will also help you load ontologies and
data), or can push it directly to your live Sesame endpoint over
its HTTP interface with curl (my preference).

Barry



On 07/03/2013 13:33, Carlo Allocca wrote:

Dear All,

it is again me. I would like to ask the following:

I creating a new OWLIM-SE repository with sesame workbench and my
question is:

How Can I set "RulesSet"  with myfile.pie ?

I have done it using OWLIM as java library, but how to do it
using sesame workbench?

Thank you very much for your help.

Regards,
Carlo



___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com  

http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion




___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Carlo Allocca
Hi Barry, 
thank you for your reply. As I have to prepare a demo very soon (less than one 
week time), the only parameter i need is ruleset as i need to use customized 
rules. Any suggestion using sesame workbench?
Carlo
--- Gio 7/3/13, Barry Norton  ha scritto:

Da: Barry Norton 
Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 14:39


  


  
  


  Carlo, I'd personally avoid using the Workbench if you've
  significant parameters to set.

  

  In the getting-started/ folder of the distribution you'll find a
  set of parameters in owlim.ttl, which you can copy and edit. One
  can either instantiate a repository these with using
  GettingStarted.jar (which will also help you load ontologies and
  data), or can push it directly to your live Sesame endpoint over
  its HTTP interface with curl (my preference).

  

  Barry

  

  

  

  On 07/03/2013 13:33, Carlo Allocca wrote:



  

  
Dear All, 
  

  
  it is again me. I would like to ask the following:
  

  
  I creating a new OWLIM-SE repository with sesame
workbench and my question is:
  

  
  How Can I set "RulesSet"  with myfile.pie ?
  

  
  I have done it using OWLIM as java library, but how
to do it using sesame workbench?
  

  
  Thank you very much for your help. 
  

  
  Regards, 
  Carlo

  

  
  

  
  

  ___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion




  

___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Carlo Allocca
Hi Damyan, 
Thank you for your support. 

You said:
"the easiest and less ambiguous way to specify your custom ruleset is to use 
its absolute pathname as value of the 'ruleset' parameter."Yes, i see, but how 
Can I specify the absolute path?I have seen that using OWLIM workbench there is 
on option "Load file" or something like thisis there any equivalent way 
using Sesame workBench?

Thank you for you support.
Carlo

--- Gio 7/3/13, damyan  ha scritto:

Da: damyan 
Oggetto: Re: [Owlim-discussion] setting Ruleset owlim repository using sesame 
workbench
A: "Carlo Allocca" 
Cc: owlim-discussion@ontotext.com
Data: Giovedì 7 marzo 2013, 14:36


  


  
  
Hi Carlo,

  the easiest and less ambiguous way to specify your custom ruleset
  is to use its absolute pathname as value of the 'ruleset'
  parameter. 

  Make sure that the user under which your web app server runs have
  sufficient rights to access it.

  

  HTH,

  

  Damyan Ognyanov

  Ontotext AD 

  

  On 3/7/2013 3:33 PM, Carlo Allocca wrote:



  

  
Dear All, 
  

  
  it is again me. I would like to ask the following:
  

  
  I creating a new OWLIM-SE repository with sesame
workbench and my question is:
  

  
  How Can I set "RulesSet"  with myfile.pie ?
  

  
  I have done it using OWLIM as java library, but how
to do it using sesame workbench?
  

  
  Thank you very much for your help. 
  

  
  Regards, 
  Carlo

  

  
  

  
  

  ___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion




  

___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread damyan

Hi Carlo,
the easiest and less ambiguous way to specify your custom ruleset is to 
use its absolute pathname as value of the 'ruleset' parameter.
Make sure that the user under which your web app server runs have 
sufficient rights to access it.


HTH,

Damyan Ognyanov
Ontotext AD

On 3/7/2013 3:33 PM, Carlo Allocca wrote:

Dear All,

it is again me. I would like to ask the following:

I creating a new OWLIM-SE repository with sesame workbench and my 
question is:


How Can I set "RulesSet"  with myfile.pie ?

I have done it using OWLIM as java library, but how to do it using 
sesame workbench?


Thank you very much for your help.

Regards,
Carlo



___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Barry Norton


Carlo, I'd personally avoid using the Workbench if you've significant 
parameters to set.


In the getting-started/ folder of the distribution you'll find a set of 
parameters in owlim.ttl, which you can copy and edit. One can either 
instantiate a repository these with using GettingStarted.jar (which will 
also help you load ontologies and data), or can push it directly to your 
live Sesame endpoint over its HTTP interface with curl (my preference).


Barry



On 07/03/2013 13:33, Carlo Allocca wrote:

Dear All,

it is again me. I would like to ask the following:

I creating a new OWLIM-SE repository with sesame workbench and my 
question is:


How Can I set "RulesSet"  with myfile.pie ?

I have done it using OWLIM as java library, but how to do it using 
sesame workbench?


Thank you very much for your help.

Regards,
Carlo



___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


[Owlim-discussion] setting Ruleset owlim repository using sesame workbench

2013-03-07 Thread Carlo Allocca
Dear All, 
it is again me. I would like to ask the following:
I creating a new OWLIM-SE repository with sesame workbench and my question is:
How Can I set "RulesSet"  with myfile.pie ?
I have done it using OWLIM as java library, but how to do it using sesame 
workbench?
Thank you very much for your help. 
Regards, Carlo___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion