UNPKG

sparnatural

Version:

Visual client-side SPARQL query builder and knowledge graph exploration tool

25 lines (24 loc) 1.07 kB
import { BaseRdfStore } from "../BaseRdfStore"; import { ISpecificationEntry } from "../ISpecificationEntry"; import { SHACLSpecificationProvider } from "./SHACLSpecificationProvider"; import { RdfStore } from "rdf-stores"; import { Shape } from "rdf-shacl-commons"; export declare abstract class SHACLSpecificationEntry extends BaseRdfStore implements ISpecificationEntry { uri: string; provider: SHACLSpecificationProvider; shape: Shape; 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; }