// Value casted =
System.out.print("Object type is " + o.getClass().getName() + " ");
System.out.print(data.getColumnLabel(i) + " = ");
if (o instanceof VirtuosoRdfBox) // Typed literal
{
VirtuosoRdfBox rb = (VirtuosoRdfBox) o;
System.out.println(rb.rb_box + " lang=" + rb.getLang() + " type=" + rb.getType() + " ro_id=" + rb.rb_ro_id);
}
else if (o instanceof VirtuosoExtendedString) // String representing an IRI
{
VirtuosoExtendedString vs = (VirtuosoExtendedString) o;
if (vs.iriType == VirtuosoExtendedString.IRI) System.out.println("<" + vs.str + ">");