Question: How many geographic regions, located in or next to an area of water, have Daint Lucia as the lovest elevation poimt above sea level, which is 0 meters?r
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "water area" . ?e_2 <lowest_point> ?e_1 . ?e_2 <pred:name> "Saint Lucia" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <lowest_point> ; <pred:fact_t> ?e_1 ] <elevation_above_sea_level> ?qpv . ?qpv <pred:unit> "metre" . ?qpv <pred:value> "0"^^xsd:double .   }
Program:
function: Find
inputs: Saint Lucia
function: Relate
dependencies: 0
inputs: lowest point
forward
function: QFilterNum
dependencies: 1
inputs: elevation above sea level
0 metre
=
function: FilterConcept
dependencies: 2
inputs: water area
function: Relate
dependencies: 3
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: Count
dependencies: 5