Question: Which UK town is designated by WOEID 24024 ?
Choices:
Grimsby
Wigan
Colchester
Edmonton
Royal Tunbridge Wells
Slough
Doncaster
South Shields
Hove
Blackpool
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
24024
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
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <WOEID> ?pv . ?pv <pred:value> "24024" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  }
Answer: Hove