Question: What is the relation between Jordan and prime minister?
Choices:
legislative body
architect
studied by
opposite of
nominated for
office held by head of government
head coach
set in period
professorship
appointed by
Answer: office held by head of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jordan" . ?e_2 <pred:name> "prime minister" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jordan
function: Find
inputs: prime minister
function: QueryRelation
dependencies: 0
1