@Test
public void distinct() throws IOException, MalformedQueryException, QueryEvaluationException, AccessDeniedException {

    QueryResultsTable noDistinct = builder().select(Selectors.languages(Selectors.PREF_LABEL), true).build().rawExecute(thesaurus);
    QueryResultsTable distinct = builder().select(Selectors.languages(Selectors.PREF_LABEL), true).distinct(true).build().rawExecute(thesaurus);
    assertTrue(distinct.getRowCount() < noDistinct.getRowCount());
}