Question: what is the number of heavy metal that is the Korn genre or they was incepted other than 1987
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "heavy metal" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Korn" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1987 ) .  } }
Program:
function: Find
inputs: Korn
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: heavy metal
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1987
!=
function: FilterConcept
dependencies: 4
inputs: heavy metal
function: Or
dependencies: 2
5
function: Count
dependencies: 6