Question: How many colors' short name is W, and are the origin of St. Louis Cardinals name?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
W
function: FilterConcept
dependencies: 1
inputs: color
function: Find
inputs: St. Louis Cardinals
function: Relate
dependencies: 3
inputs: named after
forward
function: FilterConcept
dependencies: 4
inputs: color
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" . ?e <short_name> ?pv . ?pv <pred:value> "W" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "St. Louis Cardinals" .  }
Answer: 0