add setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY) to avoid duplicates caused by several representations of a vocabulary
add setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY) to avoid duplicates caused by several representations of a vocabulary