Question: What's the role of the Macclesfield with the TOID of 7000000000044674?
Choices:
touring band member
city
Sukhothai Kingdom
animation studio
Intelectual author
historian
stage name
songwriter
civil parish
declaration of independence
Answer: civil parish
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Macclesfield" . ?e <TOID> ?pv . ?pv <pred:value> "7000000000044674" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }
Program:
function: Find
inputs: Macclesfield
function: QueryAttrQualifier
dependencies: 0
inputs: TOID
7000000000044674
subject has role