Question: How many democracies do we know that replaced Kingdom of Italy (the one whose demonym is italiano), and that is also named after Christopher Columbus (the one whose name in native language is Cristoforo Colombo)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e_1 <replaced_by> ?e . ?e_1 <pred:name> "Kingdom of Italy" . ?e_1 <demonym> ?pv . ?pv <pred:value> "italiano" .  ?e <named_after> ?e_2 . ?e_2 <pred:name> "Christopher Columbus" . ?e_2 <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Cristoforo Colombo" .  }
Program:
function: Find
inputs: Kingdom of Italy
function: FilterStr
dependencies: 0
inputs: demonym
italiano
function: Relate
dependencies: 1
inputs: replaced by
forward
function: FilterConcept
dependencies: 2
inputs: democracy
function: Find
inputs: Christopher Columbus
function: FilterStr
dependencies: 4
inputs: name in native language
Cristoforo Colombo
function: Relate
dependencies: 5
inputs: named after
backward
function: FilterConcept
dependencies: 6
inputs: democracy
function: And
dependencies: 3
7
function: Count
dependencies: 8