What is {subitem of} of {history of Barbados}, that has {diplomatic relation} is {Nigeria} ?
Did Barbados have a diplomatic relationship with Nigeria in the past?
Did Barbados have a diplomatic relationship with Nigeria in the past?
SELECT ?b WHERE { ?b property:diplomatic_relation resource:Nigeria . resource:history_of_Barbados property:facet_of ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2206741> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?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/Q1033> . }
SELECT ?answer WHERE { wd:Q2206741 wdt:P1269 ?answer . ?answer wdt:P530 wd:Q1033}