Question: How many comedies mainly portray aesthetics or Superman whose publication date is 1987-12-22?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: aesthetics
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: comedy
function: Find
inputs: Superman
function: FilterDate
dependencies: 3
inputs: publication date
1987-12-22
=
function: Relate
dependencies: 4
inputs: main subject
backward
function: FilterConcept
dependencies: 5
inputs: comedy
function: Or
dependencies: 2
6
function: Count
dependencies: 7
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> "aesthetics" .  } UNION { ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Superman" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1987-12-22"^^xsd:date .  } }
Answer: 0