kuzudb / kuzu

Embeddable property graph database management system built for query speed and scalability. Implements Cypher.
https://kuzudb.com/
MIT License
1.31k stars 94 forks source link

Enable `.nt` file storage #2814

Closed semihsalihoglu-uw closed 7 months ago

semihsalihoglu-uw commented 8 months ago

N-Triples files are valid Turtle files. They are the simplest of RDF formats where each triple is written one one line and without any prefix or base directives/shortening (so each IRI is written as full IRIs) and no grouping of triples by subject as in Turtle. Currently if I do this, I get an error:

kuzu> copy wklx from "/home/lc/Developer/semih/rdf-data/wiki-data/latest-lexemes-nt.nt";
Error: Copy exception: Unsupported file type .nt

However if I rename the file to latest-lexemes-nt.ttl then the loading works. I also tested that the Turtle and N-Triple version of the latest Wikidata lexemes dataset gives similar counts (not exact but very close).

andyfengHKU commented 7 months ago

Solved in #2836