Hi,

I need to post process ResultSet such that few new columns are custom computed 
by my code and inserted into the ResultSet. For example, let's have the 
following result set:

| a | b |
| 1 | 2 |

I would like to return the following resultset instead (that would contain sum 
c = a + b)

| a | b | c |

| 1 | 2 | 3 |

where c is computed by my Java code and appended to the ResultSet originally 
obtained as a result of the initial query.

Any advice how this could be done in Jena?

NOTE: I am aware of the possibility to change the original query but that is 
not an option.

Thanks,
Milorad

Reply via email to