Question: What person is educated at the University of Kent and is a cast member of The Lord of the Rings: The Return of the King (that has Bret McKenzie as a cast member)?
Choices:
Orlando Bloom
Sylvester Stallone
William Henry Harrison
Bernard Hill
Cate Blanchett
Tom Wilkinson
Max Fleischer
Ian Holm
Elijah Wood
Brad Dourif
Program:
function: Find
inputs: University of Kent
function: Relate
dependencies: 0
inputs: educated at
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Bret McKenzie
function: Relate
dependencies: 3
inputs: cast member
backward
function: Find
inputs: The Lord of the Rings: The Return of the King
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: cast member
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "University of Kent" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> "The Lord of the Rings: The Return of the King" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Bret McKenzie" .  }
Answer: Orlando Bloom