Question: What is the postal code of the higher education institution where John Abraham (the American footballer) studied?
Choices:
79116–79121
29208
93004
90041-3392
01601–01610, 01612–01615, 01653–01655
52073
38000
27858-4353
50011-2030
70184
Answer: 29208
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "John Abraham" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> "American football" .  ?e <postal_code> ?pv .  }
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: John Abraham
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: QueryAttr
dependencies: 5
inputs: postal code