What is {county seat} of {Lan Xang}, that has {STD code} is {071} ?
Which province situate of Lan Xang has STD code of 071?
Which county seat of Lan Xang has STD code of 071?
SELECT ?s WHERE { FILTER ( CONTAINS ( ?g , '071' ) ) . ?s property:local_dialing_code ?g . resource:Lan_Xang property:capital ?s }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q853477> . ?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/P473> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <071> . }
SELECT ?answer WHERE { wd:Q853477 wdt:P36 ?answer . ?answer wdt:P473 ?x FILTER(contains(?x , '071'))}
Luang Prabang