Question: How many National Basketball Association Drafts are related to the sport of basketball and picked from the school Duke University?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "National Basketball Association Draft" . ?e <sport> ?e_1 . ?e_1 <pred:name> "basketball" .  ?e <draft_pick_from_school> ?e_2 . ?e_2 <pred:name> "Duke University" .  }
Program:
function: Find
inputs: basketball
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: National Basketball Association Draft
function: Find
inputs: Duke University
function: Relate
dependencies: 3
inputs: draft pick from school
backward
function: FilterConcept
dependencies: 4
inputs: National Basketball Association Draft
function: And
dependencies: 2
5
function: Count
dependencies: 6