Skip to content

Assume Issue

Definition

<assume_issue type="question_type" predicate="p">

The plan item that assumes that a question is relevant to the user. Defines a question that should be assumed.

Attribute Type Description
type string Optional. The type can take one of the values wh_question, yn_question or kpq, but defaults to wh_question.
predicate string Required. This attribute specifies the predicate of the raised question.

Parents

Children

  • <embedded_question/> when type="kpq".

JSON format

{
  "assume_issue": {
    "question": { "kpq": { "question": { "wh": { "predicate": "destination" } } } }
  }
}

Behaviour

Using the element has exactly the same effect as if the user would have asked the question. The element defines a question through its attributes. The issue (or question) that is assumed, must have a resolve-goal in the domain file.

Examples

Assume-issue entry for assuming the issue about the departure time (which is the resolve goal of another plan):

<assume_issue type="wh_question" predicate="flight_departure"/>

Assume-issue entry for assuming a KPQ about destination knowledge:

<assume_issue type="kpq">
  <embedded_question type="wh_question" predicate="destination"/>
</assume_issue>