Question: How many Grammy Awards has the person with the Twitter username jeweljk, with 415,310 subscribers, been nominated for?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Grammy Award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "jeweljk" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "415310"^^xsd:double .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
jeweljk
function: QFilterNum
dependencies: 1
inputs: number of subscribers
415310
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: Count
dependencies: 5