Question: Which United States town is named after Greenwich (whose GSS code (2011) is E09000011) and is the residence of Matt Lauer?
Choices:
Morristown
Westport
Chapel Hill
Brookline
Kensington
Litchfield
Greenwich
Bedford
Amherst
West Hartford
Answer: Greenwich
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Greenwich" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> "E09000011" .  ?e_2 <residence> ?e . ?e_2 <pred:name> "Matt Lauer" .  }
Program:
function: Find
inputs: Greenwich
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E09000011
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: town of the United States
function: Find
inputs: Matt Lauer
function: Relate
dependencies: 4
inputs: residence
forward
function: FilterConcept
dependencies: 5
inputs: town of the United States
function: And
dependencies: 3
6
function: What
dependencies: 7