Question: How many animated feature films have a release year other than 2007 or a run-time exceeding 3.7 years?
Choices: 66
67
68
69
70
71
72
73
74
75
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "3.7"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2007
!=
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
3.7 year
>
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 72