Question: Do the postal codes 85250–85271 belong to the United States city whose official website is http://www.ci.scottsdale.az.us/ (in English)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
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.scottsdale.az.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 <postal_code> ?pv . ?pv <pred:value> "85250–85271" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.ci.scottsdale.az.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: postal code
function: VerifyStr
dependencies: 4
inputs: 85250–85271