Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Martynas Jusevičius
Nicolas, I suggest you also take a look at Graphity Client: https://github.com/Graphity/graphity-client You don't really need an object layer representing your RDF classes above Jena, it is a bottleneck. You can express both the webapp structure and the instance data as RDF, and define a mapping

How to query the latest insert data from TDB dataset

2015-01-05 Thread xiaoq...@163.com
I have insert three statments : subject="ind1" predicate="intID" object=0,1,2 into my TDB dataset,and I want to select the latest insert data "2",but the dataset reply all the data. Here is the query part: dataset.begin(ReadWrite.READ); model=dataset.getNamedModel("http://www.semanticweb.org/HRA

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Nicolas Paris
Thanks for answers ! - About http://callimachusproject.org/ : interesting but I have to create application from scratch, because very specific - About PA4RDF : It seems very interessant. Any other tutorial, related post or tip ? Olivier, what do you exactly mean by "a bean <-> graph mapper" ? I g

Re: How to add jena rule to OntModel

2015-01-05 Thread Dave Reynolds
On 05/01/15 11:33, 7j1c9k+k0n...@guerrillamail.com wrote: Dear All, I am facing an issue with adding a rule to OntModel in that I am unable to figure out how to add a rule to the OntModel so that the OntModel will be provided to Pellet which shall reason the KB. To this extent I wanted to

Re: Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Olivier Rossel
There was a discussion some weeks ago about PA4RDF. It might be a good starting point, in you think a bean <-> graph mapper could be useful in your case. Also http://callimachusproject.org/ could be another interesting project to investigate in your case. On Mon, Jan 5, 2015 at 2:41 PM, Nicolas

Design a JEE / Jena TDB / MVC web application - best practice

2015-01-05 Thread Nicolas Paris
Hello, I am creating a web semantic application, were persistant data is all stored in triple store (TDB). I mean, users(foaf), parameters etc. This application is an e-learning application, with exercices proposition based on reasonners. I want to use a classic MVC design pattern (jsp / servlets

Re: Problem related RDF and turtle data upload

2015-01-05 Thread Zeeshan Haider
Hi there, I wanted to get all the duplicates documents based on a node which exists in RDF TDB but fuseki is showing me 1 URI only but the problem is i also want counts based on the solr documents related to this URI how can i get it? Do i need to modify the fuseki? On Sun, Dec 28, 2014 at 6:47 P

How to add jena rule to OntModel

2015-01-05 Thread 7j1c9k+k0ns50
Dear All, I am facing an issue with adding a rule to OntModel in that I am unable to figure out how to add a rule to the OntModel so that the OntModel will be provided to Pellet which shall reason the KB. To this extent I wanted to first add the rule (as RDF nodes using jena rules api) to I