Question: For the American-football team with member William Powell (Arizona Cardinals member), how many subscribers does the team have for its Twitter username, AZCardinals?
Choices:
425237
19164795
3136
65861
31340
917529
306243
1403429
742195
32248
Answer: 917529
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "William Powell" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Arizona Cardinals" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "AZCardinals" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Arizona Cardinals
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: William Powell
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: American football team
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
AZCardinals
number of subscribers