Question: What is the connection between Brazil (the one whose short name is BRA) to Soviet Union?
Choices:
legislative body
licensed to broadcast to
grants
military conflicts
programming paradigm
child
family name
main subject
characters
cites
Answer: military conflicts
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brazil" . ?e_1 <short_name> ?pv . ?pv <pred:value> "BRA" . ?e_2 <pred:name> "Soviet Union" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brazil
function: FilterStr
dependencies: 0
inputs: short name
BRA
function: Find
inputs: Soviet Union
function: QueryRelation
dependencies: 1
2