Question: What United States city is associated with the English language subreddit known as royaloak?
Choices:
Oakland
New Haven
Franklin
Baltimore
Oak Park
Royal Oak
Columbus
Waukegan
Boulder
Livonia
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
royaloak
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <subreddit> ?pv . ?pv <pred:value> "royaloak" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Answer: Royal Oak