Question: What area of London has TOID 4000000074554823 and has OS grid reference TQ275775?
Choices:
Paddington
Camberwell
Wandsworth
Chelsea
Bromley
Croydon
Islington
Lewisham
Hammersmith
Lambeth
Answer: Chelsea
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "area of London" . ?e <TOID> ?pv . ?pv <pred:value> "4000000074554823" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "TQ275775" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074554823
function: FilterConcept
dependencies: 1
inputs: area of London
function: FindAll
function: FilterStr
dependencies: 3
inputs: OS grid reference
TQ275775
function: FilterConcept
dependencies: 4
inputs: area of London
function: And
dependencies: 2
5
function: What
dependencies: 6