} catch (final URISyntaxException e) {
System.err.println(e);
e.printStackTrace();
}
} else {
subj = new AnonymousLiteral("_:b" + ((BNode) subject).getID());
}
try {
pred = LiteralFactory.createURILiteral("<"
+ arg0.getPredicate().getNamespace()
+ arg0.getPredicate().getLocalName() + ">");
} catch (final URISyntaxException e) {
System.err.println(e);
e.printStackTrace();
}
final Value object = arg0.getObject();
if (object instanceof URI) {
try {
obj = LiteralFactory.createURILiteral("<"
+ ((URI) object).getNamespace()
+ ((URI) object).getLocalName() + ">");
} catch (final URISyntaxException e) {
System.err.println(e);
e.printStackTrace();
}
} else if (object instanceof BNode) {
obj = new AnonymousLiteral("_:b" + ((BNode) object).getID());
} else if (object instanceof org.openrdf.model.Literal) {
final org.openrdf.model.Literal lit = (org.openrdf.model.Literal) object;
if (lit.getDatatype() != null) {
try {
obj = TypedLiteralOriginalContent.createTypedLiteral("\""