Textual input validation of relations