[tbc-users] Re: SparqlMotion, SWRL Rules, and Jena Inferencing Problem

2009-04-06 Thread Holger Knublauch
Hi Kevin, I have located a bug in the SPARQLMotion module to run SWRL rules. This will be fixed in the next 3.0.0 release (which we are working on right now). Please note that you will still need to also import the system triples as they are expected by the SWRL processor. Having said this

[tbc-users] Re: SparqlMotion, SWRL Rules, and Jena Inferencing Problem

2009-04-02 Thread Scott Henninger
What are some examples for your rules? -- Scott On Apr 2, 1:56 pm, Kevin Matthews wrote: > I have added a ImportSystemTriples module and the errors continue. > > I first chained the modules together: > > Import My Owl -> Import System Triples -> Apply Rules > This threw no error, but the tripl

[tbc-users] Re: SparqlMotion, SWRL Rules, and Jena Inferencing Problem

2009-04-02 Thread Kevin Matthews
I have added a ImportSystemTriples module and the errors continue. I first chained the modules together: Import My Owl -> Import System Triples -> Apply Rules This threw no error, but the triples from my owl file were overwritten by the system triples and did not appear in the output. Then Imp

[tbc-users] Re: SparqlMotion, SWRL Rules, and Jena Inferencing Problem

2009-04-02 Thread Holger Knublauch
The difference is most likely that sml:ImportRDFFromWorkspace does not include the system triples into the graph - only the imports. Then some code in the SWRL parser currently fails. As a work-around (which I did not confirm yet) please try adding sml:ImportSystemTriples as well, so that

[tbc-users] Re: SparqlMotion, SWRL Rules, and Jena Inferencing Problem

2009-04-02 Thread Kevin Matthews
OK, I simplified the SparqlMotion script so it includes an ImportFromRDF module and an ApplyJenaRules module. When I run it the first time after opening the SparqlMotion script, it executes successfully but still does not include any inferred triples in the results. When I look at the Error log,

[tbc-users] Re: SparqlMotion, SWRL Rules, and Jena Inferencing Problem

2009-04-02 Thread Holger Knublauch
Hi Kevin, it should work if you just use sml:ApplyJenaRules - this includes Jena rules and SWRL rules. The sml:ApplyJenaInferencing is for the built-in Jena inference configurations such as OWL and RDFS. Note that even after you run this script, it will - by default - not affect the curren