How to query all predicates from one node by one predicate?

the only same part for all node is two predicate: name and title .
Can I create a type schema only the two predicate and select all predicate by one predicate: name ?