if (object instanceof org.ontoware.rdf2go.model.node.BlankNode)
return new BlankNode(object.toString());
else if (object instanceof org.ontoware.rdf2go.model.node.URI||
object instanceof URIImpl)
return new URINode(object.toString());
else if (object instanceof DatatypeLiteral)
{
DatatypeLiteral dl = (DatatypeLiteral)object;
return new LiteralNode(JavaXSD.xsd2java(dl.getValue(),dl.getDatatype().toString()));
}