Question: How many human settlements border Hackensack or are less than 4500 feet above sea level?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Hackensack
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: human settlement
function: FindAll
function: FilterNum
dependencies: 3
inputs: elevation above sea level
4500 foot
<
function: FilterConcept
dependencies: 4
inputs: human settlement
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" .  { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Hackensack" .  } UNION { ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v < "4500"^^xsd:double ) .  } }
Answer: 2