Question: How many literary genres are either published by Dark Horse Comics or have an OCLC control number of 28491920?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
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> "Dark Horse Comics" .  } UNION { ?e <OCLC_control_number> ?pv . ?pv <pred:value> "28491920" .  } }
Program:
function: Find
inputs: Dark Horse Comics
function: Relate
dependencies: 0
inputs: publisher
backward
function: FilterConcept
dependencies: 1
inputs: literary genre
function: FindAll
function: FilterStr
dependencies: 3
inputs: OCLC control number
28491920
function: FilterConcept
dependencies: 4
inputs: literary genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6