Write SQL query to solve given problem: Give the state and type of term of the legislator with the google entity ID of kg:/m/02pyzk.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T2.state, T2.type FROM historical AS T1 INNER JOIN `historical-terms` AS T2 ON T1.bioguide_id = T2.bioguide WHERE T1.google_entity_id_id = 'kg:/m/02pyzk'