Question: How many episodes did the TV film have, it's budget was less than $18,000,000?
Choices:
192
60
2
10755
6
17
14
10
121
182
Answer: 10
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "18000000"^^xsd:double ) . ?e <number_of_episodes> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: cost
18000000 United States dollar
<
function: FilterConcept
dependencies: 1
inputs: television film
function: QueryAttr
dependencies: 2
inputs: number of episodes