Question: What number of movies in the genre with IAB code 334?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <IAB_code> ?pv . ?pv <pred:value> "334" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
334
function: FilterConcept
dependencies: 1
inputs: film
function: Relate
dependencies: 2
inputs: genre
backward
function: FilterConcept
dependencies: 3
inputs: feature film
function: Count
dependencies: 4