Question: How many forms of government have the Human Development Index of .7 and a Human Development Index greater than .8?
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> "form of government" . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "0.7"^^xsd:double . ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "0.8"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: Human Development Index
0.7
=
function: FilterConcept
dependencies: 1
inputs: form of government
function: FindAll
function: FilterNum
dependencies: 3
inputs: Human Development Index
0.8
>
function: FilterConcept
dependencies: 4
inputs: form of government
function: And
dependencies: 2
5
function: Count
dependencies: 6