Question: How many anime television series derives Speed Racer composed by Michael Giacchino or that has voice actor Masako Nozawa?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" .  { ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Speed Racer" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "Michael Giacchino" .  } UNION { ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Masako Nozawa" .  } }
Program:
function: Find
inputs: Michael Giacchino
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Speed Racer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: anime television series
function: Find
inputs: Masako Nozawa
function: Relate
dependencies: 6
inputs: voice actor
backward
function: FilterConcept
dependencies: 7
inputs: anime television series
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 2