Question: What neighborhood borders Encino and was not founded in 1659?
Choices:
Pacific Palisades
Northridge
Astoria
Sherman Oaks
Roxbury
Woodland Hills
Encino
Monte Carlo
Venice
Dorchester
Program:
function: Find
inputs: Encino
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: neighborhood
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1659
!=
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 <shares_border_with> ?e_1 . ?e_1 <pred:name> "Encino" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1659 ) .  }
Answer: Sherman Oaks