Question: How many hip hop music groups do we know that are associated with someone famous who won the MTV Video Music Award for Best Direction in 2014 ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "hip hop music" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <winner> ?e_1 . ?e_2 <pred:name> "MTV Video Music Award for Best Direction" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2014 .   }
Program:
function: Find
inputs: MTV Video Music Award for Best Direction
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterYear
dependencies: 1
inputs: point in time
2014
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: hip hop music
function: Count
dependencies: 5