def deduplicate_resource(value)
      value.class.properties.values.map(&:term).map do |property|
        unique = value.send(property).uniq { |v| providedLabel_or_value(v) }
        value.send("#{property}=".to_sym, unique)
      end
    end
def deduplicate_resource(value)
      value.class.properties.values.map(&:term).map do |property|
        unique = value.send(property).uniq { |v| providedLabel_or_value(v) }
        value.send("#{property}=".to_sym, unique)
      end
    end
@param value [ActiveTriples::Resource]

 @return [ActiveTriples::Resource] returns the node after running `#uniq`
   against the provided labels of an nodes.