Question: How many performing arts are the main subject of a movie that is followed by Digimon Adventures (consisting of 54 episodes) ?
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> "performing arts" . ?e_1 <main_subject> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <followed_by> ?e_3 . ?e_3 <pred:name> "Digimon Adventure" . ?e_3 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "54"^^xsd:double .   }
Program:
function: Find
inputs: Digimon Adventure
function: FilterNum
dependencies: 0
inputs: number of episodes
54
=
function: Relate
dependencies: 1
inputs: followed by
backward
function: FilterConcept
dependencies: 2
inputs: film
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: performing arts
function: Count
dependencies: 5