Question: What is the character role of Keira Knightley in Domino (the one whose duration is 122 minute)?
Choices:
Frasier Crane
Sailor Ripley
Domino Harvey
Fix-it Felix
Nightcrawler
Abraham Lincoln
Eli La Bouff
Harry Potter
Cynric of Wessex
Professor X
Answer: Domino Harvey
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Domino" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "122"^^xsd:double . ?e_2 <pred:name> "Keira Knightley" . ?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: Domino
function: FilterNum
dependencies: 0
inputs: duration
122 minute
=
function: Find
inputs: Keira Knightley
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role