Question: What United States city is located near the Mississippi River and has an English language website located at cityofdubuque.org?
Choices:
Compton
Oakland
Dubuque
New Haven
Lansing
Columbus
Moline
Franklin
Waukegan
Boulder
Program:
function: Find
inputs: Mississippi River
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.cityofdubuque.org/
function: QFilterStr
dependencies: 4
inputs: language of work or name
English
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Mississippi River" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.cityofdubuque.org/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Answer: Dubuque