Create relation_self_query