class ActiveFedora::Associations::RDF
def reflections_with_same_predicate
Count the number of reflections that have the same predicate as the reflection
def reflections_with_same_predicate owner.class.outgoing_reflections.select { |k, v| v.options[:predicate] == reflection.predicate } end