Question: How many ice hockey teams are related to the sport affiliated with the Houston Astros?
Choices:
40
41
42
43
44
45
46
47
48
49
Answer: 46
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ice hockey team" . ?e <sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "type of sport" . ?e_2 <sport> ?e_1 . ?e_2 <pred:name> "Houston Aeros" .   }
Program:
function: Find
inputs: Houston Aeros
function: Relate
dependencies: 0
inputs: sport
forward
function: FilterConcept
dependencies: 1
inputs: type of sport
function: Relate
dependencies: 2
inputs: sport
backward
function: FilterConcept
dependencies: 3
inputs: ice hockey team
function: Count
dependencies: 4