Question: How many 3D movies were Academy Award nominees for Best Animated Feature or preceded Il Postino: The Postman?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" .  { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Animated Feature" .  } UNION { ?e_1 <follows> ?e . ?e_1 <pred:name> "Il Postino: The Postman" .  } }
Program:
function: Find
inputs: Academy Award for Best Animated Feature
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: 3D film
function: Find
inputs: Il Postino: The Postman
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: 3D film
function: Or
dependencies: 2
5
function: Count
dependencies: 6