Question: What is the city whose TOID is 4000000074551822?
Choices:
Cork
Portsmouth
Hiroshima
Kampala
Trieste
Kingston
Hanoi
Carlisle
Aberdeen
Kilkenny
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074551822
function: FilterConcept
dependencies: 1
inputs: city
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <TOID> ?pv . ?pv <pred:value> "4000000074551822" .  }
Answer: Carlisle