sparnatural
Version:
Visual client-side SPARQL query builder and knowledge graph exploration tool
23 lines (22 loc) • 1.01 kB
TypeScript
import { BaseRDFReader } from "../BaseRDFReader";
import { ISpecificationEntry } from "../ISpecificationEntry";
import { SHACLSpecificationProvider } from "./SHACLSpecificationProvider";
import { RdfStore } from "rdf-stores";
export declare abstract class SHACLSpecificationEntry extends BaseRDFReader implements ISpecificationEntry {
uri: string;
provider: SHACLSpecificationProvider;
constructor(uri: string, provider: SHACLSpecificationProvider, n3store: RdfStore, lang: string);
abstract getLabel(): string;
abstract getTooltip(): string | undefined;
abstract getParents(): string[];
getId(): string;
getColor(): string | undefined;
getIcon(): string;
/**
* @returns always return an empty icon. TODO : implement
*/
getHighlightedIcon(): string;
getOrder(): string | undefined;
static sort(items: SHACLSpecificationEntry[]): SHACLSpecificationEntry[];
static compare(item1: SHACLSpecificationEntry, item2: SHACLSpecificationEntry): number;
}