Entity Mention
data class EntityMention(val span: String, val type: String, val resolvedId: String? = null, val role: MentionRole = MentionRole.OTHER, val hints: Map<String, Any> = emptyMap())
A reference to an entity within a proposition.
Properties
Link copied to clipboard
Entity ID if resolved, null if unresolved
Link copied to clipboard
The role this entity plays in the proposition
Link copied to clipboard
The entity type label from schema (e.g., "Person", "Technology"). For graph projection, this must match the relation's expected subject/object type — which is derived from the Kotlin class simpleName (or a Neo4j ownLabel) — for an edge to be produced. Matching is tolerant of case and of label-ish hints, but a genuine mismatch yields a failure whose reason names both the actual and expected type rather than silently producing no edge.