qanary-component-dis/entity-types
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-dis/entity-types
Section titled “qanary-component-dis/entity-types”- Package:
qanary-component-dis - Source file:
apps/qanary-component-dis/src/entity-types.ts
Summary
Section titled “Summary”Supported entity types for disambiguation
Functions
Section titled “Functions”extractEntityTypeFromUri
Section titled “extractEntityTypeFromUri”function extractEntityTypeFromUri(entityTypeUri: string): EntityType | nullParameters
entityTypeUri(string) ReturnsEntityType | nullDefined at: line 62
getEntityTypeConfig
Section titled “getEntityTypeConfig”function getEntityTypeConfig(entityType: EntityType): EntityTypeConfigParameters
entityType(EntityType) ReturnsEntityTypeConfigDefined at: line 79
generateEntityQuery
Section titled “generateEntityQuery”function generateEntityQuery(entityType: EntityType): stringexport function isSupportedEntityType(entityTypeUri: string): boolean const extractedType = extractEntityTypeFromUri(entityTypeUri); return extractedType !== null;
Parameters
entityType(EntityType) ReturnsstringDefined at: line 91
Interfaces
Section titled “Interfaces”EntityTypeConfig
Section titled “EntityTypeConfig”interface EntityTypeConfigEntity type mapping configuration
Properties
entityType(EntityType)namespaceUri(string)name(string)identifier(string) Defined at: line 15
EntityType
Section titled “EntityType”type EntityType = "TREE" | "KITA" | "DISTRICT"Supported entity types for disambiguation
Defined at: line 10
Constants
Section titled “Constants”ENTITY_TYPE_PREFIX
Section titled “ENTITY_TYPE_PREFIX”const ENTITY_TYPE_PREFIX: stringDefined at: line 24
ENTITY_TYPE_CONFIGS
Section titled “ENTITY_TYPE_CONFIGS”const ENTITY_TYPE_CONFIGS: Record<EntityType, EntityTypeConfig>Defined at: line 28
In qanary-component-dis
Section titled “In qanary-component-dis”qanary-component-dis/entity-typesqanary-component-dis/fuzzy-matchingqanary-component-dis/handlerqanary-component-dis/implementationqanary-component-dis/indexqanary-component-dis/types