Question: How many television networks have the autonomous system number of 9342 or broadcast Robot Chicken originally?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" .  { ?e <autonomous_system_number> ?pv . ?pv <pred:value> "9342" .  } UNION { ?e_1 <original_network> ?e . ?e_1 <pred:name> "Robot Chicken" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: autonomous system number
9342
function: FilterConcept
dependencies: 1
inputs: television network
function: Find
inputs: Robot Chicken
function: Relate
dependencies: 3
inputs: original network
forward
function: FilterConcept
dependencies: 4
inputs: television network
function: Or
dependencies: 2
5
function: Count
dependencies: 6