Question: Which person is a member of the Edmonton Oilers and is drafted by the Montreal Canadiens?
Choices:
David Byrne
Richard Gere
Rahul Dev Burman
Chris Pronger
Ron Carter
John Hughes
Sylvester Stallone
William Henry Harrison
Max Fleischer
Craig Ferguson
Program:
function: Find
inputs: Edmonton Oilers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Montreal Canadiens
function: Relate
dependencies: 3
inputs: drafted by
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Edmonton Oilers" .  ?e <drafted_by> ?e_2 . ?e_2 <pred:name> "Montreal Canadiens" .  }
Answer: Ron Carter