Question: How many landforms located on a water area terrain have a basin country of Colombia?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e <located_on_terrain_feature> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "water area" . ?e_1 <basin_country> ?e_2 . ?e_2 <pred:name> "Colombia" .   }
Program:
function: Find
inputs: Colombia
function: Relate
dependencies: 0
inputs: basin country
backward
function: FilterConcept
dependencies: 1
inputs: water area
function: Relate
dependencies: 2
inputs: located on terrain feature
backward
function: FilterConcept
dependencies: 3
inputs: landform
function: Count
dependencies: 4