Skip to content

qanary-component-dis/entity-types

This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.

  • Package: qanary-component-dis
  • Source file: apps/qanary-component-dis/src/entity-types.ts

Supported entity types for disambiguation

function extractEntityTypeFromUri(entityTypeUri: string): EntityType | null

Parameters

  • entityTypeUri (string) Returns
  • EntityType | null Defined at: line 62
function getEntityTypeConfig(entityType: EntityType): EntityTypeConfig

Parameters

  • entityType (EntityType) Returns
  • EntityTypeConfig Defined at: line 79
function generateEntityQuery(entityType: EntityType): string

export function isSupportedEntityType(entityTypeUri: string): boolean const extractedType = extractEntityTypeFromUri(entityTypeUri); return extractedType !== null;

Parameters

  • entityType (EntityType) Returns
  • string Defined at: line 91
interface EntityTypeConfig

Entity type mapping configuration

Properties

  • entityType (EntityType)
  • namespaceUri (string)
  • name (string)
  • identifier (string) Defined at: line 15
type EntityType = "TREE" | "KITA" | "DISTRICT"

Supported entity types for disambiguation

Defined at: line 10

const ENTITY_TYPE_PREFIX: string

Defined at: line 24

const ENTITY_TYPE_CONFIGS: Record<EntityType, EntityTypeConfig>

Defined at: line 28