Question: How many American football team teams relate to a type of sport associated with Randy Jackson (the one that died in the manner of natural causes) 's sports team ?
Choices:
34
35
36
37
38
39
40
41
42
43
Answer: 39
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football 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> "Randy Jackson" . ?e_2 <manner_of_death> ?e_3 . ?e_3 <pred:name> "natural causes" .   }
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Randy Jackson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: sport
forward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Relate
dependencies: 5
inputs: sport
backward
function: FilterConcept
dependencies: 6
inputs: American football team
function: Count
dependencies: 7