Question: What does (which has cast member Kevin Corrigan) have to do with Maura Tierney?
Choices:
notable people with this condition
cast member
original language of film or TV show
place of birth
ancestral home
relative
position held
geography of topic
chairperson
continent
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Scotland" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Kevin Corrigan" . ?e_2 <pred:name> "Maura Tierney" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kevin Corrigan
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Scotland
function: And
dependencies: 1
2
function: Find
inputs: Maura Tierney
function: QueryRelation
dependencies: 3
4