Question: What is the character role of Tom Hanks as a cast member in The Terminal?
Choices:
Ninth Doctor
Michael Bluth
Leslie Knope
Meredith Vickers
Chef
Rowlf the Dog
Gus Fring
Phoebe Buffay
Viktor Navorski
Clara McMillen
Answer: Viktor Navorski
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Terminal" . ?e_2 <pred:name> "Tom Hanks" . ?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 Terminal
function: Find
inputs: Tom Hanks
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role