Question: What is the connection between The Parent Trap (the one whose production company is Walt Disney Studios Motion Pictures) to Dennis Quaid?
Choices:
diplomatic relation
mascot
cast member
rector
time period
published in
designed to carry
use
place of birth
parent club
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Parent Trap
function: And
dependencies: 1
2
function: Find
inputs: Dennis Quaid
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Parent Trap" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_2 <pred:name> "Dennis Quaid" . ?e_1 ?p ?e_2 .  }
Answer: cast member