Question: How many forms of government follow the Kingdom of Italy (that follows the Austrian Empire) and have the nominal GDP of 14000000000000 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> "form of government" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Kingdom of Italy" . ?e_2 <followed_by> ?e_1 . ?e_2 <pred:name> "Austrian Empire" .  ?e <nominal_GDP> ?pv . ?pv <pred:unit> "Russian ruble" . ?pv <pred:value> "14000000000000"^^xsd:double .  }
Program:
function: Find
inputs: Austrian Empire
function: Relate
dependencies: 0
inputs: followed by
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: form of government
function: FindAll
function: FilterNum
dependencies: 6
inputs: nominal GDP
14000000000000 Russian ruble
=
function: FilterConcept
dependencies: 7
inputs: form of government
function: And
dependencies: 5
8
function: Count
dependencies: 9
Answer: 0