What is {next to} of {Confederate States of America}, that has {diplomatic relation} is {Ecuador} ?
What is another to Accomplice States of America having discretionary connection of Ecuador?
What is next to Confederate States of America having diplomatic relation of Ecuador?
SELECT ?o WHERE { resource:Confederate_States_of_America property:shares_border_with ?o . ?o property:diplomatic_relation resource:Ecuador }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q81931> . ?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/P530> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q736> . }
SELECT ?answer WHERE { wd:Q81931 wdt:P47 ?answer . ?answer wdt:P530 wd:Q736}
United States of America