Question: What is the city of the United States whose official website in English is http://www.cityofsummit.org/ and whose country is United States of America?
Choices:
Columbus
Lansing
New Haven
Claremont
Franklin
Compton
Omaha
Oakland
Summit
Waukegan
Answer: Summit
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.cityofsummit.org/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.cityofsummit.org/
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country
backward
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: And
dependencies: 3
6
function: What
dependencies: 7