Question: How many subscribers are associated with the Twitter username nyknicks, belonging to a basketball team that drafted Johnny Greer (educated at Michigan State University) ?
Choices:
397
22884
1141232
163858
1891
2092631
1414
62350
826
199255
Answer: 2092631
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> "Johnny Green" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Michigan State University" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "nyknicks" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Michigan State University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Johnny Green
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: drafted by
forward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
nyknicks
number of subscribers