read_graph
Fetch an entire named graph as Turtle in a single HTTP request, bypassing the SPARQL parser for direct inspection or copying. A 404 means the graph holds no triples; use out_file for large graphs.
Instructions
Fetch one named graph whole, as Turtle.
One HTTP request, and it never touches the query parser -- the right way to read a graph you intend to inspect or copy. A CONSTRUCT returns the same triples but has to be parsed as a query first.
A 404 here means the graph holds no triples. That is not an error about the endpoint.
Graphs get large quickly; pass out_file for anything beyond a few hundred triples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | No | Graph IRI. Omit for the default graph. | |
| format | No | Media type to request: text/turtle (default), application/n-triples, application/rdf+xml, application/ld+json. | |
| dataset | No | Dataset name. Defaults to the configured one. | |
| out_file | No | Write to this path in the sandbox instead of returning the content. |