Question: How many geographic regions have a diplomatic relationship with Bangladesh (whose population is 78011624)?
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_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Bangladesh" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "78011624"^^xsd:double .   }
Program:
function: Find
inputs: Bangladesh
function: FilterNum
dependencies: 0
inputs: population
78011624
=
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: FilterConcept
dependencies: 2
inputs: geographic region
function: Count
dependencies: 3