I am trying to POST a SPARQL query using the "query via POST directly"
method described in SPARQL 1.1 Protocol ( paragraph 2.1.3)
(
https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/#query-via-post-direct
)
However I am confused if Virtuoso actually does support this method
I have managed
I've had similar problems lately working with strings.
SPARQL snippets unctions that worked on other products and produced this
kind of errors in Virtuoso.
Try using:
STRDT(?literal, xsd:string)
as input to the substr() function,
and it should work.
On Tue, Nov 1, 2016 at 3:22 PM, Jindřich Mynarz
Hi everybody,
SPARQL query:
SELECT * WHERE {
> BIND ("2017"^^xsd:gYear AS ?stored)
> BIND ("2016-01-13T18:00:00.000+03:00"^^xsd:dateTime AS ?input)
> BIND (
> xsd:dateTime(CONCAT(STR(?stored),"-01-01T00:00:00.000",TZ(?input)))
> AS ?stored_datetime)
> }
Error:
> Virtuoso 22007 Error DT006: Can