Question: How many cable channels were established in 1997 or broadcast Alice (the one whose start time is 2009-12-06) originally?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "cable channel" .  { ?e <inception> ?pv . ?pv <pred:year> 1997 .  } UNION { ?e_1 <original_network> ?e . ?e_1 <pred:name> "Alice" . ?e_1 <start_time> ?pv . ?pv <pred:date> "2009-12-06"^^xsd:date .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1997
=
function: FilterConcept
dependencies: 1
inputs: cable channel
function: Find
inputs: Alice
function: FilterDate
dependencies: 3
inputs: start time
2009-12-06
=
function: Relate
dependencies: 4
inputs: original network
forward
function: FilterConcept
dependencies: 5
inputs: cable channel
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2