Question: How many genres are either a discipline of the Academy Award for Best Animated Short Film or derived from Sesame Street?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "genre" .  { ?e_1 <award_disciplines_or_subjects> ?e . ?e_1 <pred:name> "Academy Award for Best Animated Short Film" .  } UNION { ?e_1 <based_on> ?e . ?e_1 <pred:name> "Sesame Street" .  } }
Program:
function: Find
inputs: Academy Award for Best Animated Short Film
function: Relate
dependencies: 0
inputs: award disciplines or subjects
forward
function: FilterConcept
dependencies: 1
inputs: genre
function: Find
inputs: Sesame Street
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6