## Tabpage: Query

Contents of this tabpage is enabled only if data in the base allows the respective functions available here. The following controls are present:

- query input selector,
- button starting evaluation and display of the query result,
- query fuzzification button,
- query defuzzification button,
- button starting detection of activity of rules,
- table containing all the linguistic variables except the unknown one and
- edit controls for the actual query in case manual modification of query input is selected.

#### Query input selector

This selector changes the way user modifies query input. In case of automatic modification, user enters an encoded string into the column for input value and system decodes it and recognizes the input type and value. If manual modification is selected, one can set the input value using the edit controls and the system encodes and saves it into the table.

#### Button starting evaluation and display of the query result

After this button is clicked, system evaluated query result for the current query and shows the Graph tabpage with the result displayed.

#### Query fuzzification button

Setting the level of fuzzification (1%, 5% or 10% of the universe of discourse spread) and pressing the button fuzzifies the query. Input values of variables defined on a universe of discourse of linguistic variables are not changed in any way by this process.

#### Query defuzzification button

Setting the level of defuzzification (1%, 5% or 10% of the universe of discourse spread) and pressing the button defuzzifies the query. Input values of variables defined on a universe of discourse of linguistic variables are not changed in any way by this process.

#### Button starting detection of activity of rules

Activity of rules in the base is detected after clicking this button.

#### Table of the variables

- Variable name - name of a variable, cannot be changed.
- ID - identification string of a variable, cannot be changed.
- Value - input value of a variable, changeable only if manual modification is selected.

Context menu with a function showing the query for the selected linguistic variable is associated with the table of variables. This function shows the input value of the variable in a graph.