Question: How many film series were published before 1990 or serve as the basis for Back to the Future (English-language movie) ?
Choices: 8
9
10
11
12
13
14
15
16
17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film series" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1990 ) .  } UNION { ?e_1 <based_on> ?e . ?e_1 <pred:name> "Back to the Future" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1990
<
function: FilterConcept
dependencies: 1
inputs: film series
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: based on
forward
function: FilterConcept
dependencies: 7
inputs: film series
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 9