Question: What is the number of heavy metals that are a part of heartland or whose start date is prior to 1995?
Choices:
11
12
13
14
15
16
17
18
19
20
Program:
function: Find
inputs: heartland rock
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: heavy metal
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1995
<
function: FilterConcept
dependencies: 4
inputs: heavy metal
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "heavy metal" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> "heartland rock" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  } }
Answer: 13