Question: How many music genres know for a famous band that performed Daylight (published in 2012) ?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music genre" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "band" . ?e_2 <performer> ?e_1 . ?e_2 <pred:name> "Daylight" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 2012 .   }
Program:
function: Find
inputs: Daylight
function: FilterYear
dependencies: 0
inputs: publication date
2012
=
function: Relate
dependencies: 1
inputs: performer
forward
function: FilterConcept
dependencies: 2
inputs: band
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: music genre
function: Count
dependencies: 5
Answer: 2