Question: What administrative territorial entity borders Israel whose demonym is israelieni and was established before 1965?
Choices:
African Union
Syria
Washoe County
Jefferson County
Jordan
Cyprus
West Bank
Egypt
Washington County
Orange County
Program:
function: Find
inputs: Israel
function: FilterStr
dependencies: 0
inputs: demonym
israelieni
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: FindAll
function: FilterYear
dependencies: 4
inputs: inception
1965
<
function: FilterConcept
dependencies: 5
inputs: administrative territorial entity
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Israel" . ?e_1 <demonym> ?pv . ?pv <pred:value> "israelieni" .  ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1965 ) .  }
Answer: West Bank