Reference
CLI: download
Export workspace data to an RDF file.
legra graph download [--output <path>] [--format trig|nq|ttl|nt|rdf]
Choose N-Quads or TriG to retain named-graph information:
legra graph download --workspace research --branch main --output research.nq --format nq
| Format | Value |
|---|---|
| N-Quads | nq |
| TriG | trig |
| Turtle | ttl |
| N-Triples | nt |
| RDF/XML | rdf |
The default output path is latest.nq.gz. Triple formats such as Turtle do
not represent named-graph boundaries. Choose the format your receiving tool
expects, and verify an export before relying on it for a data-transfer workflow.
See Upload to import RDF files.