In VOS 5.0.5, I used ttlp to read from an .nt file with a line like this:
<http://example.com/s> <http://example.com/p>
"2008-05-30T23:36:28.72-07:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>.
Then I ran this query over http:
SELECT ?o WHERE { <http://example.com/s> <http://example.com/p> ?o . }
% curl "http://localhost:8889/sparql?default-graph-uri=&query=..."
<?xml version="1.0" ?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/result2.xsd">
<head>
<variable name="o"/>
</head>
<results distinct="false" ordered="true">
<result>
<binding name="o"><literal
datatype="http://www.w3.org/2001/XMLSchema#dateTime">2008-01-30
23:36:28.720000</literal></binding>
</result>
</results>
</sparql>
I was expecting the literal in my result to have the same string form as
the input (with perhaps some trailing zeros). In particular, the 'T' is
missing and the timezone is gone.
Curiously, when I do this test with the conductor interface
(http://localhost:8889/conductor/sparql_input.vspx), I get this string
in the result table:
2008-01-30T23:36:28.720000
(uses 'T', still no timezone)