Do you really need to use rules or would you be OK with just changing the query a little?
Also, do you have a sample of the data you are using? On Thu, Sep 1, 2016 at 2:53 PM, javed khan <[email protected]> wrote: > Hello I have Employee ontology where different employees have different > positions and tasks. Some are in technical positions performing technical > tasks and have low salaries. Some are on managerial posts and have huge > salaries. > I will add salaries dynamically using Jena for each employee using Property > and value. > > Select * where { emp:employee emp:hasTask ?task} It will display all > employees tasks i-e both technical and managerial. > > I need Jena rules in which we can say: emp:employee emp:hasSalary greater > than $4,000, the query returns only managerial tasks and technical tasks > hides from her. > > Thanks for understanding my problem. If some one needs more explanation, I > can provide. > > regards > -- Paul Houle (607) 539 6254 paul.houle on Skype [email protected] Ontology2 Edition of DBpedia 2015-10 https://aws.amazon.com/marketplace/pp/B01HMUNH4Q/ <http://basekb.com/gold/> http://ontology2.com/the-book/o2dbpedia-info.html http://ontology2.com/book/chapter2/part1/dbpedia-examples.html RDF: A new Slant http://ontology2.com/the-book/rdf-a-new-slant.html <https://www.linkedin.com/grp/home?gid=8267275> Data Lakes, Data Ponds, and Data Droplets http://ontology2.com/the-book/data-lakes-ponds-and-droplets.html
