Question: How many TV stations were founded later than 1984 or have the motto: Plus on aime Canal+, plus on aime le cinéma?
Choices:
14
15
16
17
18
19
20
21
22
23
Answer: 18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1984 ) .  } UNION { ?e <motto_text> ?pv . ?pv <pred:value> "Plus on aime Canal+, plus on aime le cinéma" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1984
>
function: FilterConcept
dependencies: 1
inputs: television station
function: FindAll
function: FilterStr
dependencies: 3
inputs: motto text
Plus on aime Canal+, plus on aime le cinéma
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6