Question: Lois Smith lives in which US city?
Choices:
Brisbane
Waukegan
St. Joseph
Topeka
New Haven
Boston
Columbus
Beaufort
Wilmington
Franklin
Program:
function: Find
inputs: Lois Smith
function: Relate
dependencies: 0
inputs: residence
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Lois Smith" .   }
Answer: Topeka