Question: What is the number of mythical creatures that appears in King Kong (that was published on 1933-09-08) or that has an iconoclass notation of 13D213?
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> "mythical creature" .  { ?e_1 <characters> ?e . ?e_1 <pred:name> "King Kong" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1933-09-08"^^xsd:date .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "13D213" .  } }
Program:
function: Find
inputs: King Kong
function: FilterDate
dependencies: 0
inputs: publication date
1933-09-08
=
function: Relate
dependencies: 1
inputs: characters
forward
function: FilterConcept
dependencies: 2
inputs: mythical creature
function: FindAll
function: FilterStr
dependencies: 4
inputs: Iconclass notation
13D213
function: FilterConcept
dependencies: 5
inputs: mythical creature
function: Or
dependencies: 3
6
function: Count
dependencies: 7