Question: Which state with the demonym croată warred with the Kingdom of Italy, home of Nino Rota?
Choices: Croatia
Finland
Kazakhstan
Sweden
Tajikistan
Lithuania
Cuba
Greece
Fiji
Kosovo
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <demonym> ?pv . ?pv <pred:value> "croată" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> "Kingdom of Italy" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Nino Rota" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
croată
function: FilterConcept
dependencies: 1
inputs: state
function: Find
inputs: Nino Rota
function: Relate
dependencies: 3
inputs: residence
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: military conflicts
backward
function: FilterConcept
dependencies: 7
inputs: state
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: Croatia