Question: What is the name of character played by Liv Tyler in The Lord of the Rings: The Return of the King (the one that was nominated for Broadcast Film Critics Association Award for Best Cast)?
Choices:
Zazu
Arwen
Eddie Morra
Thomas
Red Skull
Galahad
George Costanza
The Dragon Emperor
Dale Cooper
Mace Windu
Answer: Arwen
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Lord of the Rings: The Return of the King" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Broadcast Film Critics Association Award for Best Cast" . ?e_2 <pred:name> "Liv Tyler" . ?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: Broadcast Film Critics Association Award for Best Cast
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Lord of the Rings: The Return of the King
function: And
dependencies: 1
2
function: Find
inputs: Liv Tyler
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role