What is the {head of state} and the {office held by head of government} of {Kerala} ?
What is the title of the head of government and what is his/her name?
What is the office held by the head of government and who is the head of state?
SELECT ?e ?m WHERE { resource:Kerala property:head_of_state ?e . resource:Kerala property:office_held_by_head_of_government ?m }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1186> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P35> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1186> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1313> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q1186 wdt:P35 ?ans_1 . wd:Q1186 wdt:P1313 ?ans_2 }
P. Sathasivam Chief Minister of Kerala