Entities as Roles

English Query

English Query

Entities as Roles

Entities serve as roles in relationships. For example, in the relationship employees work for employees:

  • employee is an entity.

  • works_for is a relationship that has two roles (employee_1 and employee_2) and one phrasing (employee_1s work for employee_2s).

  • Employee_1 and employee_2 are both roles that are represented by the entity employee.

You specify roles in the <Role> role dialog box, which is available from the Relationship dialog box. In this dialog box, you add an entity if needed, select it, and then edit it to further specify its role in the relationship.

See Also

Advanced Entity Properties Dialog Box

Associating Entities

Creating an English Query Model

Defining Entities in an English Query Model

Entity Defaults

Entity Name Synonyms

Expanding an English Query Model

Name Synonyms Tab (Advanced Entity Properties Dialog Box)

Semantic Properties Tab (Advanced Entity Properties Dialog Box)

Testing an English Query Model