Question: How many National Football League Drafts are related to the type of sport team connected to John Wayne?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "National Football League Draft" . ?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> "John Wayne" .   }
Program:
function: Find
inputs: John Wayne
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: National Football League Draft
function: Count
dependencies: 4