Question: For the participant baseball team with the Twitter username of Royals (the subscription number of this statement is 1053634), how many sports seasons does it have?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sports season" . ?e <participant> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "baseball team" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "Royals" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "1053634"^^xsd:double .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
Royals
function: QFilterNum
dependencies: 1
inputs: number of subscribers
1053634
=
function: FilterConcept
dependencies: 2
inputs: baseball team
function: Relate
dependencies: 3
inputs: participant
backward
function: FilterConcept
dependencies: 4
inputs: sports season
function: Count
dependencies: 5