Question: What is the name of Patrick Stewart´s character in X-Men: The Last Stand?
Choices:
Harry Goldfarb
Satan
Jack Bristow
William Bludworth
Phoebe Buffay
Samuel Loomis
Nelson Muntz
Lydia Bennet
Jimmy Darmody
Professor X
Answer: Professor X
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "X-Men: The Last Stand" . ?e_2 <pred:name> "Patrick Stewart" . ?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: X-Men: The Last Stand
function: Find
inputs: Patrick Stewart
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role