Question: What are the number of award ceremonies that follow 2007 Grammy Awards or those that are originally aired on CBS ?
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> "award ceremony" .  { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "2007 Grammy Awards" .  } UNION { ?e <original_network> ?e_1 . ?e_1 <pred:name> "CBS" .  } }
Program:
function: Find
inputs: 2007 Grammy Awards
function: Relate
dependencies: 0
inputs: followed by
forward
function: FilterConcept
dependencies: 1
inputs: award ceremony
function: Find
inputs: CBS
function: Relate
dependencies: 3
inputs: original network
backward
function: FilterConcept
dependencies: 4
inputs: award ceremony
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2