Question: How many subscribers can we find on Twitter username Athletic, belonging to a baseball team that includes mark Williams (the one that is related to sport baseball) ?
Choices:
15956
6380791
540119
2666774
10525
60326
4481308
526904
52253
15827
Answer: 540119
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> "Mark Williams" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> "baseball" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "Athletics" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
Athletics
number of subscribers