import { DataFactory } from "https://deno.land/x/ldkit@v0.6.0/rdf.ts";
A factory for instantiating RDF terms and quads.
Type Parameters
optional
Q extends RDF.BaseQuad = RDF.QuadMethods
defaultGraph(): DefaultGraph
fromTerm<T extends RDF.Term>(original: T): (T extends RDF.NamedNode ? NamedNode : (T extends RDF.BlankNode ? BlankNode : (T extends RDF.Literal ? Literal : (T extends RDF.Variable ? Variable : (T extends RDF.DefaultGraph ? DefaultGraph : (T extends Q ? Q : unknown))))))
Create a deep copy of the given term using this data factory.
literal(value: string, languageOrDatatype?: string | RDF.NamedNode): Literal
resetBlankNodeCounter(): void
Reset the internal blank node counter.