Question: What is the WOEID of the town where Phyllis Logan was born?
Choices:
2405797
2385304
728807
332470
2493227
376765
2458923
31342
15127
2524457
Answer: 31342
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Phyllis Logan" .  ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Phyllis Logan
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttr
dependencies: 2
inputs: WOEID