useGraphKeyword property
Whether to use the explicit GRAPH keyword for named graphs.
When true (default), named graphs are written with the explicit GRAPH keyword:
GRAPH <http://example.org/graph1> {
ex:subject ex:predicate ex:object .
}
When false, the shorthand syntax is used (graph name followed directly by braces):
<http://example.org/graph1> {
ex:subject ex:predicate ex:object .
}
The explicit GRAPH keyword is recommended for clarity and consistency
with SPARQL syntax. The shorthand is more compact but may be less obvious
to readers unfamiliar with TriG.
Both syntaxes are valid according to the W3C TriG specification.
Defaults to true.
Implementation
final bool useGraphKeyword;