UNPKG

sparnatural

Version:

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

28 lines (27 loc) 1.29 kB
import { ISpecificationEntity } from "../ISpecificationEntity"; import { OWLSpecificationEntry } from "./OWLSpecificationEntry"; import { OWLSpecificationProvider } from "./OWLSpecificationProvider"; import { RdfStore } from "rdf-stores"; import { DagIfc } from "../../dag/Dag"; import ISpecificationProperty from "../ISpecificationProperty"; export declare class OWLSpecificationEntity extends OWLSpecificationEntry implements ISpecificationEntity { #private; constructor(uri: string, provider: OWLSpecificationProvider, n3store: RdfStore, lang: string); getConnectedEntities(): string[]; getConnectedEntitiesTree(): DagIfc<ISpecificationEntity>; hasConnectedEntities(): boolean; getConnectingProperties(range: string): string[]; /** * Return the tree of properties connecting this entity to the specified range entity * @param range The URI of the selected target entity * @returns */ getConnectingPropertiesTree(range: string): DagIfc<ISpecificationProperty>; isLiteralEntity(): boolean; hasTypeCriteria(): boolean; getDefaultLabelProperty(): string | undefined; couldBeSkosConcept(): boolean; /*** Handling of UNION classes ***/ _isInUnion(classUri: any): boolean; _readUnionsContaining(classId: any): any[]; }