Question: Tell me the nominee of Barney's Version was nominated for Academy Award for Best Makeup and Hairstyling
Choices:
Adrien Morot
Melanie Griffith
Judie Hoyt
Anna Pinnock
Tom Hanks
Judi Dench
John Williams
Swen Gillberg
Hsu Li Kong
Ian McKellen
Answer: Adrien Morot
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Barney's Version" . ?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 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Barney's Version
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee