if (literalObject.isPlainLiteral()) {
if (literalObject.hasLang()) {
object = vf.createLiteral(literalObject.getLexicalValue(),
literalObject.getLang());
} else {
object = vf.createLiteral(literalObject.getLexicalValue());
}
} else {
object = vf.createLiteral(literalObject.getLexicalValue(),
vf.createURI(literalObject.getDatatype().toString()));
}