Question: Tell me the role of the subject for Hereford, which has the TOID of 7000000000041561.
Choices:
civil parish
stage name
London borough
lead guitarist
touring band member
Member states of the United Nations
city
Kingdom of Portugal
director
lyricist
Answer: civil parish
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Hereford" . ?e <TOID> ?pv . ?pv <pred:value> "7000000000041561" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }
Program:
function: Find
inputs: Hereford
function: QueryAttrQualifier
dependencies: 0
inputs: TOID
7000000000041561
subject has role