eyereasoner
Version:
Distributing the [EYE](https://github.com/eyereasoner/eye) reasoner for browser and node using WebAssembly.
13 lines (12 loc) • 484 B
TypeScript
import { Quad, Term } from '@rdfjs/types';
import { Store } from 'n3';
export declare class N3Writer {
private _writer;
_encodePredicate(term: Term): string;
_encodeSubject(entity: Term, store: Store): string;
_encodeObject(entity: Term, store: Store): string;
quadToString(t: Quad, store: Store): string;
quadsStoreToString(store: Store, graph?: Term): string;
quadsToString(quads: Quad[]): string;
}
export declare function write(quads: Quad[]): string;