Question: How many feature films clock in at under 370 minutes?
Choices:
57
58
59
60
61
62
63
64
65
66
Answer: 61
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v < "370"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
370 minute
<
function: FilterConcept
dependencies: 1
inputs: feature film
function: Count
dependencies: 2