Hi all,

I am currently using a TDB instance with Quadruples (DatasetGraphTDB).
I insert some quads with a literal value which is typed with xsd:long:

Node.createLiteral(Long.toString(myIdWhichIsAJavaLong), null,
XSDDatatype.XSDlong)

At this step if I print the content to the standard output I get something like:
"1900023546"^^http://www.w3.org/2001/XMLSchema#long

Then, I execute a query that return the quadruples that contain the
literal values that were initially typed as xsd:long. When I print the
content to the standard output I get:
"1900023546"^^http://www.w3.org/2001/XMLSchema#integer

Why does the datatype is not the same? Is it an issue?

Kind Regards,

Laurent

Reply via email to