Question: What is John Adams (the one that has the occupation of judge) name in his native language?
Choices: Michael Whitaker Smith
Uwe Boll
ケイリー＝ヒロユキ・タガワ
Daniel Louis Castellaneta
Richard Bruce Kind
Дмитрий Шостакович
John Adams
Sylvia Sidney
James Douglas Muir Leno
Kevin McCarthy
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Adams" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "judge" .  ?e <name_in_native_language> ?pv .  }
Program:
function: Find
inputs: judge
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: name in native language
Answer: John Adams