Question: Who was nominated for Academy Award for Best Original Musical Score for Hello, Dolly! (the one that has Scatman Crothers as a cast member)?
Choices:
Brazil–Portugal relations
France and the United Nations
Faroe Islands and the European Union
Azerbaijan–Malaysia relations
32nd Tony Awards
42nd Academy Awards
Singapore–South Africa relations
Slovenia–United States relations
Saudi Arabia–United States relations
1958 Cannes Film Festival
Answer: 42nd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hello, Dolly!" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Scatman Crothers" . ?e_2 <pred:name> "Academy Award for Best Original Musical Score" . ?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: Scatman Crothers
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hello, Dolly!
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Musical Score
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of