Question: What is the relationship between A Single Man (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role) and Julianne Moore?
Choices:
cast member
architectural style
appointed by
published in
ethnic group
contains settlement
penalty
legislative body
participant of
successful candidate
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Single Man" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role" . ?e_2 <pred:name> "Julianne Moore" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: A Single Man
function: And
dependencies: 1
2
function: Find
inputs: Julianne Moore
function: QueryRelation
dependencies: 3
4