Question: How many subscribe to Twitter username DragonsOfficial, belonging to the baseball team whose official website is www.dragons.jp?
Choices:
45223
5370491
149287
289374
2326759
152982
794215
12081011
50135
23168
Answer: 794215
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.dragons.jp/" . ?e <Twitter_username> ?pv . ?pv <pred:value> "DragonsOfficial" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.dragons.jp/
function: FilterConcept
dependencies: 1
inputs: baseball team
function: QueryAttrQualifier
dependencies: 2
inputs: Twitter username
DragonsOfficial
number of subscribers