Question: For the private not-for-profit educational institution whose postal code is 10027 (the academic major of this statement is mathematics education), which person is educated there?
Choices:
Art Garfunkel
Rahul Dev Burman
James E. Reilly
Simon Cowell
William Henry Harrison
Sylvester Stallone
Babyface
David Byrne
Max Fleischer
Paul Simon
Answer: Art Garfunkel
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "private not-for-profit educational institution" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "10027" .  [ <pred:fact_h> ?e ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_1 ] <academic_major> ?qpv . ?qpv <pred:value> "mathematics education" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
10027
function: FilterConcept
dependencies: 1
inputs: private not-for-profit educational institution
function: Relate
dependencies: 2
inputs: educated at
backward
function: QFilterStr
dependencies: 3
inputs: academic major
mathematics education
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5