Question: What is the connection between Traffic (the one that has Dennis Quaid as a cast member) to Clifton Collins?
Choices:
airline hub
part of
educated at
official color
office held by head of state
owned by
member of
parent club
chairperson
cast member
Program:
function: Find
inputs: Dennis Quaid
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Traffic
function: And
dependencies: 1
2
function: Find
inputs: Clifton Collins
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Traffic" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Dennis Quaid" . ?e_2 <pred:name> "Clifton Collins" . ?e_1 ?p ?e_2 .  }
Answer: cast member