Question: How many comedies are the ones that mainly depict Harry Potter and the Half-Blood Prince (released for Xbox 360) or were produced by Chris Elliott ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Xbox 360
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
backward
function: FilterConcept
dependencies: 4
inputs: comedy
function: Find
inputs: Chris Elliott
function: Relate
dependencies: 6
inputs: producer
backward
function: FilterConcept
dependencies: 7
inputs: comedy
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comedy" .  { ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Harry Potter and the Half-Blood Prince" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "Xbox 360" .  } UNION { ?e <producer> ?e_1 . ?e_1 <pred:name> "Chris Elliott" .  } }
Answer: 0