Question: What town has the native name Doncaster and is the birthplace of Chris Brown (who was born in Doncaster)?
Choices:
Royal Tunbridge Wells
South Shields
Colchester
Basingstoke
Doncaster
Wigan
Blackburn
Edmonton
Macclesfield
Wimbledon
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Doncaster
function: FilterConcept
dependencies: 1
inputs: town
function: Find
inputs: Doncaster
function: Relate
dependencies: 3
inputs: place of birth
backward
function: Find
inputs: Chris Brown
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of birth
forward
function: FilterConcept
dependencies: 7
inputs: town
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <native_label> ?pv . ?pv <pred:value> "Doncaster" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Chris Brown" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Doncaster" .  }
Answer: Doncaster