What is {located in the territorial entity} of {Idaho}, that has {diplomatic relation} is {Dominica} ?
What is found within the state of Idaho that has discretionary relations with Dominica?
What is located in the state of Idaho that has diplomatic relations with Dominica?
SELECT ?j WHERE { resource:Idaho property:located_in_the_administrative_territorial_entity ?j . ?j property:diplomatic_relation resource:Dominica }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1221> . ?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> ?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/Q784> . }
SELECT ?answer WHERE { wd:Q1221 wdt:P131 ?answer . ?answer wdt:P530 wd:Q784}
United States of America