Local reflections between relations, spans and polynomials