Question: Is the population of the United States city whose official English language website is http://www.ci.haverhill.ma.us/ greater than 7500?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ci.haverhill.ma.us/" . [ <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 . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "7500"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.ci.haverhill.ma.us/
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
function: VerifyNum
dependencies: 4
inputs: 7500
>
Answer: yes