Question: For the association-football club that has John Byrne (the one that is a member of Brighton & Hove Albion F.C.) as a member (the start time of this statement is 1988), how many subscribers does the user have for its Twitter username of HAC_Foot?
Choices:
51654
124603
228038
129019
14580
3217580
5622203
1160
240886
106351
Answer: 51654
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "John Byrne" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Brighton & Hove Albion F.C." . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1988 . ?e <Twitter_username> ?pv . ?pv <pred:value> "HAC_Foot" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Brighton & Hove Albion F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Byrne
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: QFilterYear
dependencies: 4
inputs: start time
1988
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: QueryAttrQualifier
dependencies: 6
inputs: Twitter username
HAC_Foot
number of subscribers