You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by "Dimov, Stefan" <st...@sap.com> on 2018/01/05 23:31:07 UTC
tdbloader2 named graphs
Hi all,
I’m trying to use tdbloader2 to import multiple ttl files into DB.
I want (the triples from) certain files to go to certain named graphs, but I don’t know how to specify that – it all goes to the default graph.
Does anybody know?
Regards,
Stefan
Re: tdbloader2 named graphs
Posted by "Dimov, Stefan" <st...@sap.com>.
Thanks Andy!
S.
On 1/6/18, 2:59 AM, "Andy Seaborne" <an...@apache.org> wrote:
Best to do that.
And while converting, if you go TTL -> N-Quads you can load a bit
faster. To do the prefixes, just have a file with only prefixes and add
it to the files to load.
tdb2.tdbloader does support --graph but only one setting per load.
There is only so much that can be sensibly done from a command line
tool. The next step up would be to add some kind of manifest processing.
Andy
On 06/01/18 00:06, Dimov, Stefan wrote:
> Figured it out – gotta convert my .ttl files to .trig format …
>
> S.
>
> From: Stefan Dimov <st...@sap.com>
> Date: Friday, January 5, 2018 at 3:31 PM
> To: "users@jena.apache.org" <us...@jena.apache.org>
> Subject: tdbloader2 named graphs
>
> Hi all,
>
> I’m trying to use tdbloader2 to import multiple ttl files into DB.
>
> I want (the triples from) certain files to go to certain named graphs, but I don’t know how to specify that – it all goes to the default graph.
>
> Does anybody know?
>
> Regards,
> Stefan
>
Re: tdbloader2 named graphs
Posted by Andy Seaborne <an...@apache.org>.
Best to do that.
And while converting, if you go TTL -> N-Quads you can load a bit
faster. To do the prefixes, just have a file with only prefixes and add
it to the files to load.
tdb2.tdbloader does support --graph but only one setting per load.
There is only so much that can be sensibly done from a command line
tool. The next step up would be to add some kind of manifest processing.
Andy
On 06/01/18 00:06, Dimov, Stefan wrote:
> Figured it out – gotta convert my .ttl files to .trig format …
>
> S.
>
> From: Stefan Dimov <st...@sap.com>
> Date: Friday, January 5, 2018 at 3:31 PM
> To: "users@jena.apache.org" <us...@jena.apache.org>
> Subject: tdbloader2 named graphs
>
> Hi all,
>
> I’m trying to use tdbloader2 to import multiple ttl files into DB.
>
> I want (the triples from) certain files to go to certain named graphs, but I don’t know how to specify that – it all goes to the default graph.
>
> Does anybody know?
>
> Regards,
> Stefan
>
Re: tdbloader2 named graphs
Posted by "Dimov, Stefan" <st...@sap.com>.
Figured it out – gotta convert my .ttl files to .trig format …
S.
From: Stefan Dimov <st...@sap.com>
Date: Friday, January 5, 2018 at 3:31 PM
To: "users@jena.apache.org" <us...@jena.apache.org>
Subject: tdbloader2 named graphs
Hi all,
I’m trying to use tdbloader2 to import multiple ttl files into DB.
I want (the triples from) certain files to go to certain named graphs, but I don’t know how to specify that – it all goes to the default graph.
Does anybody know?
Regards,
Stefan