next up previous contents
Next: Views and path expressions Up: User-defined Answer Formats Previous: Expressions in head and

Conditional expressions

This is a feature which is just listed here without examples. It allows to insert a expand a substring based on the derivation of a condition.

{IFTHENELSE(predicate,thenstring,elsestring}

The `predicate' can be one of

Example: {GREATER({this.salary},10000)}. Note that the arguments may also contain expressions. The predicate {ISFIRSTFRAME()} is true, when ConceptBase starts with processing answer frames. It is false, when the first frame has been processed. The predicate {ISlASTFRAME()} is true when ConceptBase starts with processing the last answer frame for a given query. Otherwise, it is false.



ConceptBase Team