Question: How many baseball teams have Scott Bradley, the Chicago White Sox player, as a member?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Scott Bradley" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Chicago White Sox" .   }
Program:
function: Find
inputs: Chicago White Sox
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Scott Bradley
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: Count
dependencies: 5
Answer: 4