Question: What character did cast member Dennis Quaid play on Wyatt Earp ( nominated for Golden Raspberry Award for Worst Actor)?
Choices:
Geordi La Forge
Doc Holliday
River Song
Dinah
Emily Appleton-Gates
Ricki Tarr
Chef
Deadpool
Virgilia
Rebecca Howe
Answer: Doc Holliday
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Wyatt Earp" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Golden Raspberry Award for Worst Actor" . ?e_2 <pred:name> "Dennis Quaid" . ?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: Golden Raspberry Award for Worst Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Wyatt Earp
function: And
dependencies: 1
2
function: Find
inputs: Dennis Quaid
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role