Question: How many states, followers of Soviet Union, have their nominal GDP over 15000000000000 Russian rubles?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Soviet Union" .  } UNION { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "Russian ruble" . ?pv <pred:value> ?v . FILTER ( ?v > "15000000000000"^^xsd:double ) .  } }
Program:
function: Find
inputs: Soviet Union
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: state
function: FindAll
function: FilterNum
dependencies: 3
inputs: nominal GDP
15000000000000 Russian ruble
>
function: FilterConcept
dependencies: 4
inputs: state
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1