@bahulneel/rdflib
Version:
an RDF library for node.js. Suitable for client and server side.
17 lines (13 loc) • 397 B
text/typescript
import Node from './node-internal'
import { DefaultGraphTermType } from './types'
import { DefaultGraph as TFDefaultGraph } from './tf-types'
/** The RDF default graph */
export default class DefaultGraph extends Node implements TFDefaultGraph {
termType: typeof DefaultGraphTermType = DefaultGraphTermType;
constructor () {
super('')
}
toCanonical () {
return this.value
}
}