Question: How many genres of literature are published by DC Comics or are post-apocalyptic fiction?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: DC Comics
function: Relate
dependencies: 0
inputs: publisher
backward
function: FilterConcept
dependencies: 1
inputs: literary genre
function: Find
inputs: post-apocalyptic fiction
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: literary genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" .  { ?e <publisher> ?e_1 . ?e_1 <pred:name> "DC Comics" .  } UNION { ?e <genre> ?e_1 . ?e_1 <pred:name> "post-apocalyptic fiction" .  } }
Answer: 3