Question: What town in the county of Massachusetts in the United States has a Dewey Decimal Classification of 2-7447?
Choices: Concord
Brookline
Amherst
Andover
Westport
Framingham
Greenwich
Quincy
Uxbridge
Chapel Hill
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Massachusetts" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--7447" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--7447
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 3
inputs: town of the United States
function: What
dependencies: 4
Answer: Brookline