Question: What United States city's official website is http://www.lafayette.in.gov/ (this statement is in the English language)?
Choices:
Columbus
Boulder
Waukegan
Oakland
San Mateo
Las Vegas
Waterloo
Compton
Lafayette
Franklin
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.lafayette.in.gov/
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.lafayette.in.gov/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Answer: Lafayette