Question: What postal code applies to Tommy Lee's liberal arts college, Lee being a Willamette University student?
Choices:
07042–07043
53100
61455
0002
47703
C1A
N9A
97301
27710
12401
Answer: 97301
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Tommy Lee" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Willamette University" .  ?e <postal_code> ?pv .  }
Program:
function: Find
inputs: Willamette University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Tommy Lee
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: QueryAttr
dependencies: 5
inputs: postal code