Question: What is the connection between Kevin McCarthy (the one that is educated at Drake University) to Democratic Party?
Choices:
symptoms
subsidiary
capital
tributary
manufacturer
set in period
sex or gender
member of political party
has part
has immediate cause
Program:
function: Find
inputs: Drake University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Kevin McCarthy
function: And
dependencies: 1
2
function: Find
inputs: Democratic Party
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kevin McCarthy" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Drake University" . ?e_2 <pred:name> "Democratic Party" . ?e_1 ?p ?e_2 .  }
Answer: member of political party