Question: Does Barbados have a diplomatic relation with United States of America?
Choices:
Ethiopia–Sweden relations
84th Academy Awards
Morocco–Spain border
Chile–Spain relations
stage name
76th Academy Awards
Mali–Taiwan relations
Oued Kiss
Barbados–United States relations
Greece–New Zealand relations
Answer: Barbados–United States relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Barbados" . ?e_2 <pred:name> "United States of America" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Barbados
function: Find
inputs: United States of America
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of