Question: What ice-hockey team drafted Craig Ferguson (the one whose mass is 202 pound)?
Choices:
Vancouver Canucks
Philadelphia Flyers
St. John's IceCaps
Springfield Falcons
Hartford Wolf Pack
Oklahoma City Barons
Montreal Canadiens
Norfolk Admirals
Syracuse Crunch
Hamilton Bulldogs
Program:
function: Find
inputs: Craig Ferguson
function: FilterNum
dependencies: 0
inputs: mass
202 pound
=
function: Relate
dependencies: 1
inputs: drafted by
forward
function: FilterConcept
dependencies: 2
inputs: ice hockey team
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ice hockey team" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> "Craig Ferguson" . ?e_1 <mass> ?pv . ?pv <pred:unit> "pound" . ?pv <pred:value> "202"^^xsd:double .   }
Answer: Montreal Canadiens