Question: How many unitary states have warred with Canada or have a nominal GDP other than 14000000000000 in Russian rubles?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: military conflicts
forward
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: 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_1 <military_conflicts> ?e . ?e_1 <pred:name> "Canada" .  } UNION { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "Russian ruble" . ?pv <pred:value> ?v . FILTER ( ?v != "14000000000000"^^xsd:double ) .  } }
Answer: 3