Question: What market town is the one whose TOID is 4000000074578838 (the role of this statement is human settlement) ?
Choices:
Chesterfield
Hitchin
The Pink Panther
Carmarthen
It
Bury St Edmunds
Burnley
Pontefract
Ryuichi Sakamoto
Catherine Deneuve
Answer: Bury St Edmunds
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" . ?e <TOID> ?pv . ?pv <pred:value> "4000000074578838" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv . ?qpv <pred:value> "human settlement" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074578838
function: QFilterStr
dependencies: 1
inputs: subject has role
human settlement
function: FilterConcept
dependencies: 2
inputs: market town
function: What
dependencies: 3