Question: How many progressive rock groups are related to famous Dave Mustaine or were created before 1990 ?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "progressive rock" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Dave Mustaine" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1990 ) .  } }
Program:
function: Find
inputs: Dave Mustaine
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: progressive rock
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1990
<
function: FilterConcept
dependencies: 4
inputs: progressive rock
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2