Question: How many constitutional monarchies there are whose nominal GDP is less than 15000000000000 Russian ruble or whose Human Development Index is less than 0.7?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
15000000000000 Russian ruble
<
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: FindAll
function: FilterNum
dependencies: 3
inputs: Human Development Index
0.7
<
function: FilterConcept
dependencies: 4
inputs: constitutional monarchy
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constitutional monarchy" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "Russian ruble" . ?pv <pred:value> ?v . FILTER ( ?v < "15000000000000"^^xsd:double ) .  } UNION { ?e <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "0.7"^^xsd:double ) .  } }
Answer: 3