AW: Case study for Jena Text: Thesaurus-augmented search

2013-08-12 Thread Neubert Joachim
Hi Andy, Thank you very much for your suggestions, that makes it a lot more elegant (and with the BIND variable consistently some milliseconds faster). I've added the code as a comment in order to make it useful for others who stop by. Cheers, Joachim -Ursprüngliche Nachricht- Von:

Reading RDF/XML file with jena beguineer

2013-08-12 Thread Samir Hamitouche
Hello, i write a small java program to read an XML/RDF file in my desktop in eclipse using the jena library this is the program: import com.hp.hpl.jena.rdf.model.ModelFactory; import com.hp.hpl.jena.rdf.model.Model; import java.io.PrintWriter; import java.util.Iterator; public class web1 {

Public Fuseki snapshot instance?

2013-08-12 Thread Neubert Joachim
Hi, Is there a public Fuseki instance with the latest snapshot code and a well-known read-only dataset available? I ask because I wanted to reproduce a suspected issue against the latest code - and lazily try to avoid setting up another installation for just this ... Cheers, Joachim

Reading RDF/XML file with jena beguineer

2013-08-12 Thread Samir Hamitouche
Hello, i write a small java program to read an XML/RDF file in my desktop using the IDE eclipse the jena library this is the program: import com.hp.hpl.jena.rdf.model.ModelFactory; import com.hp.hpl.jena.rdf.model.Model; import java.io.PrintWriter; import java.util.Iterator; public class

RE: Reading RDF/XML file with jena beguineer

2013-08-12 Thread David Jordan
Samir, Andy already answered your question. Do you have a CLASSPATH set up that includes all the jars necessary for Jena? You may be using Eclipse, but you still need to set up the jar files to be included with the build. I am guessing you are new to Java and Eclipse? -Original

Re: Typed Literal Compliance/String Literal Escape Characters

2013-08-12 Thread Joshua TAYLOR
On Mon, Aug 12, 2013 at 11:19 AM, Iain Ritchie iainritc...@gmail.com wrote: Thanks a lot - Point noted on the incorrect time zone format. Regarding the latitude/longitude, my mistake and I suppose float would be the most appropriate: INSERT DATA { http://someURI http://someURI/Latitude

Re: Re: Typed Literal Compliance/String Literal Escape Characters

2013-08-12 Thread Chris Dollin
On Monday, August 12, 2013 04:19:24 PM Iain Ritchie wrote: Regarding the parse error with the quotations: - Replacement with single ' worked fine. - Replacement with \ allows the insert to occur but the \ is then contained in the literal that is inserted: Are you sure -- it's not just

Multiple derivations for backward chaining?

2013-08-12 Thread Niranjan Balasubramanian
Hello all, I am a new user. I need to generate all possible derivations for a statement inferred via backward chaining. Based on what I understand from the documentation and a small test case I wrote, it appears that Jena outputs only one derivation (and possibly stops inference as soon as

Re: Multiple derivations for backward chaining?

2013-08-12 Thread Dave Reynolds
On 12/08/13 17:47, Niranjan Balasubramanian wrote: Hello all, I am a new user. I need to generate all possible derivations for a statement inferred via backward chaining. Based on what I understand from the documentation and a small test case I wrote, it appears that Jena outputs only one

Re: Multiple derivations for backward chaining?

2013-08-12 Thread Niranjan Balasubramanian
Dave Thanks. Yes, getting at *all* possible derivations is bound to be problematic. How about finding K traces through the derivation graph? Is there any way to force the backward-chaining procedure to run until the answer is found K times (via different paths) or until the search space is

Re: Multiple derivations for backward chaining?

2013-08-12 Thread Dave Reynolds
Hi Niranjan, Sorry no. You might want to take a look at prolog/xsb based engines like flora-2. I don't know what they support in the way of derivation tracing but at least with a full prolog engine you could have a wrapper that induces a fail to retry the goals. Dave On 12/08/13 20:23,

Re: Multiple derivations for backward chaining?

2013-08-12 Thread Joshua TAYLOR
On Mon, Aug 12, 2013 at 3:23 PM, Niranjan Balasubramanian niran...@cs.washington.edu wrote: Yes, getting at *all* possible derivations is bound to be problematic. How about finding K traces through the derivation graph? Is there any way to force the backward-chaining procedure to run until

Re: Multiple derivations for backward chaining?

2013-08-12 Thread Joshua TAYLOR
On Mon, Aug 12, 2013 at 4:11 PM, Joshua TAYLOR joshuaaa...@gmail.com wrote: On Mon, Aug 12, 2013 at 3:23 PM, Niranjan Balasubramanian niran...@cs.washington.edu wrote: Yes, getting at *all* possible derivations is bound to be problematic. How about finding K traces through the derivation

Re: Multiple derivations for backward chaining?

2013-08-12 Thread Joshua TAYLOR
On Mon, Aug 12, 2013 at 4:19 PM, Joshua TAYLOR joshuaaa...@gmail.com wrote: On Mon, Aug 12, 2013 at 4:11 PM, Joshua TAYLOR joshuaaa...@gmail.com wrote: On Mon, Aug 12, 2013 at 3:23 PM, Niranjan Balasubramanian niran...@cs.washington.edu wrote: Yes, getting at *all* possible derivations is

Re: Public Fuseki snapshot instance?

2013-08-12 Thread Andy Seaborne
On 12/08/13 12:44, Neubert Joachim wrote: Hi, Is there a public Fuseki instance with the latest snapshot code and a well-known read-only dataset available? I ask because I wanted to reproduce a suspected issue against the latest code - and lazily try to avoid setting up another installation