Question: For what did Beetlejuice (whose publication date is 1988-03-29) receive an Academy Award for Best Makeup and Hairstyling?
Choices:
Burkina Faso–Ghana relations
San Marino–European Union relations
Malaysia–New Zealand relations
Armenia–Iran border
Freedom and Unity
Denmark–Thailand relations
43rd Tony Awards
Cambodia–Indonesia relations
Europa
61st Academy Awards
Answer: 61st Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Beetlejuice" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1988-03-29"^^xsd:date . ?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 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Beetlejuice
function: FilterDate
dependencies: 0
inputs: publication date
1988-03-29
=
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: QueryRelationQualifier
dependencies: 1
2
inputs: award received
statement is subject of