Question: How many mythical creatures were either composed by Max Steiner or are the main subject of Bram Stoker's Dracula (the one whose production company is American Zoetrope)?
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 <composer> ?e_1 . ?e_1 <pred:name> "Max Steiner" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Bram Stoker's Dracula" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> "American Zoetrope" .  } }
Program:
function: Find
inputs: Max Steiner
function: Relate
dependencies: 0
inputs: composer
backward
function: FilterConcept
dependencies: 1
inputs: mythical creature
function: Find
inputs: American Zoetrope
function: Relate
dependencies: 3
inputs: production company
backward
function: Find
inputs: Bram Stoker's Dracula
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: main subject
forward
function: FilterConcept
dependencies: 7
inputs: mythical creature
function: Or
dependencies: 2
8
function: Count
dependencies: 9