Question: How many wars were participated in by the Byzantine Empire or were affected by Mel Brooks?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" .  { ?e_1 <participant_of> ?e . ?e_1 <pred:name> "Byzantine Empire" .  } UNION { ?e_1 <has_effect> ?e . ?e_1 <pred:name> "Mel Brooks" .  } }
Program:
function: Find
inputs: Byzantine Empire
function: Relate
dependencies: 0
inputs: participant of
forward
function: FilterConcept
dependencies: 1
inputs: war
function: Find
inputs: Mel Brooks
function: Relate
dependencies: 3
inputs: has effect
forward
function: FilterConcept
dependencies: 4
inputs: war
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1