Question: How many heavy metals are there having a famous person named Devin Townsend or a start date that is not in the year 1995?
Choices:
13
14
15
16
17
18
19
20
21
22
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "heavy metal" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Devin Townsend" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1995 ) .  } }
Program:
function: Find
inputs: Devin Townsend
function: Relate
dependencies: 0
inputs: famous people
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