Question: What town is the birthplace of Brian Cox (the one that has the occupation of television presenter)(the DOI of this statement is 10.1093/ww/9780199540884.013.261949)   ?
Choices:
Oldham
South Shields
Macclesfield
Colchester
Wimbledon
Edmonton
Wigan
Basingstoke
Doncaster
Royal Tunbridge Wells
Answer: Oldham
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Brian Cox" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "television presenter" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e ] <DOI> ?qpv . ?qpv <pred:value> "10.1093/ww/9780199540884.013.261949" .  }
Program:
function: Find
inputs: television presenter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Brian Cox
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: QFilterStr
dependencies: 4
inputs: DOI
10.1093/ww/9780199540884.013.261949
function: FilterConcept
dependencies: 5
inputs: town
function: What
dependencies: 6