Skip to main content Skip to complementary content

Adding synonyms to Insight Advisor

You can create vocabularies for Insight Advisor. This enables you to define terms and values that may be used in queries that are not present in your data model.

You can create vocabularies in Vocabulary under Business logic in the Prepare tab. Vocabularies help improve the success of natural language queries. For example, you can use vocabularies to define:

  • Alternative names or synonyms for fields, master items, and values.

    For example, Earnings, Proceeds, and Revenue for the field Income.

  • Names for coded values

    For example, names for medical classifications codes.

  • Names for groups of values from a field

    For example, defining named age ranges for a field containing ages.

  • Common acronyms and abbreviations not in the data.

    For example, yr for year or num for number.

When you create a vocabulary, you define the terms associated to that vocabulary. You then associate the terms to fields and master items in your app. Optionally, terms can be associated to individual values from the selected fields and master items. The following conditions are available when defining terms for values from fields:

  • Greater than
  • Greater than or equal to
  • Less than
  • Less than or equal to
  • In
  • Not in
  • In range
Information noteThe availability of conditions for fields varies depending on the values in the fields.

Vocabularies are created by language for an app. Each language's vocabulary is separate.

Information noteQlik Sense supports English, French, Russian, and Spanish for vocabularies.
  1. In an app, click Prepare and select Vocabulary.
  2. Select a language from the language drop-down.
  3. Click Create terms.
  4. Enter terms for the vocabulary.
  5. Select the field or master item to which the vocabulary applies.
  6. Optionally, select a condition and the values to which the condition applies.
  7. Click Create.

Limitations

Synonyms have the following limitations:

  • Master items and temporal fields do not support conditions.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!