Re: SPARQL with UNION returning TDBTransactionException

2017-02-28 Thread aj...@virginia.edu
Try using a service like Github Gist. Is it possible that only one of the legs of the query has results in it? Have you confirmed that _neither_ of the legs executed separately shows the problem? ajs6f > On Feb 28, 2017, at 4:51 AM, Andy Seaborne wrote: > > What people on the list receive is

Re: paging the query results

2015-09-16 Thread aj...@virginia.edu
; startOffset/rowsCount slice, you can add OFFSET & LIMIT to the query then the > query engine/server can do it, resulting in less bytes. > > If you want the client to control it, the streams way is good. > > Andy > > On 16/09/15 16:27, aj...@virginia.edu wrote: &

Re: paging the query results

2015-09-16 Thread aj...@virginia.edu
One option: Jena is now using Java 8, so you can use the Streams API to do this: https://stackoverflow.com/questions/29273705/how-to-paginate-a-list-of-objects-in-java-8 ResultSet is an Iterator, so you can convert it to a Stream. --- A. Soroka The University of Virginia Library > On Sep 16, 20

Re: Word on CommonsRDF

2015-08-26 Thread aj...@virginia.edu
There was a little discussion about this on the dev- list: http://markmail.org/search/?q=jena+commons+rdf#query:jena%20commons%20rdf%20list%3Aorg.apache.incubator.jena-dev+page:1+mid:jjljtijtw36f3jf3+state:results but beyond some interest from a few people (Andy Seaborne and Stian Soiland-Reyes

Re: Upgrading from Fuseki 2.0 to 2.3

2015-08-24 Thread aj...@virginia.edu
Fuseki (and the rest of Jena) now requires Java 8. That's the problem you have here. --- A. Soroka The University of Virginia Library On Aug 24, 2015, at 1:25 PM, Colin Maudry wrote: > Hello, > > I've been using Fuseki 2.0 for months on Ubuntu 14.04, and realized a > v2.3 was out. > > 1. I d

Re: Apache Maven

2015-08-24 Thread aj...@virginia.edu
gt; between Jena as a framework and actual development with Jena? > > > On Mon, Aug 24, 2015 at 4:21 PM, aj...@virginia.edu > wrote: > >> Apache Maven is the build management system used by Jena. You will find >> info here: >> >> https://maven.apache.org/ >

Re: Apache Maven

2015-08-24 Thread aj...@virginia.edu
Apache Maven is the build management system used by Jena. You will find info here: https://maven.apache.org/ If you are just using Jena as a framework or toolkit you will probably not need Maven. If you intend to do actual development work on Jena, you will need to become familiar with Maven.

Re: What is the error in code

2015-08-20 Thread aj...@virginia.edu
This may or may not be the entire problem, but in the line: > String querystring="PREFIX ss: "WHERE {" + "?x ss:hasson ss:zia" + "}"; you opened the angle-brackets around your namespace without closing them. --- A. Soroka The University of Virginia

Re: EmbeddedFusekiServer in Fuseki 2

2015-08-19 Thread aj...@virginia.edu
I don't know what you need an embedded server for, but if, by chance, it was for use supporting SPARQL endpoints in integration tests and you are using Maven, you can take a look here https://github.com/ocymum/trippi-sparql-update/blob/master/pom.xml for an example of some Maven-fu that uses th

Re: Fuseki over HTTPS?

2015-08-18 Thread aj...@virginia.edu
Are you deploying Fuseki to your own servlet container (e.g. Tomcat or Jetty) or using the server included with Fuseki and is it Fuskei 1 or 2? If the former, you will need to supply configuration specific to that container. If the latter and it is Fuseki 1, there is a Stack Overflow answer for

Re: Can I save an in-memory Jena Model to a remote Fuseki-managed database?

2015-08-17 Thread aj...@virginia.edu
There may be a better answer for this, but at the very least, you can serialize your triples/quads and use SPARQL Update to send them to your Fuseki instance. --- A. Soroka The University of Virginia Library On Aug 17, 2015, at 3:08 PM, Andy Doddington wrote: > > On 17 Aug 2015, at 19:50, An

Re: Support for a Graph.getName()?

2015-08-05 Thread aj...@virginia.edu
Since this is essentially about debugging, would it suffice to require Graph implementations to provide something in toString() to uniquely identify themselves, or do you really require user-settable or -accessible labels? --- A. Soroka The University of Virginia Library On Aug 5, 2015, at 8:35

Re: Convert .ttl turtle format file into .rdf file

2015-08-05 Thread aj...@virginia.edu
; > java.lang.OutOfMemoryError: GC overhead limit exceeded" error message. Is > there a way I can increase the heap size allocated to the JVM with a command > line option? > > > > > Best, > > Marko > > > From: aj...@virginia.edu > To: users

Re: Convert .ttl turtle format file into .rdf file

2015-08-05 Thread aj...@virginia.edu
You can use the utility 'riot' for this: https://jena.apache.org/documentation/io/#command-line-tools --- A. Soroka The University of Virginia Library On Aug 5, 2015, at 8:28 AM, Marko Pance wrote: > Hi... > > I have a .ttl file and I would like to use jena to convert it to an rdf file. > C

Re: Uploading file in fuseki

2015-07-24 Thread aj...@virginia.edu
For the first case, you should be able to HTTP PUT your file directly to the appropriate URL, e.g. http://remoteserver.com:3030/ds/data. You could also go to http://remoteserver.com:3030 and use the forms made available there. --- A. Soroka The University of Virginia Library On Jul 24, 2015,