Question: How many music genres were created before 1985 or comprise a part of dark cabaret ?
Choices:
38
39
40
41
42
43
44
45
46
47
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1985
<
function: FilterConcept
dependencies: 1
inputs: music genre
function: Find
inputs: dark cabaret
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: music genre
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> "music genre" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "dark cabaret" .  } }
Answer: 42