if(arg.getParamDefaultalue() != null)
arg_value = tkb.createLiteral(arg.getParamDefaultalue());</BUG>
ValueBinding parambinding = (ValueBinding) var.getBinding();
if (parambinding != null && parambinding.getValue() != null) {
<BUG>arg_value = tkb.createXSDLiteral(parambinding.getValueAsString(),
</BUG>
parambinding.getDatatype());
<BUG>}
if (arg_value != null) {</BUG>
tkb.setPropertyValue(varobj, dmap.get("hasValue"), arg_value);

else
tkb.addTriple(varobj, dmap.get("hasBindingID"),
tkb.createLiteral(""));
}
} else if (var.isParameterVariable()) {
ValueBinding parambinding = (ValueBinding) var.getBinding();
if (parambinding != null && parambinding.getValue() != null) {
KBObject arg_value = tkb.createXSDLiteral(parambinding.getValueAsString(),
parambinding.getDatatype());
tkb.setPropertyValue(varobj, dmap.get("hasValue"), arg_value);
