There was an error while loading. Please reload this page.
The only xQuery values that will be converted to URI are those specifically enclosed in <>:
let $x := "http://test.com/" construct {foaf:s foaf:o {$x}.}
let $x := "http://test.com/" construct {foaf:s foaf:o <{$x}>.}
All other datatypes can be inserted as follows
let $x := "2" construct {foaf:s foaf:o {$x}^^xs:integer.}
let $check := xs:gYearMonth("2016-12") construct {foaf:dfd foaf:fdsf {$check}.}
outputs: foaf:dfd foaf:fdsf "2016-12"^^xs:gYearMonth .
foaf:dfd foaf:fdsf "2016-12"^^xs:gYearMonth .