Question: How many unitary states report their total reserves amounting a sum not equal to 43,000,000,000 USD and also report military conflicts with Slovakia ?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <total_reserves> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "43000000000"^^xsd:double ) . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> "Slovakia" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: total reserves
43000000000 United States dollar
!=
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Find
inputs: Slovakia
function: Relate
dependencies: 3
inputs: military conflicts
forward
function: FilterConcept
dependencies: 4
inputs: unitary state
function: And
dependencies: 2
5
function: Count
dependencies: 6