Casting a literal to a typed literal?


With respect to the example in Section 11.1, can someone point me to
the aspect of the grammar that handles casting to a typed literal?
If these are meant as function calls, then the last line should use


and not


The full example is:

PREFIX a:      <>
PREFIX dc:     <>
PREFIX xsd:    <>

SELECT ?annot
WHERE ( ?annot  a:annotates  <> )
      ( ?annot  dc:created   ?date )
  AND xsd:dateTime(?date) < xsd:dateTime("2005-01-01T00:00Z")



Received on Tuesday, 15 March 2005 16:51:55 UTC