* @return List of expanded <tt>QueryParameterEntries</tt> according to WordNet
*/
private List<QueryParameterEntry> processEntry(
QueryParameterEntry qpe,boolean precise) {
List<QueryParameterEntry> result = new ArrayList<QueryParameterEntry>();
TaxonomyEntry taxEntry = qpe.getTaxonomy();
assert(taxEntry != null);
Double rank = qpe.getRanking();
if(rank == Double.NaN || rank == null){
rank = 0.0D;
}
//use generalization of the given entry
//possibly to find more results
if((getDirection() == UP)||(precise)){
TaxonomyEntry parent = TaxonomyStorage.getInstance().getParent(taxEntry);
if(parent != null){
QueryParameterEntry newqpe = new QueryParameterEntryImpl(parent.getLabel());
newqpe.setRanking((rank == 0) ? m2resource.taxBoost : m2resource.taxBoost*rank);
newqpe.setTaxonomy(parent);
String newInfo = qpe.TellMeAbout()+parent.getLabel()+" has been retrieved as parent of "+taxEntry.getLabel()+" using Taxonomies within JONTO ";
newqpe.AddInfo(newInfo);
result.add(newqpe);
// //logger.info("wynik:" + newqpe.getTaxonomy().getLabel());
}
}else if ((getDirection() == DOWN)||(!precise)){