Question: Amy Adams, whose career launched in 1999, plays what character as part of The Muppets' cast?
Choices: Mr. Smithers
Abby Lockhart
Mark Silverberg
Cliegg Lars
Buffy Summers
Mary
Trinity
Jim Rhodes / War Machine
Gorgo
Emil Skoda
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Muppets" . ?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: The Muppets
function: Find
inputs: Amy Adams
function: FilterYear
dependencies: 1
inputs: work period (start)
1999
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: cast member
character role
Answer: Mary