Select of predicate puts predicate in schema first

* this allows selecting the predicates efficiently by keyboard
Add a test "real_data" dir in spec/dummy and use it for stubs
Move all real_data tests to spec/dummy subdir
Also add predicate_defining_resources from current graph