Question: What is the number of geographic regions that are located in the Andes and that are partially contained by Chittagong
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> "geographic region" . ?e <location> ?e_1 . ?e_1 <pred:name> "Andes" .  ?e_2 <partially_contains> ?e . ?e_2 <pred:name> "Chittagong" .  }
Program:
function: Find
inputs: Andes
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Chittagong
function: Relate
dependencies: 3
inputs: partially contains
forward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: And
dependencies: 2
5
function: Count
dependencies: 6