Question: Which US city was Larry Miller (the one that is educated at University of Kansas) born?
Choices:
Waukegan
Memphis
Detroit
Franklin
Topeka
Chicago
Provo
Dubuque
New Haven
Columbus
Program:
function: Find
inputs: University of Kansas
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Larry Miller
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Larry Miller" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "University of Kansas" .   }
Answer: Topeka