Question: What is the umber of episodes in TV series with Twitter username ThomasFriends (the subscription number of this statement is 15947)?
Choices:
3471
146
951
479
140
228
202
156
122
514
Answer: 479
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "ThomasFriends" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "15947"^^xsd:double . ?e <number_of_episodes> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
ThomasFriends
function: QFilterNum
dependencies: 1
inputs: number of subscribers
15947
=
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: number of episodes