Question: How many forms of rock music were created prior to 1981 or match the style of A. R. Rahman?
Choices:
30
31
32
33
34
35
36
37
38
39
Answer: 30
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock music" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "A. R. Rahman" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  } }
Program:
function: Find
inputs: A. R. Rahman
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: rock music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1981
<
function: FilterConcept
dependencies: 4
inputs: rock music
function: Or
dependencies: 2
5
function: Count
dependencies: 6