Question: How many film characters derive the film that follows The Pink Panther (whose composer is Christophe Beck)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Christophe Beck
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Pink Panther
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: follows
backward
function: FilterConcept
dependencies: 4
inputs: film
function: Relate
dependencies: 5
inputs: derivative work
backward
function: FilterConcept
dependencies: 6
inputs: film character
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film character" . ?e <derivative_work> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <follows> ?e_2 . ?e_2 <pred:name> "The Pink Panther" . ?e_2 <composer> ?e_3 . ?e_3 <pred:name> "Christophe Beck" .   }
Answer: 0