@solid-data-modules/rdflib-utils
Version:
Utility functions for the development of Solid Data Modules for RDFLib.js
29 lines (28 loc) • 689 B
TypeScript
import { IndexedFormula, NamedNode } from "rdflib";
/**
* Used query data from a user's preferences file
*/
export declare class PreferencesQuery {
private store;
/**
* The WebID of the user
*/
private webIdNode;
/**
* The preferences file
*/
private preferencesDoc;
constructor(store: IndexedFormula,
/**
* The WebID of the user
*/
webIdNode: NamedNode,
/**
* The preferences file
*/
preferencesDoc: NamedNode);
/**
* Look up the private type index. Returns null if none is found or if the predicated does not link to a proper named node
*/
queryPrivateTypeIndex(): NamedNode | null;
}