I create an ontology using Protégé 3.4.8 and also i create some SWRL rules.
Now i'am using Jena API to manipulate the ontology and i use the reasoner
Pellet in order to support this rules.
For example, one of my a rule said :
person(x) and hasAge (x,y) and Age(y) and greaterThan (y,16) and
lessThan(60)
--> Adult(x)

Now i need to construct a SPARQL query that can return the set of users who
are adult.

What I'am asking for is how  can i define SPARQL queries based  on SWRL
Rules?

Thanks for help

Reply via email to