UNPKG

sparnatural

Version:

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

28 lines (18 loc) 762 B
import { DagIfc } from "../dag/Dag"; import { Config } from "../ontologies/SparnaturalConfig"; import ISpecificationEntry from "./ISpecificationEntry"; import ISpecificationProperty from "./ISpecificationProperty"; interface ISpecificationEntity extends ISpecificationEntry { getConnectedEntities():Array<string>; /** * @returns : the Tree of the connected entities */ getConnectedEntitiesTree(): DagIfc<ISpecificationEntity> hasConnectedEntities(): boolean; getConnectingProperties(range: string): Array<string>; getConnectingPropertiesTree(range: string): DagIfc<ISpecificationProperty>; isLiteralEntity(): boolean; hasTypeCriteria(): boolean; getDefaultLabelProperty():string|undefined; } export default ISpecificationEntity;