Hi Pasquale,
What is geo:wktLiteral? It’s a datatype? In that case, you want:
STRDT(?WKT, geo:wktLiteral)
which is how you create a typed literal for a custom datatype in SPARQL:
(In systems that have GeoSPARQL support, geo:wktLiteral is probably *also* a constructor function that constructs typed literals of type geo:wktLiteral, in the same way how the XSD datatypes work as constructor functions in vanilla SPARQL. But Tarql doesn’t have GeoSPARQL support, so it doesn’t know about these constructor functions, and hence you need to create the typed literals the pedestrian way, with STRDT.)
Also I don’t think that re-binding an existing variable to a different value will work. So you probably will need to bind to a new variable:
BIND (… AS ?WKT_typed)
Hope that helps,
Richard