Question: How many animes were nominated for a Golden Lion or have Hayao Miyazaki as a film editor?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Golden Lion
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: anime
function: Find
inputs: Hayao Miyazaki
function: Relate
dependencies: 3
inputs: film editor
backward
function: FilterConcept
dependencies: 4
inputs: anime
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> "anime" .  { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Lion" .  } UNION { ?e <film_editor> ?e_1 . ?e_1 <pred:name> "Hayao Miyazaki" .  } }
Answer: 1