Question: What is the WOEID of the US town whose official website is http://www.uxbridge-ma.gov/ (the language of this statement is English)?
Choices:
24522
35356
1528488
731497
32282
609125
2502265
16545
2383078
2510576
Answer: 2510576
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.uxbridge-ma.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 <WOEID> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.uxbridge-ma.gov/
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: town of the United States
function: QueryAttr
dependencies: 3
inputs: WOEID