Question: What type of state has a royal house of ji and has a ruler?
SQL: SELECT Type FROM table WHERE Royal house = ji AND Title = ruler