Question: What is cast member Zoe Saldana's character role in Avatar (whose duration is 162 minutes)?
Choices:
Merkin Muffley
Townie
Sue Snell
Carnage
Théoden
Neytiri
Rick O'Connell
Patience Phillips
Tina Modotti
Mayor Tortoise John
Answer: Neytiri
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Avatar" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "162"^^xsd:double . ?e_2 <pred:name> "Zoe Saldana" . ?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: Avatar
function: FilterNum
dependencies: 0
inputs: duration
162 minute
=
function: Find
inputs: Zoe Saldana
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role