Question: How many empires participated in Second Crusade and also German-Soviet War?
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> "empire" . ?e_1 <participant> ?e . ?e_1 <pred:name> "Second Crusade" .  ?e <participant_of> ?e_2 . ?e_2 <pred:name> "German-Soviet War" .  }
Program:
function: Find
inputs: Second Crusade
function: Relate
dependencies: 0
inputs: participant
forward
function: FilterConcept
dependencies: 1
inputs: empire
function: Find
inputs: German-Soviet War
function: Relate
dependencies: 3
inputs: participant of
backward
function: FilterConcept
dependencies: 4
inputs: empire
function: And
dependencies: 2
5
function: Count
dependencies: 6