Question: What area of the London do we recognize whose TOID is 4000000074542703 and whose country is UK ?
Choices:
Paddington
Kensington
Croydon
Bromley
Hammersmith
Westminster
Barnet
Lambeth
Islington
Wandsworth
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074542703
function: FilterConcept
dependencies: 1
inputs: area of London
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: area of London
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "area of London" . ?e <TOID> ?pv . ?pv <pred:value> "4000000074542703" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  }
Answer: Barnet