Question: How many TV movies are titled Death on the Nile or debuted in a year excluding 2012?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" .  { ?e <title> ?pv . ?pv <pred:value> "Death on the Nile" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2012 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Death on the Nile
function: FilterConcept
dependencies: 1
inputs: television film
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
2012
!=
function: FilterConcept
dependencies: 4
inputs: television film
function: Or
dependencies: 2
5
function: Count
dependencies: 6