user: ### NOW ANSWER:
Question: What type of state was Lu, when Yi was the ruler from the royal house of Ji?
Columns: ['State', 'Type', 'Name', 'Title', 'Royal house', 'From']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Cai', 'Sovereign', 'Yi', 'Marquis', 'Ji', '837 BC']
SQL:

assistant: SELECT "Type" FROM "Table" WHERE "Royal house" = 'Ji' AND "Name" = 'Yi' AND "State" = 'Lu';