What is {county seat} of {Nguyen dynasty}, that has {label in original language} is {Thành Phố Huế} ?
"Which county seat in Nguyen Dynasty, has the label in the original language Thành Phố Huế ?"
SELECT ?answer WHERE { wd:Q6500483 wdt:P36 ?answer . ?answer wdt:P1705 ?x FILTER(contains(?x,'Thành Phố Huế'))}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6500483> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1705> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Thành Phố Huế> . }
"Which county seat in Nguyen Dynasty, has the label in the unique language Thành Phố Huế ?"