Question: To which part of the state of India whose subreddit is Goa (in the English language) does the demonym goesa apply?
Choices:
feminine
Claiborne County
Lincoln County
polar
Hamblen County
Hettinger County
cash
Spencer County
Warrick County
teaching
Answer: feminine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "Goa" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> "English" . ?e <demonym> ?pv . ?pv <pred:value> "goesa" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
Goa
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: state of India
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
goesa
applies to part