Question: What is the role of TOID (7000000000044498) regarding a town whose local dialing code is 01270 ?
Choices:
community
human settlement
Sukhothai Kingdom
civil parish
municipality of the Czech Republic
Ukrainian Soviet Socialist Republic
songwriter
lyricist
district of the Czech Republic
founding member
Answer: civil parish
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01270" . ?e <TOID> ?pv . ?pv <pred:value> "7000000000044498" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
01270
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttrQualifier
dependencies: 2
inputs: TOID
7000000000044498
subject has role