Question: How many first-level administrative country subdivisions at an elevation above 210 feet have the capital Jeddah?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v > "210"^^xsd:double ) . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Jeddah" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
210 foot
>
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: Find
inputs: Jeddah
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
function: And
dependencies: 2
5
function: Count
dependencies: 6