// this is truly a hack: we check whether the string is a URI, and if yes create a URI resource...
// it would be better to carry over this information from the value constants
if(urlValidator.isValid(val.toString())) {
URI value = new URIImpl(val.toString());
result.addBinding(var.substring(var.indexOf('_',1)+1,var.lastIndexOf('_')),value);
} else {
String type = LiteralCommons.getXSDType(ext.getValue());
// we only create an in-memory representation of the value, the LMF methods
// would automatically persist it, so we create a Sesame value