Object representing an argument (subject/object) of a relation.

Constructors

Properties

Methods

Constructors

  • Parameters

    • name: string

      Name of the argument (e.g. John).

    • type: string

      Type of the argument (subject, object).

    • entity: null | Entity

      The entity corresponding to this argument, if any. null if the argument is not an entity.

    Returns RelationArgument

Properties

entity: null | Entity

The entity corresponding to this argument, if any. null if the argument is not an entity.

name: string

Name of the argument (e.g. John).

type: string

Type of the argument (subject, object).

Methods