How to find subjects and predicates