Question: The Phantom of the Opera, featuring Miranda Richardson as a cast member, is based on a play by which writer?
Choices:
Richard Gere
Sylvester Stallone
John Wood
Tim Rice
Tennessee Williams
Andrew Lloyd Webber
Anna Gunn
Michael Jackson
Arthur Miller
Max Fleischer
Answer: Andrew Lloyd Webber
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <author> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "play" . ?e_2 <based_on> ?e_1 . ?e_2 <pred:name> "The Phantom of the Opera" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Miranda Richardson" .   }
Program:
function: Find
inputs: Miranda Richardson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: play
function: Relate
dependencies: 5
inputs: author
forward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7