Question: How many American football teams are related to a type of sport played by a sport team Radio the one whose official website is http://www.sonypictures.com/movies/radio)?
Choices:
36
37
38
39
40
41
42
43
44
45
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> "Radio" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.sonypictures.com/movies/radio" .   }
Program:
function: Find
inputs: Radio
function: FilterStr
dependencies: 0
inputs: official website
http://www.sonypictures.com/movies/radio
function: Relate
dependencies: 1
inputs: sport
forward
function: FilterConcept
dependencies: 2
inputs: type of sport
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: American football team
function: Count
dependencies: 5