Use > Modeling > Introduction > Topology Query Language > Topology Query Language User Interface > Subgraph Condition Definition Dialog Box

Subgraph Condition Definition Dialog Box

This dialog box enables you to create conditions that restrict the number of query nodes that appear in the query.

To access

In Impact Analysis Manager, Enrichment Manager and the Input Query Editor in DFM, click Condition in the Add Triplet dialog box.

In the Modeling Studio, click Condition in the Subgraph Definition dialog box.

Important information

Contains the following tabs:

  • Attribute. Enables you to define attribute conditions for query nodes and relationships. See a description of the elements in the Attribute tab in the table below. Each row represents an attribute condition that you specify. Use the And/Or column and the Brackets columns to link multiple conditions. In this way, you can construct a more precise logical statement to generate the required results.

  • Qualifiers (for Enrichment Manager, Impact Analysis Manager, and the Input Query Editor in DFM). Enables you to define qualifier conditions for the selected query node or relationship. For details, see Qualifier Tab.

  • Element Type (for the Modeling Studio). Enables you to define subtype conditions for the selected query node or relationship. For details, see Element Type Tab.

Relevant tasks

User interface elements are described below:

UI Element (A-Z) Description
Add. Adds the subgraph condition definition.
Delete. Deletes the subgraph condition definition.
Up. Moves a selected row up.
Down. Moves a selected row down.
Show Criteria. Displays the subgraph condition definition in a pop-up dialog box.
And/Or Click inside the And/Or field and select either And or Or to link multiple conditions.
Attribute name Choose an attribute from the list.
Brackets Click inside the Brackets box to display a list of brackets you can use to build more complex, logical statements.
CIT

Contains the CIT selected from the Source and Target lists.

Note This option is not relevant when accessing the dialog box from the Modeling Studio.

Criteria Contains the attribute condition definition as defined in the CI Instances Dialog Box.
Not

Select NOT if you want the condition statement to do the opposite of what is defined.

Note If you select NOT, query results do not include data from the CI instances that were not assigned a value. For example, let us assume that your system contains three nodes. Node1 is assigned the value A, Node2 is assigned the value B and Node3 is not assigned a value. If you create a query in which you want to retrieve all nodes that are equal to A and you select NOT, the results of your query only include Node2 because Node3 is not assigned a value.

Operator Select the required operator. For details, see Attribute Operator Definitions.
Value Enter or select the value of the attribute. The Value options vary according to the attribute type you select.