Question: what is the number of rock music that has folk metal as part of it or Inception time prior to 1987
Choices: 39
40
41
42
43
44
45
46
47
48
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> "folk metal" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1987 ) .  } }
Program:
function: Find
inputs: folk metal
function: Relate
dependencies: 0
inputs: part of
forward
function: FilterConcept
dependencies: 1
inputs: rock music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1987
<
function: FilterConcept
dependencies: 4
inputs: rock music
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 48