Dear all, I'm working with jena framework, integrated with pellet, in the last months. In my opinion Jena would be more expressive if we could define SPARQL commands in rules and/or define rules based on Sparql commands. Something look alike is spin-rules, a SPARQL-based rule. I did a few tests with TopBraid, a spin framework, and so far the only thing that I can't do with Jena that I can do with TopBraid is aggregated queries. Right now, when I have a (possible) rule based on Sparql command I load to my knowledge base with "Construct" clause. However, as I said before, would be more expressive if I could do with dynamic data.
I think that would be an interest projet for GSoC 2014. I'm not able to be a mentor but if someone consider interested and open a in a new JIRA item, perhaps I will be a candidate to implement. Best regards, Miguel