What is {county seat} of {is in the Indian reserve of} of {A Capela} ?
Which {county seat} {is in the Indian reserve of} of {A Capela} ?
Which {county seat}  {is in the Indian reserve of} of {A Capela} ?
SELECT ?y WHERE { resource:A_Capela property:located_in_the_administrative_territorial_entity ?b . ?b property:capital ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q581926> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?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/P36> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q581926 wdt:P131 ?X . ?X wdt:P36 ?answer}
A Coruña Pontedeume