Thrift module: linking

Module Services Data types Constants
linking Link
LinkTarget
Linking

Data structures

Struct: LinkTarget

Key Field Type Description Requiredness Default value
1 confidence double Confidence of this LinkTarget object. optional
2 targetId uuid.UUID A UUID that represents the target of this LinkTarget. This UUID should exist in the Entity/Situation(Mention)Set that the Linking object is contained in. optional
3 dbId string A database ID that represents the target of this linking. This should be used if the target of the linking is not associated with an Entity|Situation(Mention)Set in Concrete, and therefore cannot be linked by a UUID internal to concrete. If present, other optional field 'dbName' should also be populated. optional
4 dbName string The name of the database that represents the target of this linking. Together with the 'dbId', this can form a pointer to a target that is not represented inside concrete. Should be populated alongside 'dbId'. optional

A structure that represents the target of an entity linking annotation.

Key Field Type Description Requiredness Default value
1 sourceId uuid.UUID The "root" of this Link; points to a EntityMention UUID, Entity UUID, etc. required
2 linkTargetList list< LinkTarget > A list of LinkTarget objects that this Link contains. required

A structure that represents the origin of an entity linking annotation.

Struct: Linking

Key Field Type Description Requiredness Default value
1 metadata metadata.AnnotationMetadata Metadata related to this Linking object. required
2 linkList list< Link > A list of Link objects that this Linking object contains. required

A structure that represents entity linking annotations.