Skip to main content

Relation

Represents a semantic relationship between entities, events, or concepts extracted from the text. See the Relations guide for more details.

Fields

PropertyRequiredTypeDescription
idTruestringID of the relation used to refer to it from other objects
nameTruestringName of the relation (e.g., eat)
textReprTruestringTextual representation of the relation (e.g., eat(John, apple))
typeTruestringRelation type (verb, attr, external)
argsTrueList[Argument]Relation arguments
featsTrueMap[string, string]Relation features (e.g., negation, modality, ...)
supportFalseList[Support]Support of the relation in the text