Question: What animated film started before 1940 originated in the United States of America?
Choices: Winnie the Pooh
Peter Pan
Renaissance
Aladdin
Beauty and the Beast
Pinocchio
Lilo & Stitch
Snow White and the Seven Dwarfs
Shrek 2
WALL·E
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1940 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <end_time> ?qpv . ?qpv <pred:year> 1940 . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1940
<
function: QFilterYear
dependencies: 1
inputs: end time
1940
=
function: FilterConcept
dependencies: 2
inputs: animated feature film
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country of origin
backward
function: FilterConcept
dependencies: 5
inputs: animated feature film
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Pinocchio