Question: How many animated feature films come from Pyongyang and have over 15 weeks duration?
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> "animated feature film" . ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v > "15"^^xsd:double ) . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Pyongyang" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
15 week
>
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: Find
inputs: Pyongyang
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: And
dependencies: 2
5
function: Count
dependencies: 6