Question: What is the number of television networks that are replaced by the TV station that originally airs Veronica Mars (hat has Dianna Agron as a cast member)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" . ?e_1 <replaces> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television station" . ?e_2 <original_network> ?e_1 . ?e_2 <pred:name> "Veronica Mars" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Dianna Agron" .   }
Program:
function: Find
inputs: Dianna Agron
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Veronica Mars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: original network
forward
function: FilterConcept
dependencies: 4
inputs: television station
function: Relate
dependencies: 5
inputs: replaces
forward
function: FilterConcept
dependencies: 6
inputs: television network
function: Count
dependencies: 7
Answer: 2