Question: How many football positions are related to the sport of Jack Thompson who was born on 1956-05-18?
Choices:
15
16
17
18
19
20
21
22
23
24
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> "Jack Thompson" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1956-05-18"^^xsd:date .   }
Program:
function: Find
inputs: Jack Thompson
function: FilterDate
dependencies: 0
inputs: date of birth
1956-05-18
=
function: Relate
dependencies: 1
inputs: sport
forward
function: FilterConcept
dependencies: 2
inputs: type of sport
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: American football position
function: Count
dependencies: 5