Re: Apache Jena for Android

2015-04-20 Thread Rob Vesse
Soren It is also worth noting that ProcessUtils is only used to provide the dataset locking functionality which helps prevents databases being used from multiple JVMs at a time which may be a non-issue on Android since how likely is is that more than one app will try and use the same TDB database?

Re: Apache Jena for Android

2015-04-20 Thread Andy Seaborne
On 15/04/15 14:49, Sören Brunk wrote: Thanks for your suggestions. I got TDB running now. It only required a small change in ProcessUtils to get the process id. This adds a dependency on the Android sdk though, but it is possible to add a maven dependency on the sdk with "provided" scope so I thi

Re: Apache Jena for Android

2015-04-15 Thread Sören Brunk
Thanks for your suggestions. I got TDB running now. It only required a small change in ProcessUtils to get the process id. This adds a dependency on the Android sdk though, but it is possible to add a maven dependency on the sdk with "provided" scope so I think it's feasible. According to the

Re: Apache Jena for Android

2015-04-02 Thread Stian Soiland-Reyes
The JSON-LD support through JSON-LD-Java also uses HTTPClient (to load @contexts), but it can be statically overridden, if needed: https://github.com/jsonld-java/jsonld-java#customizing-the-apache-httpclient https://github.com/jsonld-java/jsonld-java/blob/master/core/src/main/java/com/github/jsonl

Re: Apache Jena for Android

2015-04-02 Thread Andy Seaborne
Hi Sören, Thanks for that assessment. Re: Xerces Jena uses Xerces for datatypes - java.xml stiff provides Java types to handle xml values but jena uses Xerces internals for literal parsing and for the knowledge contained in the derived types hierarchy. It's not an insignificant amount of wor

Re: Apache Jena for Android

2015-04-02 Thread Andy Seaborne
You can configure the footprint of TDB in 32 bit "direct" mode for smaller datasets: http://jena.staging.apache.org/documentation/tdb/store-parameters.html Andy On 01/04/15 22:38, Stian Soiland-Reyes wrote: +1 - and how well does the memory mapping of TDB work on Dalvik? Would jena-

Re: Apache Jena for Android

2015-04-01 Thread Stian Soiland-Reyes
+1 - and how well does the memory mapping of TDB work on Dalvik? Would jena-sdb work with SQLite? https://developer.android.com/guide/topics/data/data-storage.html#db You would probably need https://github.com/SQLDroid/SQLDroid so you get a JDBC driver. On 1 April 2015 at 18:02, Claude Warren

Re: Apache Jena for Android

2015-04-01 Thread Claude Warren
Might it make sense to use a different persistence engine on Android since it probably will not have the huge datasets that TDB is designed for. It might make sense to have a small store available for small devices. Just a thought. Claude On Tue, Mar 31, 2015 at 9:41 PM, Sören Brunk wrote: >

Re: Apache Jena for Android

2015-03-31 Thread Sören Brunk
Hi Andy, thanks for your feedback and sorry for taking so long to reply. It would be great to get Android support into mainline Jena and I'm willing to help. It might be necessary to build an extra jar package for Android though, similar to what jena-osgi does. Is there are anything the Jena

Re: Apache Jena for Android

2015-03-12 Thread Fabio Ricci
Thank you very much for all these hints! Yes it is SOLR and the hint on the text/search integration was helpful!!! Fabio Am 10.3.15 um 16:39 schrieb Stian Soiland-Reyes: > SPARQL results are HTTP-streamed back from Fuseki (and in TDB > programmatically), as long as you don't use ORDER and select

Re: Apache Jena for Android

2015-03-12 Thread Stian Soiland-Reyes
SPARQL results are HTTP-streamed back from Fuseki (and in TDB programmatically), as long as you don't use ORDER and select a streamable serialization format like JSON (not JSON-LD) That is exactly what I do in https://github.com/openphacts/openphacts-irs to populate an ElasticSearch instance, by

Re: Apache Jena for Android

2015-03-10 Thread Fabio Ricci
Dear community does anyone know how to query RDF Data with SPARQL in huge graphs using Jena so, that a portion of rdf triples is processed - say 1000 triples at a time ? I need this in order to INDEX triples in a search engine, need therefore to access every triple but not all at a time ... Than

Re: Apache Jena for Android

2015-03-04 Thread Andy Seaborne
Hi Sören, Interesting approach - having something that will be able to track more easily the evolution of the Jena codebase is great to see. There seem to have been an increase in questions on StackOverflow and on answer.semanticweb about Jena on Android over the last few months so great tim

Apache Jena for Android

2015-03-03 Thread Sören Brunk
Hi all, We are working on some Android app prototypes that deal with RDF data. To make things easier, we have created a version of Apache Jena that runs on Android. It basically consists of a bunch of Maven build files that do some repackaging of the original Jena jars in order to make them r