Re: Problems using Jena-OSGi

2016-03-15 Thread Jaroslav Pullmann
Hello Andy, > The error in tests 2 and 3 looks like it is because Jena initialization > has not happened. > The default is to use ServiceLoader which looks for META-INF/services/ > org.apache.jena.system.JenaSubsystemLifecycle Apparently there was an effort to fix this in the combined

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Andy Seaborne
On 15/03/16 14:12, A. Soroka wrote: I guess you could use addGraph to intercept and alter (or substitute) the graph, Or getGraph(graphNode) but that seems like a real distortion of the semantics. Seems like the AFS-Dev material is more to the point here. Andy, what do you think it

Re: Problems using Jena-OSGi

2016-03-15 Thread Andy Seaborne
(I am not an OSGi user) On 15/03/16 14:11, Jaroslav Pullmann wrote: Hello, while updating our OSGi-based software to Jena 3.* we experience some tricky errors. The following 3 test scenarios were run on a Ubuntu Linux 12.04, 64bit, Java 1.8.0. Test 1 java.lang.VerifyError :

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread A. Soroka
I guess you could use addGraph to intercept and alter (or substitute) the graph, but that seems like a real distortion of the semantics. Seems like the AFS-Dev material is more to the point here. Andy, what do you think it would take to get that stuff to Jena master? Do you think it is ready

Problems using Jena-OSGi

2016-03-15 Thread Jaroslav Pullmann
Hello, while updating our OSGi-based software to Jena 3.* we experience some tricky errors. The following 3 test scenarios were run on a Ubuntu Linux 12.04, 64bit, Java 1.8.0. Test 1 - Using standard Karaf 3.0.5 - Jena-OSGi built from Git including new patches for:

Re: Loading RDF XML while Fuseki is running

2016-03-15 Thread Mikael Pesonen
Hi, okay thats good to know. I tried with s-put apache-jena-fuseki-2.3.1$ bin/s-put http://localhost:3030/ds/data http://www.lingsoft.fi/geonames/ tmp.xml /usr/lib/ruby/1.9.1/net/http.rb:1436:in `block in initialize_http_header': undefined method `strip' for nil:NilClass (NoMethodError)

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Dick Murray
Eureka moment! It returns a new Graph of a certain type. Whereas I need the graph node to determine where the underlying data is. Cheers Dick. On 15 March 2016 at 11:28, Andy Seaborne wrote: > On 15/03/16 10:30, Dick Murray wrote: > >> Sorry, supportsTransactionAbort() in

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Andy Seaborne
On 15/03/16 10:30, Dick Murray wrote: Sorry, supportsTransactionAbort() in AFS-Dev /src /main /java

Re: Loading RDF XML while Fuseki is running

2016-03-15 Thread Andy Seaborne
On 15/03/16 10:40, Mikael Pesonen wrote: Hi, is it possible to add content to graph from RDF XML with command line tools? s-put requires SPARQL and tdbloader says org.apache.jena.tdb.TDBException: Can't open database at location /home/text/tools/apache-jena-3.0.1/DB/ as it is already locked

Loading RDF XML while Fuseki is running

2016-03-15 Thread Mikael Pesonen
Hi, is it possible to add content to graph from RDF XML with command line tools? s-put requires SPARQL and tdbloader says org.apache.jena.tdb.TDBException: Can't open database at location /home/text/tools/apache-jena-3.0.1/DB/ as it is already locked by the process with PID 7672. TDB

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Dick Murray
Sorry, supportsTransactionAbort() in AFS-Dev /src /main /java /projects