Re: Combined query results

2018-06-09 Thread Samita Bai / PhD CS Scholar @ City Campus
Sent: 08 June 2018 22:26:55 To: users@jena.apache.org Subject: Re: Combined query results How about: prefix : <http://example.org/> Select ?alice ?address where { ?alice :hasAddress ?address; :hasName "Alice" } On Thu, Jun 7, 2018, 12:36 AM Samita Bai

Combined query results

2018-06-07 Thread Samita Bai / PhD CS Scholar @ City Campus
I need some help with the following code. I am using parameterized sparql string and I want to display combined results of both queries how can I do that. Any help or suggestion would be truly appreciated. final static String filename = "/home/samita/turtleContent.ttl"; static Model

TDB2 store parameters

2018-04-13 Thread Samita Bai / PhD CS Scholar @ City Campus
Hello, I want to store only one index in TDB2 i.e. GSPO, instead of all combinations. How can I do it? I read some documentation and got to know that it can be done with the help of store parameters but I am not finding any help how to call that config file from code. Please guide me.

TDB 2 Store Parameters

2018-04-13 Thread Samita Bai / PhD CS Scholar @ City Campus
I wrote the following code to build only one type of triple and quad index but it is still creating all indexes  package ldbqPack; import org.apache.jena.query.Dataset; import org.apache.jena.tdb2.TDB2Factory; import org.apache.jena.tdb2.setup.StoreParams; import

Re: TDB2 store parameters

2018-04-13 Thread Samita Bai / PhD CS Scholar @ City Campus
s area is not heavily tested. Queries can end up very slow if there is no appropriate index. For background, why do you want to modify the index choice to just GSPO? Andy On 13/04/18 07:47, Samita Bai / PhD CS Scholar @ City Campus wrote: > Hello, > > > I want to store only one index

Re: TDB 2 Store Parameters

2018-04-17 Thread Samita Bai / PhD CS Scholar @ City Campus
aware that if you're just trying to load RDF into a TDB instance, there is no need at all to write Java code. The tdbloader and tdbloader2 CLI utilities work very very well for that. ajs6f > On Apr 17, 2018, at 1:03 AM, Samita Bai / PhD CS Scholar @ City Campus > <s...@iba.edu.pk> wrote: &g

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
se show us the errors that Jena is throwing trying to read your data and > an appropriate sample of the data in question. > > > ajs6f > >> On Apr 16, 2018, at 4:42 AM, Samita Bai / PhD CS Scholar @ City Campus >> <s...@iba.edu.pk> wrote: >> >> In add

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
Even if I am using try catch to catch RiotException but my code still gets terminated on this exception  Regards, Samita Bai From: Samita Bai / PhD CS Scholar @ City Campus Sent: 16 April 2018 22:32:26 To: users@jena.apache.org Subject: Re: TDB 2 Store

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
validity of any of your files just by running > them through Jena's `riot` command. > > You can try loading them into a TDB1 or TDB2 db by using the `tdbloader` or > `tdb2.tdbloader` commands. > > ajs6f > >> On Apr 16, 2018, at 12:28 PM, Samita Bai / PhD CS Scholar @ City Camp

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
r.java:178) at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185) at java.base/java.io.Reader.read(Reader.java:140) ... 26 more ____ From: Samita Bai / PhD CS Scholar @ City Campus Sent: 17 April 2018 01:09:53 To: users@jena.apache.org Subject: Re: T

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
oes into your application. For one thing, Jena's tools (e.g. tdbloader) expect valid data. As for your code terminating, you don't show your code with a try-catch, so we can't help you very well. Adam > On Apr 16, 2018, at 1:50 PM, Samita Bai / PhD CS Scholar @ City Campus > <s...@

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
DatasetGraphTDB dgtdb = DatasetBuilderStd.create(location); TDBLoader.load(dgtdb, URL); }} Code is running, I really don't know will it take data from .nq.gz or not? ____ From: Samita Bai / PhD CS Scholar @ City Campus Sent: 17 April 2018 00:43:10 To: users@jena.apache.

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
tch, so we can't help you very well. Adam > On Apr 16, 2018, at 1:50 PM, Samita Bai / PhD CS Scholar @ City Campus > <s...@iba.edu.pk> wrote: > > Even if I am using try catch to catch RiotException but my code still gets > terminated on

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
ent: 17 April 2018 01:49:06 To: users@jena.apache.org Subject: Re: TDB 2 Store Parameters Corrupt input file or the input file has binary in it. (it means the input is not legal UTF-8) On 16/04/18 21:20, Samita Bai / PhD CS Scholar @ City Campus wrote: > > Dear Andy, > >

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
h Jena's `riot` command. > > You can try loading them into a TDB1 or TDB2 db by using the `tdbloader` or > `tdb2.tdbloader` commands. > > ajs6f > >> On Apr 16, 2018, at 12:28 PM, Samita Bai / PhD CS Scholar @ City Campus >> <s...@iba.edu.pk> wrote: >> >&g

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
scale currently) is likely to be a > better choice. > > Looking at StoreParams in TDB2: > > The code below creates the database at TDB2Factory.connectDataset so any > StoreParams after that do not affect indexing. > > I tried to make it work in the release but the code ig

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
On 16/04/18 17:32, ajs6f wrote: > You should be able to check the validity of any of your files just by running > them through Jena's `riot` command. > > You can try loading them into a TDB1 or TDB2 db by using the `tdbloader` or > `tdb2.tdbloader` commands. > > ajs6f > >&

