Question: Which town is the birthplace of John Spencer of Stoke City F.C.?
Choices:
Wigan
Hemel Hempstead
Burton upon Trent
Royal Sutton Coldfield
Stockton-on-Tees
Penzance
Barrow-in-Furness
Royal Tunbridge Wells
South Shields
Brighton
Answer: Stockton-on-Tees
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "John Spencer" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Stoke City F.C." .   }
Program:
function: Find
inputs: Stoke City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Spencer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: town
function: What
dependencies: 5