Hi All! I've found a bug which is described in subj. An easy way to reproduce (works on default empty database):
1. Add a triple where object is a string literal with more then 20 bytes in length. 2. Run a query: sparql select ?o from <http://graph> where {?s ?p ?o} order by ?s The output will be truncated to 20 bytes. Attached some logs. -- Alexander
SQL> sparql clear graph <http://graph>; callret-0 VARCHAR _______________________________________________________________________________ Clear <http://graph> -- done 1 Rows. -- 1 msec. SQL> rdf_quad_uri_l_typed('http://graph', 'http://d', 'http://b', '12345678901234567890 this text is not displayed', 'http://www.w3.org/2001/XMLSchema#string', null); Done. -- 1 msec. SQL> sparql select ?o from <http://graph> where {?s ?p ?o}; o VARCHAR _______________________________________________________________________________ 12345678901234567890 this text is not displayed 1 Rows. -- 1 msec. SQL> sparql select ?o from <http://graph> where {?s ?p ?o} order by ?s; o VARCHAR _______________________________________________________________________________ 12345678901234567890 1 Rows. -- 0 msec.
SQL> sparql clear graph <http://graph>; callret-0 VARCHAR _______________________________________________________________________________ Clear <http://graph> -- done 1 Rows. -- 1 msec. SQL> sparql insert into graph <http://graph> { <http://d> <http://b> "12345678901234567890 this text is not displayed"^^<http://www.w3.org/2001/XMLSchema#string> }; callret-0 VARCHAR _______________________________________________________________________________ Insert into <http://graph>, 1 triples -- done 1 Rows. -- 2 msec. SQL> sparql select ?o from <http://graph> where {?s ?p ?o}; o VARCHAR _______________________________________________________________________________ 12345678901234567890 this text is not displayed 1 Rows. -- 1 msec. SQL> sparql select ?o from <http://graph> where {?s ?p ?o} order by ?s; o VARCHAR _______________________________________________________________________________ 12345678901234567890 1 Rows. -- 1 msec.