English Query

Entity Name Synonyms

Use a name synonym to specify "Bill" as a synonym for "William" (an instance of the entity author_name). That allows users to ask a question such as "How many books did Bill write?" and have that interpreted as "How many books does the author named William write?"

A name synonym only takes effect if the question is about names of entities. For example, it would not cause the question, "Who did we send a bill to last week?" to be interpreted as, "Who did we send a william to last week?"

Likewise, a product name may be stored in the database as "chair, wicker," but users may typically refer to it as a "wicker chair." Similarly, "Big Apple" may appear in the database as "New York."

Specifying a name synonym is useful, too, if an unknown word is stored in the database but its value has not been added to the model. This can occur when:

See Also

Associating Entities

Creating an English Query Model

Defining Entities in an English Query Model

Entity Defaults

Entities as Roles

Expanding an English Query Model

Testing an English Query Model