Question: The Florida county with West Palm Beach as its capital is the namesake of which US town?
Choices:
Chapel Hill
Palm Beach
West Hartford
Uxbridge
Greenwich
Kensington
Brookline
Florence
Westport
Bedford
Answer: Palm Beach
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e_1 <named_after> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Florida" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> "West Palm Beach" .   }
Program:
function: Find
inputs: West Palm Beach
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: county of Florida
function: Relate
dependencies: 2
inputs: named after
forward
function: FilterConcept
dependencies: 3
inputs: town of the United States
function: What
dependencies: 4