The base IRI of the document.
The current graph context. null means the default graph.
A map of prefixes to their namespace IRI.
Parse the document and return quad context information with source tokens. This is useful for IDE features that need to associate positions with triples.
https://www.w3.org/TR/trig/#grammar-production-triples2 triples2 handles blankNodePropertyList or collection as subject in the default graph.
Will throw an error if the visitor is missing any required methods
visitXYZ for each XYZ grammar rule.Optionalparam: any
A visitor class that constructs RDF/JS quads from TriG syntax trees. TriG extends Turtle with support for named graphs.