What is {county seat for} of {train station serves} of {Qamishli Airport} ?
Name the county seat for the train station that services the Qamishi Airport.
What is the county seat for the train station serves at the Qamishi Airport?
SELECT ?j WHERE { ?m property:capital_of ?j . resource:Qamishli_Airport property:place_served_by_transport_hub ?m }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1432529> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P931>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q1432529 wdt:P931 ?X . ?X wdt:P1376 ?answer}