Question: How many television networks are there that use Persian or are there that have been replaced by The CW?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" .  { ?e <replaced_by> ?e_1 . ?e_1 <pred:name> "The CW" .  } UNION { ?e <language_used> ?e_1 . ?e_1 <pred:name> "Persian" .  } }
Program:
function: Find
inputs: The CW
function: Relate
dependencies: 0
inputs: replaced by
backward
function: FilterConcept
dependencies: 1
inputs: television network
function: Find
inputs: Persian
function: Relate
dependencies: 3
inputs: language used
backward
function: FilterConcept
dependencies: 4
inputs: television network
function: Or
dependencies: 2
5
function: Count
dependencies: 6