Question: What is the number of baseball teams that are a part of the league the organization that has Colorado Rockies as a member.
Choices:
4
5
6
7
8
9
10
11
12
13
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> "organization" . ?e_3 <league> ?e_1 . ?e_3 <pred:name> "Colorado Rockies" .   }
Program:
function: Find
inputs: Colorado Rockies
function: Relate
dependencies: 0
inputs: league
forward
function: FilterConcept
dependencies: 1
inputs: organization
function: Relate
dependencies: 2
inputs: league
backward
function: FilterConcept
dependencies: 3
inputs: baseball team
function: Count
dependencies: 4