Question: Kobe Bryant was drafted by which basketball team?
Choices:
Toronto Raptors
Seattle Storm
Los Angeles Lakers
Houston Rockets
Charlotte Hornets
Miami Heat
Cleveland Cavaliers
Brooklyn Nets
Villanova Wildcats men's basketball
New Orleans Pelicans
Program:
function: Find
inputs: Kobe Bryant
function: Relate
dependencies: 0
inputs: drafted by
forward
function: FilterConcept
dependencies: 1
inputs: basketball team
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> "Kobe Bryant" .   }
Answer: Charlotte Hornets