Question: How many baseball positions are associated with the kind of sport having the sport team Jim Clark (who is a member of the Cleveland Indians)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball position" . ?e <sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "type of sport" . ?e_2 <sport> ?e_1 . ?e_2 <pred:name> "Jim Clark" . ?e_2 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Cleveland Indians" .   }
Program:
function: Find
inputs: Cleveland Indians
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jim Clark
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: sport
forward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Relate
dependencies: 5
inputs: sport
backward
function: FilterConcept
dependencies: 6
inputs: baseball position
function: Count
dependencies: 7