Question: What is the number of tv programs that have the Twitter username eurovision or that started other than 1992.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "eurovision" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1992 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
eurovision
function: FilterConcept
dependencies: 1
inputs: television program
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
1992
!=
function: FilterConcept
dependencies: 4
inputs: television program
function: Or
dependencies: 2
5
function: Count
dependencies: 6