What is {border} of {São Paulo}, that has {executive branch} is {cabinet of the governor of the state of Parana} ?
Where is the border of São Paulo, that has an govt branch with a cupboard of the governor of the kingdom of Parana?
Where is the border of São Paulo, that has an executive branch with a cabinet of the governor of the state of Parana?
SELECT ?u WHERE { resource:São_Paulo property:shares_border_with ?u . ?u property:executive_body resource:cabinet_of_the_governor_of_the_state_of_Parana }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q175> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47>. ?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/P208> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q53738330> . }
SELECT ?answer WHERE { wd:Q175 wdt:P47 ?answer . ?answer wdt:P208 wd:Q53738330}
Paraná