Re: Fwd: The Better Looking Output After the SPARQL Query in Java Code

2013-08-21 Thread Darius Miliauskas
Dear All, thanks everybody for the replies. Thanks, Chris, it is a good piece of advice! Thanks, Joshua, again, yes, that's I wanted to do. I have read the specifications but they are not so easy understandable because when I try something it does not work as it is supposed to work that's the

Re: Fwd: The Better Looking Output After the SPARQL Query in Java Code

2013-08-21 Thread Joshua TAYLOR
On Wed, Aug 21, 2013 at 5:55 AM, Darius Miliauskas dariui.miliaus...@gmail.com wrote: FILTER controls which solutions are included in the final result as you said but why does not it work with the logical AND (), only with logical OR (||)? None of the examples in this thread have mentioned

Fwd: The Better Looking Output After the SPARQL Query in Java Code

2013-08-20 Thread Darius Miliauskas
Subject: The Better Looking Output After the SPARQL Query in Java Code To: users@jena.apache.org Dear Sir or Madam, I am using the SPARQL query in Java (actually, NetBeans). The query works fine, however, the results are outputted not in the nice form. The example of my code (Java) is the

Re: Fwd: The Better Looking Output After the SPARQL Query in Java Code

2013-08-20 Thread Chris Dollin
On Tuesday, August 20, 2013 06:01:43 PM Darius Miliauskas wrote: The example of my code (Java) is the following: String queryString2 =PREFIX base: http://www.semanticweb.org/darius/ontologies/2013/6/rooms# + PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# Aside: