Question: For the industry whose duration is 30 minutes, how many television genres are its genre?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
30 minute
=
function: FilterConcept
dependencies: 1
inputs: industry
function: Relate
dependencies: 2
inputs: genre
forward
function: FilterConcept
dependencies: 3
inputs: television genre
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television genre" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "industry" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "30"^^xsd:double .   }
Answer: 1