Question: How many subscribers are associated with a Twitter username JimmyPage, belonging to a person living in Windsor (population of 26,885) until 2004 ?
Choices:
3136
7666319
139182
2773961
223818
1402789
249024
7095
203
5529
Answer: 223818
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Windsor" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "26885"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv_1 . ?qpv_1 <pred:year> 2004 . ?e <Twitter_username> ?pv . ?pv <pred:value> "JimmyPage" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Windsor
function: FilterNum
dependencies: 0
inputs: population
26885
=
function: Relate
dependencies: 1
inputs: residence
backward
function: QFilterYear
dependencies: 2
inputs: end time
2004
=
function: FilterConcept
dependencies: 3
inputs: human
function: QueryAttrQualifier
dependencies: 4
inputs: Twitter username
JimmyPage
number of subscribers