Question: What number of baseball teams belong to the National League (which the Milwaukee Brewers belong to as well) and have a corporate number (Japan) of 5290001009981?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <Corporate_Number_(Japan)> ?pv . ?pv <pred:value> "5290001009981" . ?e <member_of> ?e_1 . ?e_1 <pred:name> "National League" . ?e_2 <league> ?e_1 . ?e_2 <pred:name> "Milwaukee Brewers" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Corporate Number (Japan)
5290001009981
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Find
inputs: Milwaukee Brewers
function: Relate
dependencies: 3
inputs: league
forward
function: Find
inputs: National League
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of
backward
function: FilterConcept
dependencies: 7
inputs: baseball team
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0