Question: What is the connection between Richard Thompson (the one that has the occupation of politician) to Democratic Party?
Choices: afflicts
has parts of the class
feast day
soundtrack album
properties for this type
occupation
commander of
business division
member of political party
nutrient
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Thompson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "Democratic Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Richard Thompson
function: And
dependencies: 1
2
function: Find
inputs: Democratic Party
function: QueryRelation
dependencies: 3
4
Answer: member of political party