Question: Which namesake neighborhood of Haarlem was established prior to 1866?
Choices:
Monte Carlo
Northridge
Flushing
Harlem
Pacific Palisades
Sherman Oaks
Jamaica
Woodland Hills
Roxbury
Astoria
Program:
function: Find
inputs: Haarlem
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: neighborhood
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1866
<
function: FilterConcept
dependencies: 4
inputs: neighborhood
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "neighborhood" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Haarlem" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1866 ) .  }
Answer: Harlem