Question: How is Ned Kelly (the one whose composer is Klaus Badelt) related to Orlando Bloom ?
Choices:
cast member
film crew member
public holiday
next higher rank
part of the series
head of state
place of death
chairperson
has contributing factor
doctoral advisor
Program:
function: Find
inputs: Klaus Badelt
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Ned Kelly
function: And
dependencies: 1
2
function: Find
inputs: Orlando Bloom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ned Kelly" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Klaus Badelt" . ?e_2 <pred:name> "Orlando Bloom" . ?e_1 ?p ?e_2 .  }
Answer: cast member