Question: How many mythical creatures have the Iconclass notation of 25FF411 or derive from Frankenstein (the one that is based on Frankenstein's monster)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mythical creature" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "25FF411" .  } UNION { ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Frankenstein" . ?e_1 <based_on> ?e_2 . ?e_2 <pred:name> "Frankenstein's monster" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Iconclass notation
25FF411
function: FilterConcept
dependencies: 1
inputs: mythical creature
function: Find
inputs: Frankenstein's monster
function: Relate
dependencies: 3
inputs: based on
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: derivative work
backward
function: FilterConcept
dependencies: 7
inputs: mythical creature
function: Or
dependencies: 2
8
function: Count
dependencies: 9