Question: How many films are longer than 2100 seconds and published before 2002?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <duration> ?pv . ?pv <pred:unit> "second" . ?pv <pred:value> ?v . FILTER ( ?v > "2100"^^xsd:double ) . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2002 ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
2100 second
>
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2002
<
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: Count
dependencies: 6