Question: How many unitary states either have a nominal GDP of less than 9500000000 United States dollars or a total fertility rate of 4.9?
Choices:
16
17
18
19
20
21
22
23
24
25
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
9500000000 United States dollar
<
function: FilterConcept
dependencies: 1
inputs: unitary state
function: FindAll
function: FilterNum
dependencies: 3
inputs: total fertility rate
4.9
!=
function: FilterConcept
dependencies: 4
inputs: unitary state
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> "unitary state" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v < "9500000000"^^xsd:double ) .  } UNION { ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "4.9"^^xsd:double ) .  } }
Answer: 17