Pick relation type from a lookup table, instead of allowing free text. Closes #4