ReferencesEntities

Common interface for anything that references entities via mentions. Propositions, projected relationships, and other constructs can implement this to provide consistent entity access.

Inheritors

Properties

Link copied to clipboard
abstract val mentions: List<EntityMention>

Entity mentions within this construct. Typically, includes SUBJECT and OBJECT roles for relationship-like structures.

Functions

Link copied to clipboard

Whether all entity mentions have been resolved to known entities.

Link copied to clipboard
open fun objectId(): String?

Get the resolved object entity ID (if resolved).

Link copied to clipboard

Find the object mention (if any).

Link copied to clipboard

Get all resolved entity IDs from mentions.

Link copied to clipboard
open fun subjectId(): String?

Get the resolved subject entity ID (if resolved).

Link copied to clipboard

Find the subject mention (if any).