Context: CREATE TABLE table_name_54 (type VARCHAR, title VARCHAR)
Question: What type of state did the ruler have a title?
Answer: SELECT type FROM table_name_54 WHERE title = "ruler"