Question: What was the role of the subject of the market town (with the TOID of 4000000074578838) that was where Bob Hoskins died?
Choices:
Ukrainian Soviet Socialist Republic
songwriter
primary body
lead vocalist
touring band member
Intelectual author
animation studio
declaration of independence
human settlement
Kingdom of Portugal
Program:
function: Find
inputs: Bob Hoskins
function: Relate
dependencies: 0
inputs: place of death
forward
function: FilterConcept
dependencies: 1
inputs: market town
function: QueryAttrQualifier
dependencies: 2
inputs: TOID
4000000074578838
subject has role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Bob Hoskins" .  ?e <TOID> ?pv . ?pv <pred:value> "4000000074578838" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }
Answer: human settlement