Question: How many unitary states there are with a total fertility rate less than 7.2 and with a nominal GDP different 14000000000000 Russian rubles?
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> "unitary state" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "7.2"^^xsd:double ) . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "Russian ruble" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "14000000000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: total fertility rate
7.2
<
function: FilterConcept
dependencies: 1
inputs: unitary state
function: FindAll
function: FilterNum
dependencies: 3
inputs: nominal GDP
14000000000000 Russian ruble
!=
function: FilterConcept
dependencies: 4
inputs: unitary state
function: And
dependencies: 2
5
function: Count
dependencies: 6