Question: How many entities of sounds were named after math rock or created before 1967?
Choices:
28
29
30
31
32
33
34
35
36
37
Answer: 34
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sound" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> "math rock" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  } }
Program:
function: Find
inputs: math rock
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: sound
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1967
<
function: FilterConcept
dependencies: 4
inputs: sound
function: Or
dependencies: 2
5
function: Count
dependencies: 6