Question: What is the local area code for the United States city whose official website is http://www.ci.upland.ca.us (in English)?
Choices: 343
0391
778
08717
0439
01475
909
01282
01234
443
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.ci.upland.ca.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 <local_dialing_code> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.ci.upland.ca.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: local dialing code
Answer: 909