Got the predicates using jena. Filtering predicates