Question: Who composed a visual artwork whose title is Nicholas and Alexandra ?
Choices:
Orry-Kelly
Bill Conti
David Watkin
Mel Brooks
Giuseppe Verdi
Rolfe Kent
George S. Clinton
Harry Gregson-Williams
Malcolm David Kelley
Richard Rodney Bennett
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Nicholas and Alexandra
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: composer
forward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <title> ?pv . ?pv <pred:value> "Nicholas and Alexandra" .   }
Answer: Richard Rodney Bennett