Question: How many forms of government we know with Human Developmen index other than 0.3, and with nominal GDP below 1001900000000 Czech koruna?
Choices: 35
36
37
38
39
40
41
42
43
44
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "Czech koruna" . ?pv <pred:value> ?v . FILTER ( ?v < "1001900000000"^^xsd:double ) .  } UNION { ?e <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "0.3"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
1001900000000 Czech koruna
<
function: FilterConcept
dependencies: 1
inputs: form of government
function: FindAll
function: FilterNum
dependencies: 3
inputs: Human Development Index
0.3
!=
function: FilterConcept
dependencies: 4
inputs: form of government
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 36