Question: How many New York cites have zip code 13235 or are in Westchester County?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" .  { ?e <postal_code> ?pv . ?pv <pred:value> "13235" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Westchester County" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
13235
function: FilterConcept
dependencies: 1
inputs: city of New York
function: Find
inputs: Westchester County
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of New York
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3