Question: Which US city has the official website http://www.ci.redlands.ca.us (the language of this statement is English)?
Choices:
Redlands
Waukegan
Columbus
Kalamazoo
Compton
Oakland
Anderson
New Haven
Franklin
Boulder
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.ci.redlands.ca.us
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.ci.redlands.ca.us" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Answer: Redlands