Question: Which ice hockey team have the parent clubis of Montreal Canadiens?
Choices:
Hamilton Bulldogs
Norfolk Admirals
Montreal Canadiens
Arizona Coyotes
Washington Capitals
Los Angeles Kings
Syracuse Crunch
St. John's IceCaps
Albany Devils
Vancouver Canucks
Program:
function: Find
inputs: Montreal Canadiens
function: Relate
dependencies: 0
inputs: parent club
backward
function: FilterConcept
dependencies: 1
inputs: ice hockey team
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ice hockey team" . ?e <parent_club> ?e_1 . ?e_1 <pred:name> "Montreal Canadiens" .   }
Answer: Hamilton Bulldogs