Question: What is the connection between Little Nicky (the one whose duration is 87 minute) to Ozzy Osbourne?
Choices: languages spoken, written or signed
head coach
film distribute region
home venue
convicted of
has quality
office held by head of the organisation
designed by
cast member
substitute/deputy/replacement of office/officeholder
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Little Nicky" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "87"^^xsd:double . ?e_2 <pred:name> "Ozzy Osbourne" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Little Nicky
function: FilterNum
dependencies: 0
inputs: duration
87 minute
=
function: Find
inputs: Ozzy Osbourne
function: QueryRelation
dependencies: 1
2
Answer: cast member