Sparql in rules - GSoC final version