Question: Which UK town is designated by WOEID 36191?
Choices:
Harlow
Edmonton
Stockton-on-Tees
Royal Tunbridge Wells
Ashford
Doncaster
Torquay
South Shields
Bournemouth
Wigan
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: WOEID
36191
function: FilterConcept
dependencies: 4
inputs: town
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <WOEID> ?pv . ?pv <pred:value> "36191" .  }
Answer: Stockton-on-Tees