GreenfishK opened a new issue, #1810:
URL: https://github.com/apache/jena/issues/1810

   ### Version
   
   4.3.2
   
   ### What happened?
   
   Consider following insert statements of two triples. 
   ```
   PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
   
   INSERT DATA
   { 
        <http://example.com/s1> <http://example.com/p1> 
"2021-06-02T12:00:00.000+02:00"^^xsd:dateTime . 
        <http://example.com/s1> <http://example.com/p1> 
"9999-12-31T00:00:00.000+02:00"^^xsd:dateTime .
   }
   ```
   Upon execution Jena cuts of the miliseconds of the first triple but doesn't 
do that for the second triple. Here are the raw results:
   
   ```
   { "head": {
       "vars": [ "s" , "p" , "o" ]
     } ,
     "results": {
       "bindings": [
         { 
           "s": { "type": "uri" , "value": "http://example.com/s1"; } ,
           "p": { "type": "uri" , "value": "http://example.com/p1"; } ,
           "o": { "type": "literal" , "datatype": 
"http://www.w3.org/2001/XMLSchema#dateTime"; , "value": 
"9999-12-31T00:00:00.000+02:00" }
         } ,
         { 
           "s": { "type": "uri" , "value": "http://example.com/s1"; } ,
           "p": { "type": "uri" , "value": "http://example.com/p1"; } ,
           "o": { "type": "literal" , "datatype": 
"http://www.w3.org/2001/XMLSchema#dateTime"; , "value": 
"2021-06-02T12:00:00+02:00" }
         }
       ]
     }
   }
   ```
   
   Why is that? 
   
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   None


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to