Question: How many science fiction pieces match the genre of Futurama (the one that received Primetime Emmy Award for Outstanding Animated Program) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "science fiction" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Futurama" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Animated Program" .   }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Animated Program
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Futurama
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: science fiction
function: Count
dependencies: 5