Question: How many empires were participated in the Ottoman wars in Europe?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Ottoman wars in Europe
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: war
function: Relate
dependencies: 2
inputs: participant
forward
function: FilterConcept
dependencies: 3
inputs: empire
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "empire" . ?e_1 <participant> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "war" . ?e_1 <part_of> ?e_2 . ?e_2 <pred:name> "Ottoman wars in Europe" .   }
Answer: 2