Question: What is the role of TOID of 4000000074564164 with a city that is depicted by Bangor (the one whose inventory number is 1132631) ?
Choices:
London borough
district of the Czech Republic
guitarist
lead vocalist
human settlement
chairperson
Thonburi Kingdom
the liberal state
stage name
Ukrainian Soviet Socialist Republic
Answer: human settlement
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <depicts> ?e . ?e_1 <pred:name> "Bangor" . ?e_1 <inventory_number> ?pv_1 . ?pv_1 <pred:value> "1132631" . ?e <TOID> ?pv . ?pv <pred:value> "4000000074564164" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }
Program:
function: Find
inputs: Bangor
function: FilterStr
dependencies: 0
inputs: inventory number
1132631
function: Relate
dependencies: 1
inputs: depicts
forward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: TOID
4000000074564164
subject has role