Re: Can I pass a model in a parameter list?

2014-01-27 Thread Mona Salem
Hi Joshua Thanks for the comments. I did not mean to mangle the code; I was trying to express the gist of my problem. I will rework code, as you suggest in your first sentence. Thx for prompt response Mona Sent from my iPhone On Jan 27, 2014, at 3:36 PM, Joshua TAYLOR wrote: > You can pass

Re: Can I pass a model in a parameter list?

2014-01-27 Thread Joshua TAYLOR
You can pass models as parameters to methods (just like any other Java object). The code in this message looks like it may have been mangled on its way to the list. It's certainly not in a compilable state at the moment. E.g., lines like Product.addProperty(category_n, classDetails.get(

Can I pass a model in a parameter list?

2014-01-27 Thread Mona Salem
Hi I am a newbie to Jena. I want to be able to add rdf statements to my model in two different .java classes; ie Parser.java and Annotator.java I did the following: public class Parser { public static Model model = ModelFactory.createDefaultModel(); Resource Product = mode

Re: Spaql queries optimizations for Freebase set

2014-01-27 Thread Rob Vesse
Comments inline: On 27/01/2014 02:58, "Ewa Szwed" wrote: >Hi, >I am working on a project that utilizes Jena TDB store to host full >Freebase data set. >I am at a stage now that all the data is loaded and I have written a >couple >of Sparql queries to extract information about Freebase topics. >W

Re: Spaql queries optimizations for Freebase set

2014-01-27 Thread Andy Seaborne
On 27/01/14 10:58, Ewa Szwed wrote: Hi, I am working on a project that utilizes Jena TDB store to host full Freebase data set. I am at a stage now that all the data is loaded and I have written a couple of Sparql queries to extract information about Freebase topics. What I am trying to do now is

Spaql queries optimizations for Freebase set

2014-01-27 Thread Ewa Szwed
Hi, I am working on a project that utilizes Jena TDB store to host full Freebase data set. I am at a stage now that all the data is loaded and I have written a couple of Sparql queries to extract information about Freebase topics. What I am trying to do now is to improve the performance of some of