Question: What city is the twinned administrative body of the town whose OS grid reference is SW475306?
Choices:
Bendigo
Vilnius
Coimbatore
Kingston
Hanover
Cork
Amritsar
Nottingham
Plovdiv
Avignon
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OS grid reference
SW475306
function: FilterConcept
dependencies: 1
inputs: town
function: Relate
dependencies: 2
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "town" . ?e_1 <OS_grid_reference> ?pv . ?pv <pred:value> "SW475306" .   }
Answer: Bendigo