} catch(IllegalArgumentException ex) {
// malformed number or date
log.warn("malformed argument for typed literal of type {}: {}", rtype.stringValue(), value);
KiWiUriResource mytype = (KiWiUriResource)createURI(Namespaces.NS_XSD+"string");
result = connection.loadLiteral(value.toString(), lang, mytype);
if(result == null) {
result = new KiWiStringLiteral(value.toString(), locale, mytype);
}