log.debug(" > limit : " + limit);
log.debug(" > offset: " + offset);
log.debug(" > ldpath: " + ldpath);
FieldQuery query;
if(ldpath != null && !ldpath.isEmpty()){ //STANBOL-417
query = new LDPathFieldQueryImpl();
((LDPathFieldQueryImpl)query).setLDPathSelect(ldpath);
} else { //if no LDPath is parsed select the default field
query = queryFactory.createFieldQuery();
Collection<String> selectedFields = new ArrayList<String>();
selectedFields.add(field); //select also the field used to find entities