Ok, but did you understand what I was trying to say? As long as your data format does have quad data, the TDB loader will assume to load it into the corresponding graphs defined in the data. And only the triples without being mapped a non default graph will be loaded into the graph given with --graph

As I said, either you avoid the generation as quads, or you can convert the quad stream to triples stream. TDB loader can also read from stdin, so you could pipe the quads to triples to TDB loader.

On 11.04.22 09:11, [email protected] wrote:
Hi,
I load triples in RDF Thrift format generated using Jena's
StreamRDF2Thrift class.
Loading the same triples with the ttl format I
have no problems.

Il 11.04.2022 07:33 Lorenz Buehmann ha scritto:

There is no error but a warning or do I misunderstand you?
The
problem is that your data is already quads, so for each triple a
graph is already given and thus put in the corresponding graph (if the

graph IRI is mentioned). Only for triples without a graph those
triples
will be put into the graph you set via --graph parameter


What kind of data do you load? N-Quads or TriG? Not sure if the TDB
loader has flag to ignore the graphs in the file, if not simply
converting to N-Triples in advance would be an option which would just

drop the graph from the quad and makes it a plain triple.

On
10.04.22 18:06, [email protected] [2]wrote:
hi i am using
jena-fuseki version 4.3.2 i have a dataset with default graph and
another graph: when i trying to run the command:
E:apache-jena-4.3.2battdb2_tdbloader.bat -loader=parallel
-graph=http://host/graphname1 -loc
E:apache-jena-fuseki-4.3.2rundatabasesbatch E:sharedttlcustomer.rt but I
get the error: "Warning: Quads format given - only the default graph is
loaded into the graph for --graph" Suggestion? Does the new version
(4.4.0) have any improvements for the loading phase (tdbloader)? thanks
Voucher MISE per P.IVA e PMI: fino a 2500EUR per la Banda Ultralarga.
https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&wt_np=tiscali.link.footermail.voucherbusiness.btb
[1]..

Voucher MISE per P.IVA e PMI: fino a 2500€ per la Banda Ultralarga. 
https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&wt_np=tiscali.link.footermail.voucherbusiness.btb..


Reply via email to