Question: What is the WOEID for the city in the capital of Carlisle, where the population is 107524?
Choices: 2487870
2483553
2354141
23424852
15178
36679
1586614
455825
2347573
2504498
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Carlisle" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "107524"^^xsd:double . ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Carlisle
function: FilterNum
dependencies: 0
inputs: population
107524
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttr
dependencies: 3
inputs: WOEID
Answer: 15178