Question: How many baseball teams belong to the league, which includes the organization with the Atlanta Braves?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <league> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_3 <league> ?e_1 . ?e_3 <pred:name> "Atlanta Braves" .   }
Program:
function: Find
inputs: Atlanta Braves
function: Relate
dependencies: 0
inputs: league
forward
function: FilterConcept
dependencies: 1
inputs: agent
function: Relate
dependencies: 2
inputs: league
backward
function: FilterConcept
dependencies: 3
inputs: baseball team
function: Count
dependencies: 4