Question: Which activity is related to the sport of baseball and whose country is the United States of America?
Choices:
politics of the United States
NCAA Men's Division I Basketball Championship
1998 Major League Baseball season
Milwaukee Brewers
2007 Major League Baseball season
Rose Bowl Game
1994 Major League Baseball season
Major League Baseball All-Star Game
Seattle Mariners
Detroit Tigers
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: activity
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <sport> ?e_1 . ?e_1 <pred:name> "baseball" .  ?e <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  }
Answer: Major League Baseball All-Star Game