Question: What is the diplomatic relationship between Brazil, abbreviated name BRA, and Guyana?
Choices: Arkansas–Louisiana border
mononymous person
Bangladesh–Gambia relations
Albania–Greece border
Germany–New Zealand Relations
Brazil–Guyana relations
Slovenia–Taiwan relations
Madagascar–Russia relations
France–Rwanda relations
South Sudan–Uganda relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brazil" . ?e_1 <short_name> ?pv . ?pv <pred:value> "BRA" . ?e_2 <pred:name> "Guyana" . ?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: Brazil
function: FilterStr
dependencies: 0
inputs: short name
BRA
function: Find
inputs: Guyana
function: QueryRelationQualifier
dependencies: 1
2
inputs: diplomatic relation
statement is subject of
Answer: Brazil–Guyana relations