Question: Which work of make-up artist Peter Frampton earned an Academy Award for Best Makeup and Hairstyling?
Choices:
Braveheart
A Close Shave
Face/Off
Requiem for a Heavyweight
The Flintstones
The Chase
The Piano
Aparajito
When My Baby Smiles at Me
Guys and Dolls
Program:
function: Find
inputs: make-up artist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Peter Frampton
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Frampton" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "make-up artist" . ?e_2 <pred:name> "Academy Award for Best Makeup and Hairstyling" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: Braveheart