Question: How many television programs are the common property of Cannes Film Festival or not ended in 2007?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Cannes Film Festival
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: FilterConcept
dependencies: 1
inputs: television program
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
2007
!=
function: FilterConcept
dependencies: 4
inputs: television program
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" .  { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "Cannes Film Festival" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  } }
Answer: 1