Question: How many subscriber does a person, the spouse of Burt Bacharach since 1982, have on her username CaroleBSager ?
Choices:
216540
114812
1163
918
2658
595
1826785
1387651
22641
9053954
Answer: 22641
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Burt Bacharach" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1982 . ?e <Twitter_username> ?pv . ?pv <pred:value> "CaroleBSager" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Burt Bacharach
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: start time
1982
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
CaroleBSager
number of subscribers