Question: What is the native language name of Albert Einstein (the one that wins Nobel Prize in Physics)?
Choices:
Reese Witherspoon
Sigmund Freud
Elisabeth Moss
村上 春樹
Billie Holiday
Henrik Johan Ibsen
Sissy Spacek
John Wood the elder
Dean Martin
Albert Einstein
Program:
function: Find
inputs: Nobel Prize in Physics
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: name in native language
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Albert Einstein" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Nobel Prize in Physics" .  ?e <name_in_native_language> ?pv .  }
Answer: Albert Einstein