Question: What is the connection between Uganda to prime minister?
Choices: donated by
headquarters location
lowest point
part of the series
country of citizenship
shares border with
contains settlement
business division
software engine
office held by head of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Uganda" . ?e_2 <pred:name> "prime minister" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Uganda
function: Find
inputs: prime minister
function: QueryRelation
dependencies: 0
1
Answer: office held by head of government