Question: If we know that a Twitter username of Dallas, who subscribed to Twitter on 2012-06-13, is Dallas_TNT, how many subscriber does this user have?
Choices:
116906
9896
81876
182054
820918
57
84871
131406
907873
259128
Answer: 81876
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Dallas" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2012-06-13"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "Dallas_TNT" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Dallas
function: FilterDate
dependencies: 0
inputs: start time
2012-06-13
=
function: QueryAttrQualifier
dependencies: 1
inputs: Twitter username
Dallas_TNT
number of subscribers