Sparql in rules

Sparql in rules allowing the combination of sparql commands with rules
terms in a rule(2).