Use predicate to (optionally) determine the actual relation subclasses in build_from_rdf