Question: What city inb the US is the capital of New London County and uses the English official website http://www.ci.new-london.ct.us/ ?
Choices:
New Britain
Waukegan
Lansing
New Haven
New London
Compton
Franklin
Columbus
Greenville
Oakland
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.ci.new-london.ct.us/
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Find
inputs: New London County
function: Relate
dependencies: 4
inputs: capital
forward
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: And
dependencies: 3
6
function: What
dependencies: 7
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.new-london.ct.us/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" . ?e_1 <capital> ?e . ?e_1 <pred:name> "New London County" .  }
Answer: New London