Question: How many types of sport are affiliated with Craig Ferguson, the member of the Calgary Flames?
Choices: biathlon
auto racing
skateboarding
golf
ice hockey
American football
diving
fenci
curling
taekwondo
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" . ?e_1 <sport> ?e . ?e_1 <pred:name> "Craig Ferguson" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Calgary Flames" .   }
Program:
function: Find
inputs: Calgary Flames
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Craig Ferguson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: sport
forward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: What
dependencies: 5
Answer: ice hockey