Question: How many television programs have Medina (the one that has the record label EMI) as a cast member?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: EMI
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Medina
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television program
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Medina" . ?e_1 <record_label> ?e_2 . ?e_2 <pred:name> "EMI" .   }
Answer: 0