Question: How many literary work genres fall within the work field of Ennio Morricone or were nominated for CWA New Blood Dagger ?
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> "literary genre" .  { ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "Ennio Morricone" .  } UNION { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "CWA New Blood Dagger" .  } }
Program:
function: Find
inputs: Ennio Morricone
function: Relate
dependencies: 0
inputs: field of work
forward
function: FilterConcept
dependencies: 1
inputs: literary genre
function: Find
inputs: CWA New Blood Dagger
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: literary genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6