Previous topic  Top  Next topic  Print this Topic
 

Distinct

 

The elimination of duplicates from queries in ObjectLogic can be set globally by the boolean configuration option 'EliminateDuplicates' (default: on). If set to 'off', the query option 'distinct' can be used for individual queries to activate the elimination of duplicates.
This query option allows you to eliminate duplicates for each query.

@{q1, options[distinct]} ?- ?X::?Y.