What is {queen} of {land} of {Bahia Toco Largo Lake} ?
What is the ruler of the arrive} of Bahia Toco Largo Lake ?
What is the queen of the land} of Bahia Toco Largo Lake ?
SELECT ?e WHERE { ?o property:head_of_state ?e . resource:Bahia_Toco_Largo_Lake property:country ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7356830> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17>. ?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/P35> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q7356830 wdt:P17 ?X . ?X wdt:P35 ?answer}
Luis Arce