Question: How many forms of electronic music come from Canada or were invented sometime other than 1991?
Choices: 24
25
26
27
28
29
30
31
32
33
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic music" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  } }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: electronic music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1991
!=
function: FilterConcept
dependencies: 4
inputs: electronic music
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 26