Skip to content

Interface: VocabularyConceptRelationInput

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyConceptRelationInput

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

A direct link between two concepts in one scheme.

Content-addressed: its id is a function of (scheme, relation, subject, object), so it has no recordId or clientRef input. broader is stated child to parent: the subject is the narrower concept. A related pair is stored once, in id order.

optional evidence?: VocabularyRecordRef

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

Supporting evidence.


optional hierarchyKind?: VocabularyHierarchyKind

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

How a broader link is read; refused with related.


kind: "concept_relation"

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

Discriminator.


object: VocabularyRecordRef

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

The broader concept of a broader link, or the other end of a related link.


relation: VocabularyRelationKind

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

The link kind.


scheme: VocabularyRecordRef

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

The scheme the link belongs to.


status: VocabularyRecordStatus

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

Lifecycle status.


subject: VocabularyRecordRef

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

The narrower concept of a broader link, or one end of a related link.