Apache Jena TDB

2015-07-29 Thread Roshan Bharath Das
Hello, I have a very basic question about the use of Jena TDB. As far as I see, TDB is used for RDF storage and query. But Jena ARQ and Jena Core does the same. What am I missing if I don’t use Jena TDB?. Best Regards, Roshan

Re: Apache Jena TDB

2015-07-29 Thread Roshan Bharath Das
in-memory Models. On Wed, Jul 29, 2015 at 11:05 AM, Roshan Bharath Das roshanbharath...@gmail.com wrote: Hello, I have a very basic question about the use of Jena TDB. As far as I see, TDB is used for RDF storage and query. But Jena ARQ and Jena Core does the same. What am I missing if I don’t

Re: Federated query result format

2015-07-28 Thread Roshan Bharath Das
...@graphity.org wrote: Roshan, try ResultSetFormatter.outputAsJSON() https://jena.apache.org/documentation/javadoc/arq/com/hp/hpl/jena/query/ResultSetFormatter.html#outputAsJSON(com.hp.hpl.jena.query.ResultSet) On Tue, Jul 28, 2015 at 9:18 PM, Roshan Bharath Das roshanbharath...@gmail.com wrote

Federated query result format

2015-07-28 Thread Roshan Bharath Das
Hello, How can I decide to get the query result format for a sparqlService in JSON for example?. Below is my code: Query query = QueryFactory.create(queryString); QueryExecution qe = QueryExecutionFactory.sparqlService(linkedmdb,query); ResultSet result = qe.execSelect(); The result is in XML

Re: Jena source code for Java 1.7

2015-07-27 Thread Roshan Bharath Das
Okay. Thanks. Best Regards, Roshan On 27 Jul 2015, at 12:11, Rob Vesse rve...@dotnetrdf.org wrote: Jena 2.13.0 are Java 1.7 compatible

Jena source code for Java 1.7

2015-07-27 Thread Roshan Bharath Das
Hello, How can I get Jena source code compatible with Java 1.7 from (https://github.com/apache/jena https://github.com/apache/jena)?. As of now in Java 1.7 the package java.util.function is not supported. Any help is appreciated. Best Regards, Roshan

Fetching data from the Web

2015-07-20 Thread Roshan Bharath Das
Hello, How can I fetch linked data from the web? I tried the below. but it didn’t work. Model model = ModelFactory.createDefaultModel(); model.read(“http://URLtoLinkedData.com http://urltolinkeddata.com/”); Best Regards, Roshan

Re: Fetching data from the Web

2015-07-20 Thread Roshan Bharath Das
Hello, I am getting the error com.hp.hpl.jena.shared.NoReaderForLangException: JSON-LD” Probably because I am using an older version of Jena. Best Regards, Roshan On 20 Jul 2015, at 15:17, Andy Seaborne a...@apache.org wrote: On 20/07/15 10:48, Roshan Bharath Das wrote: Hello, How can

Support for Continous SPARQL

2015-07-01 Thread Roshan Bharath Das
Hello, I am new to Apache Jena and I am using sensor data(which keeps on changing) as my input stream. So, I would like to know if Jena framework has support for Continous SPARQL?. Can you give me any pointers?. Thanks in advance. Best Regards, Roshan