user: ### NOW ANSWER:
Question: What type of state has a royal house of Ji and has a Ruler?
Columns: ['State', 'Type', 'Name', 'Title', 'Royal house', 'From']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Cao', 'Sovereign', 'Zhong', 'Lord', '—', '1002 BC']
SQL:

assistant: SELECT "Type" FROM "Table" WHERE "Royal house" = 'Ji' AND "Title" = 'Ruler';