Interface: SpanEntityLink
Defined in: src/types/models/annotation.ts:342
A span-to-entity link associating selected text with a knowledge graph entity.
Remarks
This is different from an annotation body reference. A SpanEntityLink says "this text span refers to this entity" (identification), while body references are part of a comment about the text.
Properties
confidence?
readonlyoptionalconfidence:number
Defined in: src/types/models/annotation.ts:348
Confidence score (0-1)
createdAt
readonlycreatedAt:Timestamp
Defined in: src/types/models/annotation.ts:352
Timestamp of creation
createdBy
readonlycreatedBy:DID
Defined in: src/types/models/annotation.ts:350
DID of the user who created the link
linkedEntity
readonlylinkedEntity:EntityLinkType
Defined in: src/types/models/annotation.ts:346
The entity the span refers to
target
readonlytarget:TextSpanTarget
Defined in: src/types/models/annotation.ts:344
The text span being linked