Skip to main content

Creating vocabularies for Insight Advisor

ON THIS PAGE

Creating vocabularies for 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
Note:

The 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.

Note:

Qlik Sense supports English, French, Russian, and Spanish for vocabularies.

Creating vocabularies

  1. In an app, click Prepare and select Vocabulary.
  2. Select a language from the language drop-down.
  3. Click Create vocabulary.
  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

Vocabularies have the following limitations:

  • Vocabularies are not supported in associative insights.