What is the {office held by head of state} and the {office held by head of government} of {Jammu_and_Kashmir} ?
Which head of government and state were Jammu and Kashmir?
where did Jammu_and_Kashmir office hold by head of state and office hold by head of government?
SELECT ?l ?y WHERE { resource:Jammu_and_Kashmir property:office_held_by_head_of_government ?y . resource:Jammu_and_Kashmir property:office_held_by_head_of_state ?l }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1180> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1906> . ?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/Q1180> . ?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:Q1180 wdt:P1906 ?ans_1 . wd:Q1180 wdt:P1313 ?ans_2 }
governor of Jammu and Kashmir Chief Minister of Jammu and Kashmir