Question: Which US city in the US has the official website http://www.gloucester-ma.gov/ (the language of this statement is English)?
Choices: Corpus Christi
Compton
Grants Pass
Fullerton
Boulder
Waukegan
Oakland
Gloucester
Franklin
New Haven
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.gloucester-ma.gov/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.gloucester-ma.gov/
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
Answer: Gloucester