Question: Tell me the town that shares a border with the town that is where Steven Wilson was born?
Choices:
Hemel Hempstead
Wigan
South Shields
Warrington
Doncaster
Luton
Edmonton
St Helens
Solihull
Stratford-upon-Avon
Program:
function: Find
inputs: Steven Wilson
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: town
function: Relate
dependencies: 2
inputs: shares border with
forward
function: FilterConcept
dependencies: 3
inputs: town
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "town" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Steven Wilson" .   }
Answer: Luton