Question: How many singles are there whose release date is not in 1984 or producer is Vangelis?
Choices: 30
31
32
33
34
35
36
37
38
39
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1984 ) .  } UNION { ?e <producer> ?e_1 . ?e_1 <pred:name> "Vangelis" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1984
!=
function: FilterConcept
dependencies: 1
inputs: single
function: Find
inputs: Vangelis
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: single
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 31