Question: What basketball team drafted the composer of Deconstructing Harry?
Choices:
Minnesota Timberwolves
Seattle Storm
Brooklyn Nets
Toronto Raptors
New York Knicks
Phoenix Suns
Dallas Mavericks
Los Angeles Lakers
New Orleans Pelicans
Washington Wizards
Program:
function: Find
inputs: Deconstructing Harry
function: Relate
dependencies: 0
inputs: composer
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: drafted by
forward
function: FilterConcept
dependencies: 3
inputs: basketball team
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e_1 <drafted_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_3 <composer> ?e_1 . ?e_3 <pred:name> "Deconstructing Harry" .   }
Answer: New York Knicks