pub.chive.annotation.entityLink

Link from a text span in an eprint to a knowledge graph entity

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityannotation.chive.pub
Indexed

Record

record · key tid

Properties

confidence

integer

Confidence score for the link (scaled by 1000 for 0.0-1.0 range)

  • minimum: 0
  • maximum: 1000

createdAt

requiredstring · datetime

eprintUri

requiredstring · at-uri

AT-URI of the eprint containing the linked text

linkedEntity

requiredunion

The entity being linked to

Schema revision this record was created with. Absent means revision 1.

  • minimum: 1

target

requiredref

Text span being linked to an entity

Reference

#boundingRect

object

Bounding rectangle coordinates for highlight positioning. All values stored as strings to preserve floating-point precision since ATProto only supports integer type.

Properties

height

requiredstring

Page height reference (as string to preserve float precision)

pageNumber

requiredinteger

1-indexed page number for the bounding rectangle

  • minimum: 1

width

requiredstring

Page width reference (as string to preserve float precision)

x1

requiredstring

Left edge coordinate (as string to preserve float precision)

x2

requiredstring

Right edge coordinate (as string to preserve float precision)

y1

requiredstring

Top edge coordinate (as string to preserve float precision)

y2

requiredstring

Bottom edge coordinate (as string to preserve float precision)

#textPositionSelector

object

W3C TextPositionSelector for character-based targeting

Properties

Bounding rectangle for visual positioning

Reference

end

requiredinteger

End character offset

  • minimum: 0

pageNumber

requiredinteger

0-indexed page number in the document

  • minimum: 0

start

requiredinteger

Start character offset

  • minimum: 0

type

requiredstring
  • const: "TextPositionSelector"

#textQuoteSelector

object

W3C TextQuoteSelector for resilient text matching

Properties

exact

requiredstring

The exact text to match

prefix

string

Text immediately before the match

  • maxLength: 32

suffix

string

Text immediately after the match

  • maxLength: 32

type

requiredstring
  • const: "TextQuoteSelector"

#textSpanTarget

object

W3C Web Annotation target for text spans

Properties

Optional position selector for precise targeting

selector

requiredref

Primary selector for resilient text matching

Reference

source

requiredstring · at-uri

AT-URI of the source document

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.