by iv_an_ru on Thu Oct 01, 2009 5:23 am
To load NQuads file, one should use DB.DBA.TTLP(), DB.DBA.TTLP_MT() or DB.DBA.TTLP_MT_FROM_LOCAL_FILE() function with 4-th argument (mode) equal to 512 (at least with bit 512 set on, bits 1 to 64 can also be added by taste).
The feature is not documented, but it's there. So probably it's time to add a line to the User's Guide.
( To keep the answer complete, these are other possible bits:
1 - Single quoted and double quoted strings may with newlines.
2 - Allows bnode predicates (but SPARQL processor may ignore them!).
4 - Allows variables, but triples with variables are ignored.
8 - Allows literal subjects, but triples with them are ignored.
16 - Allows '/', '#', '%' and '+' in local part of QName ("Qname
with path")
32 - Allows invalid symbols between '<' and '>', i.e. in relative
IRIs.
64 - Relax TURTLE syntax to include popular violations.
128 - Try to recover from lexical errors as much as it is possible.
256 - Allows TriG syntax, thus loading data in more than one graph.
)