Question: What baseball team has the Twitter username of Padres (the subscription number is 384890) and is a 2007 MLB-season participant?
Choices:
San Diego Padres
Cleveland Indians
Chiba Lotte Marines
Houston Astros
San Francisco Giants
Detroit Tigers
Los Angeles Dodgers
Texas Rangers
Tohoku Rakuten Golden Eagles
Colorado Rockies
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
Padres
function: QFilterNum
dependencies: 1
inputs: number of subscribers
384890
=
function: FilterConcept
dependencies: 2
inputs: baseball team
function: Find
inputs: 2007 Major League Baseball season
function: Relate
dependencies: 4
inputs: participant
forward
function: FilterConcept
dependencies: 5
inputs: baseball team
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <Twitter_username> ?pv . ?pv <pred:value> "Padres" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "384890"^^xsd:double . ?e_1 <participant> ?e . ?e_1 <pred:name> "2007 Major League Baseball season" .  }
Answer: San Diego Padres