Question: How many animated feature films are originally in English or clock in at over 6 months?
Choices:
65
66
67
68
69
70
71
72
73
74
Answer: 71
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" .  { ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v > "6"^^xsd:double ) .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
6 month
>
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6