Re: TDB 2 Store Parameters

2018-04-16 Thread Samita Bai / PhD CS Scholar @ City Campus
with this  So I have to create quads again and store it in TDB. Any help is surely appreciated. Regards, Samita Bai From: Samita Bai / PhD CS Scholar @ City Campus Sent: 16 April 2018 13:33:51 To: users@jena.apache.org Subject: Re: TDB 2 Store Parameters Thank you

Jena Property Table

2018-02-27 Thread Samita Bai / PhD CS Scholar @ City Campus
Hello Jena team, I have a query regarding Jena Property table, it is deprecated, is any alternative provided for this? Should I use it in my project or not? Please help me. Regards, Samita P : Please consider the environment before printing this e-mail

Re: Jena Property Table

2018-02-28 Thread Samita Bai / PhD CS Scholar @ City Campus
users@jena.apache.org Subject: Re: Jena Property Table Can you be a bit more precise please? What exactly is deprecated? And what do you want to do in your project? On 28.02.2018 08:45, Samita Bai / PhD CS Scholar @ City Campus wrote: > Hello Jena team, > > > I have a query regarding J

Re: Jena Property Table

2018-02-28 Thread Samita Bai / PhD CS Scholar @ City Campus
rs@jena.apache.org Subject: Re: Jena Property Table Attachments do not work on this mailing list. On 28.02.2018 09:21, Samita Bai / PhD CS Scholar @ City Campus wrote: > > Dear Lorenz, > > > I have attached the screenshot, I am talking about property table in > jena csv packag

Re: Jena Property Table

2018-02-28 Thread Samita Bai / PhD CS Scholar @ City Campus
you say something about your project and what are you trying to 0o? Andy On 28/02/18 11:07, Samita Bai / PhD CS Scholar @ City Campus wrote: > Thank you Andy for such a detailed reply. I am not getting this 'one subject > only'. Is it not possible to add more subjects in a single pro

Re: Jena Property Table

2018-02-28 Thread Samita Bai / PhD CS Scholar @ City Campus
ules and is > considered "legacy". That said, it is not going away any time soon and > the source code will always be available. > > Could you say something about your project and what are you trying to do > with property tables? Maybe there is a different approach somewhere. &g

Re: Jena Property Table

2018-02-28 Thread Samita Bai / PhD CS Scholar @ City Campus
ion than the major modules and is > considered "legacy". That said, it is not going away any time soon and > the source code will always be available. > > Could you say something about your project and what are you trying to do > with property tables? Maybe there is a different appro

Re: Jena Property Table

2018-02-28 Thread Samita Bai / PhD CS Scholar @ City Campus
g about your project and what are you trying to do with property tables? Maybe there is a different approach somewhere. Andy On 28/02/18 09:36, Samita Bai / PhD CS Scholar @ City Campus wrote: > Oh Ok, then please follow this link > > > https://github.com/apache/jena/tree/m