Question: How many subscribers are there for the Twitter username of JimCarrey, the human who won the MTV Movie Award for Best Villain (the award-winning work of this statement is The Cable Guy)?
Choices:
717431
90949
171289
24
140414
18415222
3803
3557481
47318
15947
Answer: 18415222
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <winner> ?e . ?e_1 <pred:name> "MTV Movie Award for Best Villain" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv_1 . ?qpv_1 <pred:value> "The Cable Guy" . ?e <Twitter_username> ?pv . ?pv <pred:value> "JimCarrey" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: MTV Movie Award for Best Villain
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterStr
dependencies: 1
inputs: for work
The Cable Guy
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
JimCarrey
number of subscribers