Question: How many forms of punk rock were established pre-1985 or have roots in the United Kingdom?
Choices: 10
11
12
13
14
15
16
17
18
19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "punk rock" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1985
<
function: FilterConcept
dependencies: 1
inputs: punk rock
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: punk rock
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 12