Question: What is the relationship between Million Dollar Baby (the one that has Morgan Freeman as a cast member) and Jude Ciccolella?
Choices:
place of birth
screenwriter
update method
country of citizenship
time period
indigenous to
cast member
position played on team / speciality
kit supplier
dedicated to
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Million Dollar Baby" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Morgan Freeman" . ?e_2 <pred:name> "Jude Ciccolella" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Morgan Freeman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Million Dollar Baby
function: And
dependencies: 1
2
function: Find
inputs: Jude Ciccolella
function: QueryRelation
dependencies: 3
4