Question: What is the series ordinal for the Ice Age (whose release date is 2002) that includes Ice Age: Dawn of the Dinosaurs (that originates in the United States of America) as a component?
Choices:
30
3
43
36
54
64
175
73
26
28
Answer: 3
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ice Age" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 2002 . ?e_2 <pred:name> "Ice Age: Dawn of the Dinosaurs" . ?e_2 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 <has_part> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Ice Age
function: FilterYear
dependencies: 0
inputs: publication date
2002
=
function: Find
inputs: United States of America
function: Relate
dependencies: 2
inputs: country of origin
backward
function: Find
inputs: Ice Age: Dawn of the Dinosaurs
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: has part
series ordinal