Question: What is the number of mountain ranges featured in the Lesotho terrain and connected to the Iberian Peninsula?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Lesotho
function: Relate
dependencies: 0
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 1
inputs: mountain range
function: Find
inputs: Iberian Peninsula
function: Relate
dependencies: 3
inputs: connects with
backward
function: FilterConcept
dependencies: 4
inputs: mountain range
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mountain range" . ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> "Lesotho" .  ?e <connects_with> ?e_2 . ?e_2 <pred:name> "Iberian Peninsula" .  }
Answer: 0