Question: What is the number of electronic dance music pieces in the genre of Kid Cudi or that would have an inception time prior to 2005?
Choices:
4
5
6
7
8
9
10
11
12
13
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2005
<
function: FilterConcept
dependencies: 1
inputs: electronic dance music
function: Find
inputs: Kid Cudi
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: electronic dance music
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> "electronic dance music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Kid Cudi" .  } }
Answer: 11