You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Reihaneh Amini <am...@gmail.com> on 2017/01/18 15:07:44 UTC
10g data loading in Fuseki
Hi Dear sir or madam,
I have a frustrating problem which is not going well with Fuseki.
I have a .nt file size 10G and I want to upload it into fuseki server as
TDB structure not in-memory.
After running the server, if I upload it one-time I get SessionTimesOut
error, how can I address this problem?
Please help me what is your recommendation?
Regards,
Reihan
--
Regards,
-Reihan
Fwd: 10g data loading in Fuseki
Posted by Reihaneh Amini <am...@gmail.com>.
Hi Dear sir or madam,
I have a frustrating problem which is not going well with Fuseki.
I have a .nt file size 10G and I want to upload it into fuseki server as
TDB structure not in-memory.
After running the server, if I upload it one-time I get SessionTimesOut
error, how can I address this problem?
Please help me what is your recommendation?
Regards,
Reihan
--
Regards,
-Reihan
--
Regards,
-Reihan
Re: 10GB file loading on Fuseki
Posted by Osma Suominen <os...@helsinki.fi>.
Hi Reihan,
I hope you already made some progress with help from Stian and others on
this list.
These files together constitute the TDB database, i.e. the whole
directory is the TDB. Then you just need to configure Fuseki to use that
database. You don't need to load them anymore, as they are already in a
form that Fuseki can use directly. When you load RDF files into Fuseki,
it will create a TDB itself, but that is not needed when you have done
the loading externally using tdbloader[2].
The simplest way is to use the --loc command line argument. For example,
if your TDB directory is named "tdb", you can run Fuseki like this:
fuseki-server --loc tdb /ds
Then Fuseki will serve data from that TDB.
-Osma
20.01.2017, 15:54, Reihaneh Amini kirjoitti:
> Hi Osma,
>
> Could you please help me more?
> I load the data into an directory by TDB modeler and now I have 20-30 files with .dat and .idn prefix.
> Could you please help me out ? how can I load them into fuseki now?
>
--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suominen@helsinki.fi
http://www.nationallibrary.fi
Re: 10GB file loading on Fuseki
Posted by Andy Seaborne <an...@apache.org>.
See Stian's message.
On 20/01/17 13:54, Reihaneh Amini wrote:
> Hi Osma,
>
> Could you please help me more?
> I load the data into an directory by TDB modeler and now I have 20-30 files with .dat and .idn prefix.
> Could you please help me out ? how can I load them into fuseki now?
>
10GB file loading on Fuseki
Posted by Reihaneh Amini <am...@gmail.com>.
Hi Osma,
Could you please help me more?
I load the data into an directory by TDB modeler and now I have 20-30 files with .dat and .idn prefix.
Could you please help me out ? how can I load them into fuseki now?
Re: 10G loading file to fuseki
Posted by Stian Soiland-Reyes <st...@apache.org>.
After creating the TDB files in the correct folder with either tdbloader or
tdbloader2, it should also work to "create" the dataset in Fuseki2 UI with
a matching name, that avoids having to make the default configuration and
Fuseki2 will use your existing TDB files.
However, the default configuration does not have any reasoning enabled;
that should be the same for your smaller dataset made using only the UI.
On 19 Jan 2017 7:29 pm, "A. Soroka" <aj...@virginia.edu> wrote:
> Your procedure seems reasonable. I still don't understand what you mean by
> "I can query the small Lexo database but not the LinkedCT one." What
> exactly are you doing to send queries?
>
> Please show the configuration you added for your new dataset.
>
> ---
> A. Soroka
> The University of Virginia Library
> > On Jan 19, 2017, at 2:24 PM, Reihaneh Amini <am...@gmail.com>
> wrote:
> >
> > Sure!
> > Thanks for helping!
> >
> > 1. TDB laoding:
> >
> > public static void main(String[] args) {
> >
> > String file = "./linkedct-live-dump-latest.nt"; //source 10 GB
> file
> > String directory;
> > directory = "./Data";
> > //target TDB files
> >
> > Dataset dataset = TDBFactory.createDataset(directory);
> >
> > Model model = dataset.getNamedModel("http://nameFile");
> >
> > TDBLoader.loadModel(model, file );
> >
> >
> > }
> >
> > I loaded the big file by using TDB model and finally after 10 hours of
> > execution, it gave me the Data folder that contains 28 files with .dat
> and
> > .idn suffix.
> >
> > 2. I have a directory that I downloaded from download part of
> fuseki-server
> > naming: "apache-jena-fuseki-2.4.1". It contains a batch file that by
> > running that file from command-line I get access to the server by
> > localhost/3030.
> > When I get access to the server and upload a small dataset (<100mb) there
> > named "Lexo", automatically that dataset will be appeared in the
> > "apache-jena-fuseki-2.4.1/run/databases/lexo". That dataset contains the
> > .dat and .idn files.
> >
> > So, by doing the reverse process. First I read my big dataset by step
> one.
> > Then I save these generated files into
> > "apache-jena-fuseki-2.4.1/run/databases/LinkedCT" path under "LinkedCT"
> > folder.
> >
> > 3. I run the server again and now both databases appear in the server. (
> I
> > also took care of creating a config file for this new dataset in
> > "Configuration" folder.
> >
> > 4. this seems normal from my perspective.
> > C:\Programs\apache-jena-fuseki-2.4.1>fuseki-server
> > Picked up _JAVA_OPTIONS: -Xms2048m -Xmx4096m
> > [2017-01-19 10:23:59] Server INFO Fuseki 2.4.1
> > [2017-01-19 10:23:59] Config INFO
> > FUSEKI_HOME=C:\Programs\apache-jena-fuseki-2.4.1\.
> > [2017-01-19 10:23:59] Config INFO
> > FUSEKI_BASE=C:\Programs\apache-jena-fuseki-2.4.1\run
> > [2017-01-19 10:23:59] Servlet INFO Initializing Shiro environment
> > [2017-01-19 10:23:59] Config INFO Shiro file:
> > file://C:\Programs\apache-jena-fuseki-2.4.1\run\shiro.ini
> > [2017-01-19 10:23:59] Config INFO Configuration file:
> > C:\Programs\apache-jena-fuseki-2.4.1\run\config.ttl
> > [2017-01-19 10:23:59] riot WARN [line: 5, col: 9 ] Bad IRI:
> > <C:\Programs\apache-jena-fuseki-2.4.1\run\config.ttl#> Code:
> > 4/UNWISE_CHARACTER in PATH: The character matches no grammar rules of
> > URIs/IRIs. These characters are permitted in RDF URI References, XML
> system
> > identifiers, and XML Schema anyURIs.
> > [2017-01-19 10:24:00] Config INFO Load configuration:
> > file:///C:/Programs/apache-jena-fuseki-2.4.1/run/configuration/Lexvo.ttl
> > [2017-01-19 10:24:01] Config INFO Load configuration:
> > file:///C:/Programs/apache-jena-fuseki-2.4.1/run/
> configuration/LinkedCT.ttl
> > [2017-01-19 10:24:04] Config INFO Register: /Lexvo
> > [2017-01-19 10:24:04] Config INFO Register: /LinkedCT
> > [2017-01-19 10:24:04] Server INFO Started 2017/01/19 10:24:04 EST on
> > port 3030
> >
> >
> >
> > 5. When I go to the server, I can query the small Lexo database but not
> the
> > LinkedCT one.
> >
> >
> > Regards,
> > Reihan
> >
> >
> >
> > On Thu, Jan 19, 2017 at 1:40 PM, A. Soroka <aj...@virginia.edu> wrote:
> >
> >>> However, the reasoner probably is not working because I cannot query
> the
> >> data!
> >>
> >> This isn't really an effective report of a problem. Can you describe
> what
> >> you did (including the exact sequence of steps you followed to do the
> >> load), what you then did to query, what you expected to get, and what
> you
> >> actually got?
> >>
> >> ---
> >> A. Soroka
> >> The University of Virginia Library
> >>
> >>
> >>
> >>> On Jan 19, 2017, at 12:03 PM, Reihaneh Amini <amini.reihaneh@gmail.com
> >
> >> wrote:
> >>>
> >>> I load the data by TDB loader and then upload them into the server with
> >> no
> >>> problem this time. However, the reasoner probably is not working
> because
> >> I
> >>> cannot query the data!
> >>>
> >>> By loading by TDB I got several .dat and .idn file which I loaded them
> to
> >>> fuseki server.
> >>>
> >>> Any suggestion?
> >>>
> >>> Regards,
> >>> Reihan
> >>>
> >>> On Thu, Jan 19, 2017 at 11:33 AM, A. Soroka <aj...@virginia.edu>
> wrote:
> >>>
> >>>> Using the UI is not a good idea for this. You would do _much_ better
> >>>> either to work Osma's suggestion or to use the command-line tools.
> >>>>
> >>>> ---
> >>>> A. Soroka
> >>>> The University of Virginia Library
> >>>>
> >>>>> On Jan 19, 2017, at 11:32 AM, Reihaneh Amini <
> amini.reihaneh@gmail.com
> >>>
> >>>> wrote:
> >>>>>
> >>>>> Hi Andy,
> >>>>>
> >>>>> Thanks for your advice!
> >>>>> I am using UI.
> >>>>>
> >>>>> Do you mean I can still use UI if I split the data?
> >>>>> By splitting you mean the simple splitting, right?
> >>>>>
> >>>>>
> >>>>> Reihan
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> -Reihan
> >>
> >>
> >
> >
> > --
> > Regards,
> > -Reihan
>
>
>
>
>
Re: 10G loading file to fuseki
Posted by "A. Soroka" <aj...@virginia.edu>.
Your procedure seems reasonable. I still don't understand what you mean by "I can query the small Lexo database but not the LinkedCT one." What exactly are you doing to send queries?
Please show the configuration you added for your new dataset.
---
A. Soroka
The University of Virginia Library
> On Jan 19, 2017, at 2:24 PM, Reihaneh Amini <am...@gmail.com> wrote:
>
> Sure!
> Thanks for helping!
>
> 1. TDB laoding:
>
> public static void main(String[] args) {
>
> String file = "./linkedct-live-dump-latest.nt"; //source 10 GB file
> String directory;
> directory = "./Data";
> //target TDB files
>
> Dataset dataset = TDBFactory.createDataset(directory);
>
> Model model = dataset.getNamedModel("http://nameFile");
>
> TDBLoader.loadModel(model, file );
>
>
> }
>
> I loaded the big file by using TDB model and finally after 10 hours of
> execution, it gave me the Data folder that contains 28 files with .dat and
> .idn suffix.
>
> 2. I have a directory that I downloaded from download part of fuseki-server
> naming: "apache-jena-fuseki-2.4.1". It contains a batch file that by
> running that file from command-line I get access to the server by
> localhost/3030.
> When I get access to the server and upload a small dataset (<100mb) there
> named "Lexo", automatically that dataset will be appeared in the
> "apache-jena-fuseki-2.4.1/run/databases/lexo". That dataset contains the
> .dat and .idn files.
>
> So, by doing the reverse process. First I read my big dataset by step one.
> Then I save these generated files into
> "apache-jena-fuseki-2.4.1/run/databases/LinkedCT" path under "LinkedCT"
> folder.
>
> 3. I run the server again and now both databases appear in the server. ( I
> also took care of creating a config file for this new dataset in
> "Configuration" folder.
>
> 4. this seems normal from my perspective.
> C:\Programs\apache-jena-fuseki-2.4.1>fuseki-server
> Picked up _JAVA_OPTIONS: -Xms2048m -Xmx4096m
> [2017-01-19 10:23:59] Server INFO Fuseki 2.4.1
> [2017-01-19 10:23:59] Config INFO
> FUSEKI_HOME=C:\Programs\apache-jena-fuseki-2.4.1\.
> [2017-01-19 10:23:59] Config INFO
> FUSEKI_BASE=C:\Programs\apache-jena-fuseki-2.4.1\run
> [2017-01-19 10:23:59] Servlet INFO Initializing Shiro environment
> [2017-01-19 10:23:59] Config INFO Shiro file:
> file://C:\Programs\apache-jena-fuseki-2.4.1\run\shiro.ini
> [2017-01-19 10:23:59] Config INFO Configuration file:
> C:\Programs\apache-jena-fuseki-2.4.1\run\config.ttl
> [2017-01-19 10:23:59] riot WARN [line: 5, col: 9 ] Bad IRI:
> <C:\Programs\apache-jena-fuseki-2.4.1\run\config.ttl#> Code:
> 4/UNWISE_CHARACTER in PATH: The character matches no grammar rules of
> URIs/IRIs. These characters are permitted in RDF URI References, XML system
> identifiers, and XML Schema anyURIs.
> [2017-01-19 10:24:00] Config INFO Load configuration:
> file:///C:/Programs/apache-jena-fuseki-2.4.1/run/configuration/Lexvo.ttl
> [2017-01-19 10:24:01] Config INFO Load configuration:
> file:///C:/Programs/apache-jena-fuseki-2.4.1/run/configuration/LinkedCT.ttl
> [2017-01-19 10:24:04] Config INFO Register: /Lexvo
> [2017-01-19 10:24:04] Config INFO Register: /LinkedCT
> [2017-01-19 10:24:04] Server INFO Started 2017/01/19 10:24:04 EST on
> port 3030
>
>
>
> 5. When I go to the server, I can query the small Lexo database but not the
> LinkedCT one.
>
>
> Regards,
> Reihan
>
>
>
> On Thu, Jan 19, 2017 at 1:40 PM, A. Soroka <aj...@virginia.edu> wrote:
>
>>> However, the reasoner probably is not working because I cannot query the
>> data!
>>
>> This isn't really an effective report of a problem. Can you describe what
>> you did (including the exact sequence of steps you followed to do the
>> load), what you then did to query, what you expected to get, and what you
>> actually got?
>>
>> ---
>> A. Soroka
>> The University of Virginia Library
>>
>>
>>
>>> On Jan 19, 2017, at 12:03 PM, Reihaneh Amini <am...@gmail.com>
>> wrote:
>>>
>>> I load the data by TDB loader and then upload them into the server with
>> no
>>> problem this time. However, the reasoner probably is not working because
>> I
>>> cannot query the data!
>>>
>>> By loading by TDB I got several .dat and .idn file which I loaded them to
>>> fuseki server.
>>>
>>> Any suggestion?
>>>
>>> Regards,
>>> Reihan
>>>
>>> On Thu, Jan 19, 2017 at 11:33 AM, A. Soroka <aj...@virginia.edu> wrote:
>>>
>>>> Using the UI is not a good idea for this. You would do _much_ better
>>>> either to work Osma's suggestion or to use the command-line tools.
>>>>
>>>> ---
>>>> A. Soroka
>>>> The University of Virginia Library
>>>>
>>>>> On Jan 19, 2017, at 11:32 AM, Reihaneh Amini <amini.reihaneh@gmail.com
>>>
>>>> wrote:
>>>>>
>>>>> Hi Andy,
>>>>>
>>>>> Thanks for your advice!
>>>>> I am using UI.
>>>>>
>>>>> Do you mean I can still use UI if I split the data?
>>>>> By splitting you mean the simple splitting, right?
>>>>>
>>>>>
>>>>> Reihan
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> -Reihan
>>
>>
>
>
> --
> Regards,
> -Reihan
Re: 10G loading file to fuseki
Posted by Reihaneh Amini <am...@gmail.com>.
Sure!
Thanks for helping!
1. TDB laoding:
public static void main(String[] args) {
String file = "./linkedct-live-dump-latest.nt"; //source 10 GB file
String directory;
directory = "./Data";
//target TDB files
Dataset dataset = TDBFactory.createDataset(directory);
Model model = dataset.getNamedModel("http://nameFile");
TDBLoader.loadModel(model, file );
}
I loaded the big file by using TDB model and finally after 10 hours of
execution, it gave me the Data folder that contains 28 files with .dat and
.idn suffix.
2. I have a directory that I downloaded from download part of fuseki-server
naming: "apache-jena-fuseki-2.4.1". It contains a batch file that by
running that file from command-line I get access to the server by
localhost/3030.
When I get access to the server and upload a small dataset (<100mb) there
named "Lexo", automatically that dataset will be appeared in the
"apache-jena-fuseki-2.4.1/run/databases/lexo". That dataset contains the
.dat and .idn files.
So, by doing the reverse process. First I read my big dataset by step one.
Then I save these generated files into
"apache-jena-fuseki-2.4.1/run/databases/LinkedCT" path under "LinkedCT"
folder.
3. I run the server again and now both databases appear in the server. ( I
also took care of creating a config file for this new dataset in
"Configuration" folder.
4. this seems normal from my perspective.
C:\Programs\apache-jena-fuseki-2.4.1>fuseki-server
Picked up _JAVA_OPTIONS: -Xms2048m -Xmx4096m
[2017-01-19 10:23:59] Server INFO Fuseki 2.4.1
[2017-01-19 10:23:59] Config INFO
FUSEKI_HOME=C:\Programs\apache-jena-fuseki-2.4.1\.
[2017-01-19 10:23:59] Config INFO
FUSEKI_BASE=C:\Programs\apache-jena-fuseki-2.4.1\run
[2017-01-19 10:23:59] Servlet INFO Initializing Shiro environment
[2017-01-19 10:23:59] Config INFO Shiro file:
file://C:\Programs\apache-jena-fuseki-2.4.1\run\shiro.ini
[2017-01-19 10:23:59] Config INFO Configuration file:
C:\Programs\apache-jena-fuseki-2.4.1\run\config.ttl
[2017-01-19 10:23:59] riot WARN [line: 5, col: 9 ] Bad IRI:
<C:\Programs\apache-jena-fuseki-2.4.1\run\config.ttl#> Code:
4/UNWISE_CHARACTER in PATH: The character matches no grammar rules of
URIs/IRIs. These characters are permitted in RDF URI References, XML system
identifiers, and XML Schema anyURIs.
[2017-01-19 10:24:00] Config INFO Load configuration:
file:///C:/Programs/apache-jena-fuseki-2.4.1/run/configuration/Lexvo.ttl
[2017-01-19 10:24:01] Config INFO Load configuration:
file:///C:/Programs/apache-jena-fuseki-2.4.1/run/configuration/LinkedCT.ttl
[2017-01-19 10:24:04] Config INFO Register: /Lexvo
[2017-01-19 10:24:04] Config INFO Register: /LinkedCT
[2017-01-19 10:24:04] Server INFO Started 2017/01/19 10:24:04 EST on
port 3030
5. When I go to the server, I can query the small Lexo database but not the
LinkedCT one.
Regards,
Reihan
On Thu, Jan 19, 2017 at 1:40 PM, A. Soroka <aj...@virginia.edu> wrote:
> > However, the reasoner probably is not working because I cannot query the
> data!
>
> This isn't really an effective report of a problem. Can you describe what
> you did (including the exact sequence of steps you followed to do the
> load), what you then did to query, what you expected to get, and what you
> actually got?
>
> ---
> A. Soroka
> The University of Virginia Library
>
>
>
> > On Jan 19, 2017, at 12:03 PM, Reihaneh Amini <am...@gmail.com>
> wrote:
> >
> > I load the data by TDB loader and then upload them into the server with
> no
> > problem this time. However, the reasoner probably is not working because
> I
> > cannot query the data!
> >
> > By loading by TDB I got several .dat and .idn file which I loaded them to
> > fuseki server.
> >
> > Any suggestion?
> >
> > Regards,
> > Reihan
> >
> > On Thu, Jan 19, 2017 at 11:33 AM, A. Soroka <aj...@virginia.edu> wrote:
> >
> >> Using the UI is not a good idea for this. You would do _much_ better
> >> either to work Osma's suggestion or to use the command-line tools.
> >>
> >> ---
> >> A. Soroka
> >> The University of Virginia Library
> >>
> >>> On Jan 19, 2017, at 11:32 AM, Reihaneh Amini <amini.reihaneh@gmail.com
> >
> >> wrote:
> >>>
> >>> Hi Andy,
> >>>
> >>> Thanks for your advice!
> >>> I am using UI.
> >>>
> >>> Do you mean I can still use UI if I split the data?
> >>> By splitting you mean the simple splitting, right?
> >>>
> >>>
> >>> Reihan
> >>
> >>
> >
> >
> > --
> > Regards,
> > -Reihan
>
>
--
Regards,
-Reihan
Re: 10G loading file to fuseki
Posted by "A. Soroka" <aj...@virginia.edu>.
> However, the reasoner probably is not working because I cannot query the data!
This isn't really an effective report of a problem. Can you describe what you did (including the exact sequence of steps you followed to do the load), what you then did to query, what you expected to get, and what you actually got?
---
A. Soroka
The University of Virginia Library
> On Jan 19, 2017, at 12:03 PM, Reihaneh Amini <am...@gmail.com> wrote:
>
> I load the data by TDB loader and then upload them into the server with no
> problem this time. However, the reasoner probably is not working because I
> cannot query the data!
>
> By loading by TDB I got several .dat and .idn file which I loaded them to
> fuseki server.
>
> Any suggestion?
>
> Regards,
> Reihan
>
> On Thu, Jan 19, 2017 at 11:33 AM, A. Soroka <aj...@virginia.edu> wrote:
>
>> Using the UI is not a good idea for this. You would do _much_ better
>> either to work Osma's suggestion or to use the command-line tools.
>>
>> ---
>> A. Soroka
>> The University of Virginia Library
>>
>>> On Jan 19, 2017, at 11:32 AM, Reihaneh Amini <am...@gmail.com>
>> wrote:
>>>
>>> Hi Andy,
>>>
>>> Thanks for your advice!
>>> I am using UI.
>>>
>>> Do you mean I can still use UI if I split the data?
>>> By splitting you mean the simple splitting, right?
>>>
>>>
>>> Reihan
>>
>>
>
>
> --
> Regards,
> -Reihan
Re: 10G loading file to fuseki
Posted by Reihaneh Amini <am...@gmail.com>.
I load the data by TDB loader and then upload them into the server with no
problem this time. However, the reasoner probably is not working because I
cannot query the data!
By loading by TDB I got several .dat and .idn file which I loaded them to
fuseki server.
Any suggestion?
Regards,
Reihan
On Thu, Jan 19, 2017 at 11:33 AM, A. Soroka <aj...@virginia.edu> wrote:
> Using the UI is not a good idea for this. You would do _much_ better
> either to work Osma's suggestion or to use the command-line tools.
>
> ---
> A. Soroka
> The University of Virginia Library
>
> > On Jan 19, 2017, at 11:32 AM, Reihaneh Amini <am...@gmail.com>
> wrote:
> >
> > Hi Andy,
> >
> > Thanks for your advice!
> > I am using UI.
> >
> > Do you mean I can still use UI if I split the data?
> > By splitting you mean the simple splitting, right?
> >
> >
> > Reihan
>
>
--
Regards,
-Reihan
Re: 10G loading file to fuseki
Posted by "A. Soroka" <aj...@virginia.edu>.
Using the UI is not a good idea for this. You would do _much_ better either to work Osma's suggestion or to use the command-line tools.
---
A. Soroka
The University of Virginia Library
> On Jan 19, 2017, at 11:32 AM, Reihaneh Amini <am...@gmail.com> wrote:
>
> Hi Andy,
>
> Thanks for your advice!
> I am using UI.
>
> Do you mean I can still use UI if I split the data?
> By splitting you mean the simple splitting, right?
>
>
> Reihan
10G loading file to fuseki
Posted by Reihaneh Amini <am...@gmail.com>.
Hi Andy,
Thanks for your advice!
I am using UI.
Do you mean I can still use UI if I split the data?
By splitting you mean the simple splitting, right?
Reihan
Re: 10g data loading in Fuseki
Posted by Andy Seaborne <an...@apache.org>.
Reihan,
How are you uploading the file? Via the UI or via the API?
The UI has a limitation whereby the incoming file needs to buffer the
incoming whereas directly (e.g. the s-put script, or curl, wget).
10G would need a a lot of heap in the
But the error will be java.lang.OutOfMemoryError and appear in the
server log file. What is in the server log file?
SessionTimesOut is not a message that Fuseki iotself emits. Is that the
browser?
As Osma says, loading using the bulkloader tocreate a database and
placing it in a fuskei server is the normal way.
Or split the file : even then the UI is not able to cope with a single
large file.
NTriples can be split on line boundaries.
Turtle files need more care - the prefixes must be in each file.
(a way to deal with that: load a NTriples, splitting as needed, ad also
load a Turtle file with just the prefixes).
Andy
Adam, Osma : no problem in TDB2 :-)
On 18/01/17 15:54, A. Soroka wrote:
> It's surely true that a 10GB file is not appropriate for direct upload. You could, if you absolutely must, split your NTriples file into many pieces and make many SPARQL Updates with them. But Osma's suggestion is much better, especially because if you are starting from an empty dataset you will get proper data statistics automatically by the means he suggests.
>
> ---
> A. Soroka
> The University of Virginia Library
>
>> On Jan 18, 2017, at 10:50 AM, Osma Suominen <os...@helsinki.fi> wrote:
>>
>> Hi Reihan,
>>
>> You cannot upload files this big via Fuseki. Try tdbloader or tdbloader2 instead for batch loading your triples into TDB outside Fuseki.
>>
>> -Osma
>>
>>
>> 18.01.2017, 17:07, Reihaneh Amini kirjoitti:
>>> Hi Dear sir or madam,
>>>
>>> I have a frustrating problem which is not going well with Fuseki.
>>> I have a .nt file size 10G and I want to upload it into fuseki server as
>>> TDB structure not in-memory.
>>>
>>> After running the server, if I upload it one-time I get SessionTimesOut
>>> error, how can I address this problem?
>>>
>>> Please help me what is your recommendation?
>>>
>>>
>>> Regards,
>>> Reihan
>>>
>>
>>
>> --
>> Osma Suominen
>> D.Sc. (Tech), Information Systems Specialist
>> National Library of Finland
>> P.O. Box 26 (Kaikukatu 4)
>> 00014 HELSINGIN YLIOPISTO
>> Tel. +358 50 3199529
>> osma.suominen@helsinki.fi
>> http://www.nationallibrary.fi
>
Re: 10g data loading in Fuseki
Posted by "A. Soroka" <aj...@virginia.edu>.
It's surely true that a 10GB file is not appropriate for direct upload. You could, if you absolutely must, split your NTriples file into many pieces and make many SPARQL Updates with them. But Osma's suggestion is much better, especially because if you are starting from an empty dataset you will get proper data statistics automatically by the means he suggests.
---
A. Soroka
The University of Virginia Library
> On Jan 18, 2017, at 10:50 AM, Osma Suominen <os...@helsinki.fi> wrote:
>
> Hi Reihan,
>
> You cannot upload files this big via Fuseki. Try tdbloader or tdbloader2 instead for batch loading your triples into TDB outside Fuseki.
>
> -Osma
>
>
> 18.01.2017, 17:07, Reihaneh Amini kirjoitti:
>> Hi Dear sir or madam,
>>
>> I have a frustrating problem which is not going well with Fuseki.
>> I have a .nt file size 10G and I want to upload it into fuseki server as
>> TDB structure not in-memory.
>>
>> After running the server, if I upload it one-time I get SessionTimesOut
>> error, how can I address this problem?
>>
>> Please help me what is your recommendation?
>>
>>
>> Regards,
>> Reihan
>>
>
>
> --
> Osma Suominen
> D.Sc. (Tech), Information Systems Specialist
> National Library of Finland
> P.O. Box 26 (Kaikukatu 4)
> 00014 HELSINGIN YLIOPISTO
> Tel. +358 50 3199529
> osma.suominen@helsinki.fi
> http://www.nationallibrary.fi
Re: 10g data loading in Fuseki
Posted by Osma Suominen <os...@helsinki.fi>.
Hi Reihan,
You cannot upload files this big via Fuseki. Try tdbloader or tdbloader2
instead for batch loading your triples into TDB outside Fuseki.
-Osma
18.01.2017, 17:07, Reihaneh Amini kirjoitti:
> Hi Dear sir or madam,
>
> I have a frustrating problem which is not going well with Fuseki.
> I have a .nt file size 10G and I want to upload it into fuseki server as
> TDB structure not in-memory.
>
> After running the server, if I upload it one-time I get SessionTimesOut
> error, how can I address this problem?
>
> Please help me what is your recommendation?
>
>
> Regards,
> Reihan
>
--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suominen@helsinki.fi
http://www.nationallibrary.fi