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