Question: Which town with WOEID of 22179 is in the United Kingdom?
Choices: Dunfermline
South Shields
Halifax
Harrogate
Wigan
Crewe
Scarborough
Edmonton
Royal Tunbridge Wells
Merthyr Tydfil
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <WOEID> ?pv . ?pv <pred:value> "22179" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
22179
function: FilterConcept
dependencies: 1
inputs: town
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: town
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Halifax