Question: How many episodes does Serpico (the one whose duration is 60 minute) have?
Choices:
15
572
166
264
58
114
156
75
54
321
Answer: 15
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Serpico" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "60"^^xsd:double . ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: Serpico
function: FilterNum
dependencies: 0
inputs: duration
60 minute
=
function: QueryAttr
dependencies: 1
inputs: number of episodes