Skip to content

Dependency

Definition

  <dependency type="wh_question" predicate="depending_predicate">
    <question type="wh_question" predicate="predicate_depended_upon"/>
  </dependency>

The element defines dependency from one question to the other.

Attribute Type Description
type string Question type. This can be a wh-question or other questions.
predicate string This is the predicate of the question which depends on the contained question.

Parents

Children

  • <question>

Behaviour

In practice, the use of this element makes TDM see the two questions as related to each other, so that a question about the predicate depended upon is seen as relevant when the user is being asked about the depending predicate. This means that TDM will not see this as a topic switch.

Examples

A dependency declaration that states that some_predicate is dependent on explanation_of_word.

  <dependency type="wh_question" predicate="some_predicate">
    <question type="wh_question" predicate="explanation_of_word"/>
  </dependency>