Question: Which language is associated with mumbai, the subreddit of the city whose demonym is Mumbaikar?
Choices:
Estonian
Putonghua
multiple languages
Dutch
Occitan
Polish
English
National language of Republic of China
Macedonian
Romanian
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Mumbaikar
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrQualifier
dependencies: 2
inputs: subreddit
mumbai
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Mumbaikar" . ?e <subreddit> ?pv . ?pv <pred:value> "mumbai" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Answer: English