Question: What is then native name of Alfred Newman, the composer of The Song of Bernadette?
Choices:
Aretha Louise Franklin
Alfred Newman
Milton Friedman
Marcel Duchamp
Stephen Colbert
Tim Burton
Lena Headey
坂本真綾
鳥山 明
Lois Smith
Program:
function: Find
inputs: The Song of Bernadette
function: Relate
dependencies: 0
inputs: composer
forward
function: Find
inputs: Alfred Newman
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: name in native language
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Alfred Newman" . ?e_1 <composer> ?e . ?e_1 <pred:name> "The Song of Bernadette" .  ?e <name_in_native_language> ?pv .  }
Answer: Alfred Newman