Skip to content

Interface: VocabularyExpansion

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyExpansion

Defined in: src/types/vocabulary.ts:5544

GET /api/v1/vocabulary/concepts/{concept_id}/expansion: what a query on one concept may be expanded to.

complete: boolean

Defined in: src/types/vocabulary.ts:5567

Whether every supported concept is listed.


conceptId: string

Defined in: src/types/vocabulary.ts:5550

The concept expanded (UUID); not listed in concepts.


concepts: VocabularyExpandedConcept[]

Defined in: src/types/vocabulary.ts:5558

The concepts, by id.


optional context?: VocabularyContextRef

Defined in: src/types/vocabulary.ts:5548

The stored context of the view.


direction: VocabularyHierarchyDirection

Defined in: src/types/vocabulary.ts:5554

The direction followed.


externalConcepts: VocabularyExpandedExternal[]

Defined in: src/types/vocabulary.ts:5560

The external concepts of accepted mappings, by id.


schemeId: string

Defined in: src/types/vocabulary.ts:5552

The scheme whose relations were followed (UUID).


optional stopReason?: VocabularyTraversalStopReason

Defined in: src/types/vocabulary.ts:5569

Why the expansion stopped, when incomplete.


transitive: boolean

Defined in: src/types/vocabulary.ts:5556

Whether links were followed transitively.


view: VocabularyViewRef

Defined in: src/types/vocabulary.ts:5546

The view.


withheldRelationIds: string[]

Defined in: src/types/vocabulary.ts:5565

Links not followed because a partitive link ends a transitive path (the scheme’s policy does not state partitiveTransitive: true), UUIDs.