Question: Which town in the United Kingdom has the WOEID 33591?
Choices:
Rotherham
Stockton-on-Tees
Windsor
Hamilton
Wigan
South Shields
Royal Tunbridge Wells
Royal Sutton Coldfield
Hampstead
Rochdale
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
33591
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> "33591" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  }
Answer: Rotherham