Question: The ice hockey club Canadian citizen Ted Kennedy belongs to has how many followers of its Twitter account, under the name MapleLeafs?
Choices:
1842012
3136
1081749
2762
143697
81808
249419
926630
1963
118607
Answer: 1842012
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ice hockey team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Ted Kennedy" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "Canada" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "MapleLeafs" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Ted Kennedy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: ice hockey team
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
MapleLeafs
number of subscribers