Question: Who was nominated for an Academy Award for Best Makeup and Hairstyling for Beetlejuice (the one directed Tim Burton)?
Choices: Seychelles–United States relations
North Korea–Singapore relations
Trinidad and Tobago–Venezuela border
Bosnia and Herzegovina–Indonesia relations
Mali–Taiwan relations
Yemen–European Union relations
61st Academy Awards
Mexico–Nicaragua relations
E pluribus unum
Egypt–Malaysia relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Beetlejuice" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Tim Burton" . ?e_2 <pred:name> "Academy Award for Best Makeup and Hairstyling" . ?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: Tim Burton
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Beetlejuice
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of
Answer: 61st Academy Awards