Question: How many miniseries are followed by the miniseries that has cast member David Schwimmer playing the character role of Herbert Sobel?
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> "miniseries" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "miniseries" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "David Schwimmer" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv . ?qpv <pred:value> "Herbert Sobel" .   }
Program:
function: Find
inputs: David Schwimmer
function: Relate
dependencies: 0
inputs: cast member
backward
function: QFilterStr
dependencies: 1
inputs: character role
Herbert Sobel
function: FilterConcept
dependencies: 2
inputs: miniseries
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Count
dependencies: 5