Question: How many reds are the origin of the name of the baseball team whose Japan Corporate Number is 8010401029745?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "red" . ?e_1 <named_after> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "baseball team" . ?e_1 <Corporate_Number_(Japan)> ?pv . ?pv <pred:value> "8010401029745" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Corporate Number (Japan)
8010401029745
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Relate
dependencies: 2
inputs: named after
forward
function: FilterConcept
dependencies: 3
inputs: red
function: Count
dependencies: 4