Question: Which WOEID designates the US city with the English-language website www.ci.scottsdale.az.us?
Choices:
32997
2504498
2490057
28094
2356566
2412788
29733
2456750
15726
2366220
Answer: 2490057
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.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 <WOEID> ?pv .  }
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: WOEID