Question: How many baseball positions are related to a type of sport associated with The Pride of the Yankees sports team ?
Choices:
6
7
8
9
10
11
12
13
14
15
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> "The Pride of the Yankees" .   }
Program:
function: Find
inputs: The Pride of the Yankees
function: Relate
dependencies: 0
inputs: sport
forward
function: FilterConcept
dependencies: 1
inputs: type of sport
function: Relate
dependencies: 2
inputs: sport
backward
function: FilterConcept
dependencies: 3
inputs: baseball position
function: Count
dependencies: 4