Question: How is the Richard Taylor who is loyal to the Confederacy related to the Democratic Party?
Choices:
indigenous to
connects with
noble title
narrator
continent
writing system
member of political party
killed by
afflicts
studies
Answer: member of political party
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Taylor" . ?e_1 <allegiance> ?e_3 . ?e_3 <pred:name> "Confederate States of America" . ?e_2 <pred:name> "Democratic Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Confederate States of America
function: Relate
dependencies: 0
inputs: allegiance
backward
function: Find
inputs: Richard Taylor
function: And
dependencies: 1
2
function: Find
inputs: Democratic Party
function: QueryRelation
dependencies: 3
4