Question: How many American football positions are related to the type of sport that has a sport team called the Hamilton Tiger-Cats?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football 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> "Hamilton Tiger-Cats" .   }
Program:
function: Find
inputs: Hamilton Tiger-Cats
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: American football position
function: Count
dependencies: 4