Question: What is the population for the United States city whose official website is http://www.beverlyma.gov/ (the language of this statement is English)?
Choices:
804000
196935134
3339000
2183796
4718609
107385847
215406
39502
8859635
56978
Answer: 39502
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.beverlyma.gov/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" . ?e <population> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.beverlyma.gov/
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: population