Question: How many subscribers are there on Twitter username Twins, belonging to a baseball team that includes Tom Johnson, born on 2nd April 1951, as their member ?
Choices:
415
608015
74974
2036837
61441
7564699
40652
205612
6673132
16284
Answer: 608015
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Tom Johnson" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1951-04-02"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "Twins" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Tom Johnson
function: FilterDate
dependencies: 0
inputs: date of birth
1951-04-02
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: FilterConcept
dependencies: 2
inputs: baseball team
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
Twins
number of subscribers