Question: For the person educated at primary school (the location of this statement is Lawrenceburg), what is his/her native-language name?
Choices:
Владимир Самойлович Горовиц
Shah rukh Khan
Clive Staples Lewis
Carl Edward Sagan
鳥山 明
Chuck Norris
Niels Bohr
Greta Scacchi
Fred Thompson
Richard Keith Berman
Answer: Fred Thompson
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "primary school" .  [ <pred:fact_h> ?e ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_1 ] <location> ?qpv . ?qpv <pred:value> "Lawrenceburg" . ?e <name_in_native_language> ?pv .  }
Program:
function: Find
inputs: primary school
function: Relate
dependencies: 0
inputs: educated at
backward
function: QFilterStr
dependencies: 1
inputs: location
Lawrenceburg
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: name in native language