Question: How many awards are related to the sport which is the sport type that is the main subject of Forrest Gump (the one whose official website is http://www.paramount.com/movies/forrest-gump/)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award" . ?e <sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "type of sport" . ?e_2 <main_subject> ?e_1 . ?e_2 <pred:name> "Forrest Gump" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.paramount.com/movies/forrest-gump/" .   }
Program:
function: Find
inputs: Forrest Gump
function: FilterStr
dependencies: 0
inputs: official website
http://www.paramount.com/movies/forrest-gump/
function: Relate
dependencies: 1
inputs: main subject
forward
function: FilterConcept
dependencies: 2
inputs: type of sport
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: award
function: Count
dependencies: 5