Question: How many film genres have the Sunsoft-developed Superman as their prime subject?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Sunsoft
function: Relate
dependencies: 0
inputs: developer
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
backward
function: FilterConcept
dependencies: 4
inputs: film genre
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film genre" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Superman" . ?e_1 <developer> ?e_2 . ?e_2 <pred:name> "Sunsoft" .   }
Answer: 0