Question: For water residence time that is greater than 0 years, how many landforms are located in or next to its water area?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?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_1 <residence_time_of_water> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: residence time of water
0 year
>
function: FilterConcept
dependencies: 1
inputs: water area
function: Relate
dependencies: 2
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 3
inputs: landform
function: Count
dependencies: 4
Answer: 3