Question: What is the connection between John Davis (the one that is the member of political party Democratic Party) to Democratic Party?
Choices: located in time zone
conflict
member of political party
substitute/deputy/replacement of office/officeholder
source of material
theme music
allegiance
country for sport
rector
general manager
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Democratic Party" . ?e_2 <pred:name> "Democratic Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: Democratic Party
function: QueryRelation
dependencies: 3
4
Answer: member of political party