Question: What is the connection between The Santa Clause 2 to Tim Allen (the one that is the member of political party Republican Party)?
Choices:
cast member
vehicle normally used
rector
film release region
original film format
owner of
father
contains administrative territorial entity
employer
costume designer
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Santa Clause 2" . ?e_2 <pred:name> "Tim Allen" . ?e_2 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Republican Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Santa Clause 2
function: Find
inputs: Republican Party
function: Relate
dependencies: 1
inputs: member of political party
backward
function: Find
inputs: Tim Allen
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4