<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
  <head>
    <variable name="s"/>
    <variable name="sum"/>
  </head>
  <results>
    <result>
      <binding name="s">
        <uri>http://www.example.org/ints</uri>
      </binding>
      <binding name="sum">
        <literal datatype="http://www.w3.org/2001/XMLSchema#integer">6</literal>
      </binding>
    </result>
    <result>
      <binding name="s">
        <uri>http://www.example.org/decimals</uri>
      </binding>
      <binding name="sum">
        <literal datatype="http://www.w3.org/2001/XMLSchema#decimal">6.7</literal>
      </binding>
    </result>
    <result>
      <binding name="s">
        <uri>http://www.example.org/doubles</uri>
      </binding>
      <binding name="sum">
        <literal datatype="http://www.w3.org/2001/XMLSchema#double">3.21E4</literal>
      </binding>
    </result>
    <result>
      <binding name="s">
        <uri>http://www.example.org/mixed1</uri>
      </binding>
      <binding name="sum">
        <literal datatype="http://www.w3.org/2001/XMLSchema#decimal">3.2</literal>
      </binding>
    </result>
    <result>
      <binding name="s">
        <uri>http://www.example.org/mixed2</uri>
      </binding>
      <binding name="sum">
        <literal datatype="http://www.w3.org/2001/XMLSchema#double">4.0E-1</literal>
      </binding>
    </result>
  </results>
</sparql>
