return "number";
if(fgInfo.bInfo.expectedType1.equals(FreebaseInfo.BOOLEAN))
return "";
if(fgInfo.bInfo.expectedType1.equals(FreebaseInfo.TEXT))
return "description";
Formula type1Formula = new JoinFormula(FreebaseInfo.TYPE, new ValueFormula<Value>(new NameValue(fgInfo.bInfo.expectedType1)));
try {
if(fbFormulasInfo.getUnaryInfo(type1Formula)==null) {
LogInfo.logs("No unary info for=%s",type1Formula);
return null;
}
return fbFormulasInfo.getUnaryInfo(type1Formula).getRepresentativeDescrption();
}
catch(NullPointerException e) {
if(type1Formula.toString().equals("(fb:type.object.type fb:type.object)"))
return "thing";
else {
LogInfo.logs("Binfo exType1=%s, exType2=%s",fgInfo.bInfo.expectedType1,fgInfo.bInfo.expectedType2);
throw new RuntimeException(e);
}