Which is the princely state of the British Raj for the capital of Thiruvananthapuram?
 select distinct ?sbj where { ?sbj wdt:P36 wd:Q167715 . ?sbj wdt:P31 wd:Q1336152 } 
thiruvananthapuram: Q167715 princely state: Q1336152