Question: What sport does the team that owns the Rockies Twitter account play?
Choices:
diving
taekwondo
cross-country skiing
biathlon
Nordic combined
baseball
American football
cricket
skateboarding
auto racing
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
Rockies
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Relate
dependencies: 2
inputs: sport
forward
function: FilterConcept
dependencies: 3
inputs: type of sport
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" . ?e_1 <sport> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "baseball team" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "Rockies" .   }
Answer: baseball