Question: How many television genres are the main subject of The Red Violin and that use the Persian language?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: The Red Violin
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: television genre
function: Find
inputs: Persian
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: television genre
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television genre" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "The Red Violin" .  ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "Persian" .  }
Answer: 0