Question: How many sovereign states are the followers of Kingdom of Italy (with the population of 35,845,000) or use هولنديون as their demonym ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Kingdom of Italy
function: FilterNum
dependencies: 0
inputs: population
35845000
=
function: Relate
dependencies: 1
inputs: followed by
backward
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: FindAll
function: FilterStr
dependencies: 4
inputs: demonym
هولنديون
function: FilterConcept
dependencies: 5
inputs: sovereign state
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Kingdom of Italy" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "35845000"^^xsd:double .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "هولنديون" .  } }
Answer: 3