Question: What is the subject of a statement telling us that Emma (the one that has Ewan McGregor as a cast member) was nominated for Academy Award for Best Costume Design ?
Choices:
Austria–Georgia relations
East Frisia
69th Academy Awards
Brazil–Chile relations
Bahrain–Pakistan relations
Denmark–New Zealand relations
Austria–Japan relations
India–Nigeria relations
Cuba–South Africa relations
Japan–Lithuania relations
Answer: 69th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Emma" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ewan McGregor" . ?e_2 <pred:name> "Academy Award for Best Costume Design" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Ewan McGregor
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of