Question: What is the WOEID for the city that is the twinned administrative body of Worcester (the one that is the birthplace of Samuel Fuller)?
Choices:
838804
2467064
657169
24083
2431602
685783
2459371
2389922
2348444
41117
Answer: 41117
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Worcester" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Samuel Fuller" .  ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Samuel Fuller
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Worcester
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: city
function: QueryAttr
dependencies: 5
inputs: WOEID