We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
original from: semsol/arc2#100
Given the following RDF:
@prefix : <http://www.example.org/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . :ints :int 1, 2, 3 . :decimals :dec 1.0, 2.2, 3.5 . :doubles :double 1.0E2, 2.0E3, 3.0E4 . :mixed1 :int 1 ; :dec 2.2 . :mixed2 :double 2E-1 ; :dec 2.2 .
The following query:
PREFIX : <http://www.example.org/> SELECT (SUM(?o) AS ?sum) WHERE { ?s :dec ?o }
should return:
array { 'variables' => array { "sum" } 'rows' => array { array { 'sum' => "11.1" 'sum type' => 'literal" } } }
but returns
array { 'variables' => array { "sum" } 'rows' => array { array { 'sum' => "11" // <=============== problem 'sum type' => 'literal" } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
original from: semsol/arc2#100
Given the following RDF:
The following query:
should return:
but returns
The text was updated successfully, but these errors were encountered: