Next: Message Summary, Previous: Query Processing, Up: ref-msg [Contents][Index]
ask_query(+QueryClass, +Query, +Help, -Answer) hookable
Prints the question Query, then reads and processes user input according to QueryClass, and returns the result of the processing, the abstract answer term Answer. The Help message is printed in case of invalid input. See mpg-ref-ask_query.
query_hook(+QueryClass, +Query, +QueryLines, +Help, +HelpLines, -Answer) hook
user:query_hook(+QueryClass, +Query, +QueryLines, +Help, +HelpLines, -Answer)
Called by ask_query/4
before processing the query. If this
predicate succeeds, then it is assumed that the query has been
processed and nothing further is done.
query_class_hook(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode) hook
user:query_class_hook(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode)
Provides the user with a method of overriding the call to
'SU_messages':query_class/5
in the preparation phase of query
processing. This way the default query class characteristics can be
changed.
'SU_messages':query_class(+QueryClass, -Prompt, -InputMethod, -MapMethod, -FailureMode) hook
Predefined query class characteristics table.
'SU_messages':query_abbreviation(+QueryClass, -Prompt, -Pairs) hook
Predefined query abbreviation table.
query_input_hook(+InputMethod, +Prompt, -RawInput) hook
user:query_input_hook(+InputMethod, +Prompt, -RawInput)
Provides the user with a method of overriding the call to
'SU_messages':query_input/3
in the input phase of query
processing. This way the implementation of the default input methods
can be changed.
'SU_messages':query_input(+InputMethod, +Prompt, -RawInput) hook
Predefined query input methods.
query_map_hook(+MapMethod, +RawInput, -Result, -Answer) hook
user:query_map_hook(+MapMethod, +RawInput, -Result, -Answer)
Provides the user with a method of overriding the call to
'SU_messages':query_map/4
in the mapping phase of query
processing. This way the implementation of the default map methods
can be changed.
'SU_messages':query_map(+MapMethod, +RawInput, -Result, -Answer) hook
Predefined query map methods.