Question: How many ice hockey teams are related to a sport that is the type of sport whose IPTC Newscode is mediatopic/20000965?
Choices:
44
45
46
47
48
49
50
51
52
53
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_1 <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000965" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPTC Newscode
mediatopic/20000965
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