changing literal values with CONSTRUCT

Hello,

The upcoming SPARQL 1.1 will allow us to use expressions in SELECT clauses. 
This enables me to adjust literal values bound to a variable before the 
projection. For instance, I could ask for Bob's age + 1 year using a query 
like this:

SELECT (?year + 1 AS ?nextYear)
WHERE {
  <http://example.org/Bob>  ex:age  ?year
}

My question is: Is something similar possible with CONSTRUCT queries? 
Something that I could use to create -for instance- an RDF triple

  <http://example.org/Bob>  ex:ageAfterBDay  12 .

from the triple

  <http://example.org/Bob>  ex:age  11 .

by increasing the value bound to the ?year variable.

I studied the latest working draft of SPARQL 1.1 but I couldn't find something.

Thanks,
Olaf

----------------------
 Olaf Hartig
 Database and Information Systems Research Group
 Department of Computer Science
 Humboldt-Universität zu Berlin

Received on Saturday, 21 August 2010 07:50:58 UTC