Question: What is the character played by Amy Adams who started working in 1999 in Enchanted?
Choices:
Apu Nahasapeemapetilon
Djali
Jim Sting
Gael
Giselle
Scott Evil
Kate Austen
Kate Brewster
God
Mad Stan
Answer: Giselle
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Enchanted" . ?e_2 <pred:name> "Amy Adams" . ?e_2 <work_period_(start)> ?pv . ?pv <pred:year> 1999 . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Enchanted
function: Find
inputs: Amy Adams
function: FilterYear
dependencies: 1
inputs: work period (start)
1999
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: cast member
character role